Overview
ZenVeil maps every finding to the OWASP Top 10 (2021 edition). Here are real examples from the patterns ZenVeil detects — code snippets commonly generated by AI assistants or found in open-source projects.A01:2021 — Broken Access Control
Missing authorization middleware
IDOR — Object access without ownership check
A02:2021 — Cryptographic Failures
Predictable JWT secret
Weak password hashing
A05:2021 — Security Misconfiguration
Debug mode in production
Running as root in Docker
A06:2021 — Vulnerable and Outdated Components
Missing lockfile
npm install can silently install different (potentially compromised) versions.
Fix:
Known CVE in dependency
A07:2021 — Identification and Authentication Failures
Token in localStorage
OWASP coverage summary
| OWASP Category | ZenVeil Detection |
|---|---|
| A01: Broken Access Control | Missing auth middleware, IDOR patterns, client-side admin gates |
| A02: Cryptographic Failures | AWS/GitHub/Slack secrets, JWT weaknesses, MD5/SHA1 passwords, tokens in localStorage |
| A03: Injection | (Planned) |
| A04: Insecure Design | Open redirects, long-lived sessions, client-only logout |
| A05: Security Misconfiguration | Debug mode, running as root, missing security headers, public DB, missing .env in .gitignore |
| A06: Vulnerable Components | Missing lockfiles, floating versions, CVEs via OSV.dev |
| A07: Auth Failures | Token storage, predictable JWT secrets, long-lived tokens |
| A08: Software & Data Integrity | Dependency confusion, floating npm versions, unpinned CI actions |
| A09: Logging Failures | (Planned) |
| A10: SSRF | Blocked in API scanner (private IPs rejected) |