Crackerswap VAPT

Crackerswap Penetration Test Report

Share
Share
MonadMonadBaseBaseRobinhoodRobinhood+1
VAPT
MonadMonadBaseBase+2
VAPT

QuillAudits ran a penetration test of Crackerswap. The test found 16 issues: 3 high, 1 medium, 8 low, 4 informational, of which 12 resolved, 0 acknowledged and 4 open.

Project Description

Crackerswap is a standalone NestJS DEX API. It supports Uniswap V3 on Base, Monad, Ink, and Robinhood Chain. The API is public, returns unsigned transactions, and requires no auth.Features
• Swap quoting and unsigned-transaction building
• Concentrated-liquidity position management (create, increase, decrease, collect fees, burn)
• Pool list, pool info, top/new pools, by-token lookup
• User LP positions with on-chain enrichment and optional historical cost basis
• Analytics: pool graph, OHLCV candlestick, volume/price distribution, price-range graph, LP simulator

Timeline

S1
Sep 1, 2026
IA
Sep 8, 2026

Scope of Audit

The scope of this pentest was to analyze the Crackerswap Backend Source code review and Greybox testing for quality, security, and correctness. Source code: https://github.com/Crackerswap-Ecosystem/Dex-BackendURl: https://crackerswap.com/swap

speedometer
0
50%
60%
70%
90%
100%
95.7%
AUDIT SCORE
icon

Critical

High

Medium

Low

Informational

open00004
acknowledged00000
partially resolved00000
resolved03180
Crackerswap VAPT

Crackerswap VAPT

High Severity Issues

H-3 LiFi bridge execution can be redirected to an attacker's address the same way, and more directly

Resolved
arrow-right
Description

Same token, same pattern, a bridge instead of a swap, and this one is even more direct than H-2 because there's no third party in the loop at all. buildBridgeTx's EVM-source path never re-fetches from LiFi at all, it takes quote.transactionRequest straight out of the client-supplied routeData and hands it back unchanged. Crackerswap's own backend is the only thing in the loop, and it does no validation of its own.

Contract

Crackerswap Backend

Recommendation

for the EVM-source path specifically, don't return quote.transactionRequest untouched. Either re-verify it server-side (compare against what was actually quoted, byte for byte) or, cheaper, independently check that the destination-recipient bytes encoded in the calldata match the address the original request named, before handing the transaction back.

H-2 Confirmed live: Uniswap aggregator swaps can be redirected to an attacker's address by tamperingm routeData

Resolved
arrow-right
Description

We obtained a real session token and used it to test whether a swap's payout can be redirected by tampering the data Crackerswap's own /quote response hands back. Uniswap's Trading API does not validate the quote server-side against its own stored copy. It trusts whatever recipient is in the JSON posted to it and builds a transaction that pays out to that address. Crackerswap's backend passes this straight through with no check of its own.

Contract

Crackerswap Backend

Recommendation

do not trust the client-supplied quote object when calling Uniswap's /swap endpoint. At minimum, independently verify that the recipient encoded in the returned calldata matches the address the original request actually asked for, before handing anything back to the caller. Better: keep the original quote server-side (keyed by requestId) at the time it's issued, and refuse to execute a /swap request whose posted quote doesn't match byte-for-byte, rather than relying on Uniswap to have already done that check.

H-1: Seeded admin password gets silently reset on every restart, which undermines credential rotation

Resolved
arrow-right
Description

AdminSeedService.onApplicationBootstrap runs on every application start, not just the first one, and calls AdminUserRepository.upsertSeeded. That function's update branch unconditionally overwrites the seeded super-admin's password hash from the ADMIN_PASSWORD environment variable. Both production deploy paths (Render, and the GCP docker compose up -d --build path) redeploy on every push to main, so this runs constantly, not just on rare full re-provisions.

Contract

Crackerswap Backend

Recommendation

make the seed logic create-only so it never overwrites passwordHash on an existing row, or have it skip the password field once a row already exists. And separately, urgently: confirm ADMIN_PASSWORD got rotated as an actual environment variable everywhere it was ever set. A database-only change doesn't count here.

Medium Severity Issues

Low Severity Issues

Informational Issues

Appendix

Disclaimer

Crackerswap VAPT

Crackerswap VAPT

High Severity Issues
Medium Severity Issues
Low Severity Issues
Informational Issues
Appendix
Disclaimer
View Report PDF

Get an Audit done today for your Smart Contract

Join 1500+ leaders who secured themselves from losing Billion Dollars

cta-banner
cta-banner-bgcta-banner-bg-mobile

Related audits

WE SECURE EVERYTHING YOU BUILD.

From day-zero risk mapping to exchange-ready audits, QuillAudits helps projects grow with confidence. Smart contracts, dApps, infrastructure, compliance: secured end to end.

QuillAudits Logo


ISO 27001Circle Alliance Program
Uniswap FoundationAethiropt-collectivePolygon SPNBNB Chain Kickstart

All Rights Reserved. © 2026. QuillAudits - LLC