Mobile App (MASVS) (iOS / Android / RN) · CWE-347
Mobile App (MASVS): Webhook Signature & Replay Bypass (Source & Boundary Audit)
Trace entrypoints to sinks and map coverage-ledger units. Reject forged, replayed, or cross-tenant webhook payloads targeting billing handlers. Tailored for Mobile App (MASVS): Validate exported deep links and store tokens exclusively in Keychain/Keystore.
Coverage ledger tracking key
surface:mobile-masvs::boundary:webhook-hmac::angle:audit
API safe test verifying unsigned payloads return 401
Risk boundary
// Unverified Mobile App (MASVS) path (CWE-347 · Source & Boundary Audit)
// Handler accepts input without validating SecureEnclave token.Hardened guard
// Hardened Mobile App (MASVS) (CWE-347 · Source & Boundary Audit)
// 1. Validate exported deep links and store tokens exclusively in Keychain/Keystore
// 2. Verify HMAC over raw request bytes with timing-safe equality plus timestamp replay limits.Verification steps
- 01Seed coverage-ledger.json for every Mobile App (MASVS) handler touching Webhook Signature & Replay Bypass.
- 02Trace request parameters through SecureEnclave token validation down to the sink.
- 03Verify with paired positive/negative evidence via business-logic-race-testing.