Skip to content

Module Map by OWASP Number ​

Every OWL module maps directly to an OWASP Top 10 (2021) category, so the API you import matches the vocabulary your threat model already uses.

#OWASP CategoryCore ModuleKey Exports
A01Broken Access Controla01-access-controlRBACManager, ACLManager, PermissionChecker
A02Cryptographic Failuresa02-crypto-integrityCryptoManager, PBKDF2Adapter, Argon2Adapter, SecretPolicy
A03Injectiona03-injection-defenseInputSanitizer, InputValidator
A04Insecure Designa04-insecure-design-guardThreatModelGuard, DesignChecklist
A05Security Misconfigurationa05-security-misconfigurationSecurityConfigManager, HardeningReporter
A06Vulnerable & Outdated Componentsa06-vulnerable-componentsDependencyRiskScanner, ComponentPolicy
A07Identification & Authentication Failuresa07-auth-sessionAuthManager, TokenManager
A08Software & Data Integrity Failuresa08-data-integrityCSRFTokenManager, HTTPClient
A09Security Logging & Monitoring Failuresa09-logging-monitoringSecurityLogger, EventEmitter
A10Server-Side Request Forgerya10-ssrf-defenseSSRFGuard, SafeFetcher

Composition across categories

HTTPClient (A08) natively accepts an outboundRequestPolicy from SSRFGuard (A10), composing transport hardening and SSRF defense in a single client. See the A08 reference for the full example.

Simplified setup for A01/A07/A09

createOwlClient() builds the A01 (RBACManager/ACLManager), A07 (TokenManager/AuthManager), and A09 (EventEmitter/SecurityLogger) managers from one config object, and React's OwlProvider composes their four providers into one component. See React Adapter Setup or the A07 reference.

Every class and typed constant also has a matching React hook or provider in @owasp-webshield/react, documented alongside the core API on each category's reference page.

Released under the Apache 2.0 License.