Server-side web applications and APIs written in Python, typically with FastAPI or Django.
The grouping of requirements into stacks, the "core" and "applies when" labels and the notes are Helm's own curation, not an OWASP product. The requirements themselves are OWASP ASVS 5.0.0 (CC-BY-SA-4.0 (opens in a new tab)). The stack mapping is dated 2026-11-24. ASVS lists requirements, not verification steps, so Helm adds none.
33 requirements at level 1, including the lower levels.
Helm's note: The ORMs parameterise queries; review raw SQL, string-formatted queries and subprocess calls made with shell=True.
OWASP cheat sheets: Bean Validation Cheat Sheet (opens in a new tab), Cross Site Scripting Prevention Cheat Sheet (opens in a new tab), DOM based XSS Prevention Cheat Sheet (opens in a new tab), File Upload Cheat Sheet (opens in a new tab), Injection Prevention Cheat Sheet (opens in a new tab), Input Validation Cheat Sheet (opens in a new tab), Java Security Cheat Sheet (opens in a new tab), LDAP Injection Prevention (opens in a new tab), OS Command Injection Defense (opens in a new tab), Query Parameterization Cheat Sheet (opens in a new tab), SQL Injection Prevention (opens in a new tab), XML External Entity Prevention Cheat Sheet (opens in a new tab), XML Security Cheat Sheet (opens in a new tab), XSS Filter Evasion Cheat Sheet (opens in a new tab)
Helm's note: Look for eval, exec and templates rendered from user-supplied strings, and outbound requests to user-supplied URLs.
OWASP cheat sheets: Cross Site Scripting Prevention Cheat Sheet (opens in a new tab), Cross-Site Request Forgery Prevention Cheat Sheet (opens in a new tab), DOM based XSS Prevention Cheat Sheet (opens in a new tab), Injection Prevention Cheat Sheet (opens in a new tab), Injection Prevention Cheat Sheet in Java (opens in a new tab), Input Validation Cheat Sheet (opens in a new tab), LDAP Injection Prevention (opens in a new tab), Server Side Request Forgery Prevention Cheat Sheet (opens in a new tab), XML External Entity Prevention Cheat Sheet (opens in a new tab)
Helm's note: pickle and unrestricted YAML loading can run code; use JSON or safe loaders for untrusted data and a hardened XML parser.
OWASP cheat sheets: Deserialization Cheat Sheet (opens in a new tab), Server Side Request Forgery Prevention Cheat Sheet (opens in a new tab), XML External Entity Prevention Cheat Sheet (opens in a new tab), XML Security Cheat Sheet (opens in a new tab)
Helm's note: Validate input with Pydantic models (FastAPI) or forms and serializers (Django) on the server.
OWASP cheat sheets: Input Validation Cheat Sheet (opens in a new tab), Microservices Security Cheat Sheet (opens in a new tab), Web Service Security Cheat Sheet (opens in a new tab)
OWASP cheat sheets: Abuse Case Cheat Sheet (opens in a new tab)
Helm's note: In Django, cookie flags come from the session and CSRF cookie settings; in FastAPI set them on each response that sets a cookie.
OWASP cheat sheets: Cross-Site Request Forgery Prevention Cheat Sheet (opens in a new tab), Session Management Cheat Sheet (opens in a new tab), Transport Layer Security Cheat Sheet (opens in a new tab)
Helm's note: Django's security middleware and settings cover some headers; FastAPI sends none by default, so add middleware or set them at the proxy.
OWASP cheat sheets: Cross-Site Request Forgery Prevention Cheat Sheet (opens in a new tab), HTML5 Security Cheat Sheet (opens in a new tab), HTTP Strict Transport Security Cheat Sheet (opens in a new tab)
Helm's note: Keep Django's CSRF middleware on; in FastAPI add CSRF protection yourself if you use cookie authentication.
OWASP cheat sheets: Cross-Site Request Forgery Prevention Cheat Sheet (opens in a new tab), HTML5 Security Cheat Sheet (opens in a new tab), Micro Frontend Security Cheat Sheet (opens in a new tab)
OWASP cheat sheets: Cross-Site Request Forgery Prevention Cheat Sheet (opens in a new tab), FastAPI Security Cheat Sheet (opens in a new tab), REST Assessment Cheat Sheet (opens in a new tab), REST Security Cheat Sheet (opens in a new tab), Transport Layer Security Cheat Sheet (opens in a new tab), Web Service Security Cheat Sheet (opens in a new tab)
OWASP cheat sheets: Transport Layer Security Cheat Sheet (opens in a new tab), WebSocket Security Cheat Sheet (opens in a new tab)
Helm's note: Limit request and file sizes at both the proxy and the app, and check file content, not just the extension.
OWASP cheat sheets: File Upload Cheat Sheet (opens in a new tab), Input Validation Cheat Sheet (opens in a new tab)
Helm's note: Do not serve the uploads folder as code-executing or static content; generate stored file names.
OWASP cheat sheets: Input Validation Cheat Sheet (opens in a new tab), Server Side Request Forgery Prevention Cheat Sheet (opens in a new tab)
Helm's note: Scope querysets and lookups by the current user, not only by the ID in the URL.
OWASP cheat sheets: Authorization Cheat Sheet (opens in a new tab), Insecure Direct Object Reference Prevention Cheat Sheet (opens in a new tab), Session Management Cheat Sheet (opens in a new tab)
Helm's note: Enforce permissions in views, dependencies or permission classes on the server.
OWASP cheat sheets: Transaction Authorization Cheat Sheet (opens in a new tab)
OWASP cheat sheets: Cryptographic Storage Cheat Sheet (opens in a new tab), Key Management Cheat Sheet (opens in a new tab)
Helm's note: Django's password hashers cover password storage when its auth system is used.
OWASP cheat sheets: Password Storage Cheat Sheet (opens in a new tab)
Helm's note: Turn off Django's DEBUG in production and decide whether FastAPI's generated docs pages should be reachable.
OWASP cheat sheets: Django Cheat Sheet (opens in a new tab), GraphQL Cheat Sheet (opens in a new tab), Laravel Cheat Sheet (opens in a new tab), NPM Security best practices (opens in a new tab), Symfony Cheat Sheet (opens in a new tab)
Helm's note: A lockfile is the inventory of Python dependencies; agree how quickly vulnerable packages must be upgraded.
OWASP cheat sheets: Abuse Case Cheat Sheet (opens in a new tab), Attack Surface Analysis Cheat Sheet (opens in a new tab), Dependency Graph & SBOM Best Practices Cheat Sheet (opens in a new tab), Security Terminology Cheat Sheet (opens in a new tab), Software Supply Chain Security (opens in a new tab), Third Party Javascript Management Cheat Sheet (opens in a new tab), Threat Modeling Cheat Sheet (opens in a new tab)
Helm's note: Install from a locked, hashed dependency set and keep dev tools and test settings out of production images.
OWASP cheat sheets: Software Supply Chain Security (opens in a new tab), Third Party Javascript Management Cheat Sheet (opens in a new tab), Virtual Patching Cheat Sheet (opens in a new tab), Vulnerable Dependency Management Cheat Sheet (opens in a new tab)
Helm's note: Use separate input and output models so clients cannot set fields they should not, and responses carry only intended fields.
OWASP cheat sheets: Mass Assignment Cheat Sheet (opens in a new tab), Prototype Pollution Prevention Cheat Sheet (opens in a new tab), Unvalidated Redirects and Forwards Cheat Sheet (opens in a new tab)