What a contract audit misses
- Front-end supply chain: injected scripts or dependencies that alter transaction parameters.
- APIs and indexers that serve balances, prices or routes the UI trusts without verification.
- Admin panels and internal tools that can pause contracts, change parameters or trigger payouts.
- Key management for hot wallets, relayers and deployers, including secrets in repositories and CI.
- Off-chain allowlists, airdrop claims and signature services that issue authorisations.
Signing flows deserve special attention
Many attacks rely on getting a user to sign something they did not intend, such as an unlimited token approval or a permit signature. Test whether an attacker who can influence API responses, query parameters or third-party content can change the target address, amount or approval scope shown to the wallet. Check that the front end renders human-readable transaction details from data it validated itself.
Classic web flaws, higher stakes
Web3 back ends are ordinary web services: SSRF in metadata fetchers, injection in analytics endpoints, broken access control on user and admin APIs, and leaked secrets in front-end bundles. The difference is that a single flaw can lead directly to irreversible loss of funds, so the bar for testing frequency and depth should be higher.
Pair testing with monitoring
Because on-chain loss is final, combine pre-release testing with runtime monitoring of front-end integrity, DNS and admin actions so that a compromise is detected in minutes, not days.
How Pentest-Swarm fits a Web3 stack
Pentest-Swarm tests the web and API layer of a Web3 product, complementing a smart-contract audit rather than replacing it.
- API security, GraphQL and OWASP Top 10 playbooks test indexers, back-end APIs and admin interfaces.
- The external attack surface playbook maps the domains and services that make up your off-chain footprint.
- The CI/CD playbook helps catch exposed secrets and risky pipeline configurations before deployment.
- Self-host it, with local models if you prefer, so internal endpoints and keys never touch an outside service.
Where it falls short
Pentest-Swarm does not audit Solidity, Move or Rust smart contracts, model on-chain economic attacks or review consensus code; you still need a specialist contract audit. It is alpha software and should not be pointed at mainnet systems where a test transaction could move real funds. Never test third-party protocols without permission.
Questions
Is a smart contract audit enough for a Web3 project?
No. An audit covers on-chain code. Front ends, APIs, admin tools, key management and infrastructure also need testing, because many real losses originate there.
What should a Web3 application pentest include?
The dApp front end and its dependencies, back-end APIs and indexers, wallet-signing flows, admin panels, secrets handling and the hosting and DNS setup.
Can AI pentesting tools test smart contracts?
Some tools specialise in contract analysis. Pentest-Swarm does not; it focuses on web applications and APIs, which makes it a complement to a contract audit.