API penetration testing
API keys are long-lived and trusted on every call. Guardian tests what each key can reach and what happens when one is used from somewhere new.
APIs tested for
Offchain · API Pentest
What a stolen key is worth once someone else is holding it.
- Key scoping Permission granularity, true read-only, IP allowlisting, expiry, and instant revocation.
- Endpoint authorization Per-object checks, tenant isolation, mass-assignment, and trust in client-controlled parameters.
- Abuse resistance Rate limits, quotas, and replay protection, and whether they hold per key.
- Surface discovery Undocumented, deprecated, and staging endpoints still reachable in production.
- Authentication JWT validation, OAuth, session and refresh tokens, 2FA, and recovery paths that bypass them.
- Automation triggers Endpoints that fire relayers, bots, or onchain transactions, and flows that can be replayed or reordered.
Covers REST, GraphQL, gRPC, and custom protocols. Every endpoint is tested at each privilege level, so scope follows what the API does, not its size. A Swagger file or Postman collection and per-role credentials make it faster.
Recent breaches
The breaches an API Pentest tests for.
-
$41MSwissBorg
A compromised staking partner's API drained its SOL Earn wallet.
-
$22M3Commas
Exchange API keys were stolen and traded. The keys stayed valid, and the trades they placed were authorized.
-
$3MKraken
Accounts were credited before deposits cleared, so unfinished deposits could be withdrawn.
Jun 2024 Our breakdown of the Kraken incident
-
1M emailsLedger
An API key opened part of Ledger's e-commerce database and put holders at risk of phishing.
Jun 2020 Our breakdown of the Ledger incident
“We very much appreciate Guardian’s approach to security and the entire audit process.”
Core TeamUSDT0Penetration Testing
Other engagements
- Featured · Onchain Vanguard Audit A security audit designed to protect onchain teams facing unprecedented cyber risk. Explore Vanguard
- Managed services Managed Security Dedicated response team, red team, 24/7 attack and defense across every surface you run, onchain and off. Explore Managed Security
- OnchainSmart Contract AuditTwo competing teams, maximum assurance.
- OffchainInfrastructure PentestIAM, secrets, CI/CD, containers and Kubernetes.
- OffchainWebApp PentestAuth, transfer flows, business logic and client-side attacks.
- OffchainBrowser Extension PentestWallet permissions, messaging, key storage and signing flows.
- OffchainSDK AuditEVM and Solana client libraries, key handling and release integrity.
- OffchainOffchain Automation PentestPrivileges, input integrity and the automation-to-chain boundary.
- OffchainOpSec AuditKeys, signers, privileged roles, and critical operations.
- Penetration testingAll pentestsEvery offchain engagement, and how Guardian runs them.
Start now

