ASVS Compliance Starter Kit - CLI tools for security requirements management
Project description
ASVS Compliance Engine
Turn Security Requirements into Verifiable Code.
Stop managing security in spreadsheets. The ASVS Compliance Engine is a DevSecOps toolkit that operationalizes the OWASP Application Security Verification Standard (ASVS) 5.0. It treats compliance as code, scanning your infrastructure, verifying your app headers, and enforcing evidence requirements in your CI/CD pipeline.
⚡ The Problem: Compliance Rot
Most security compliance efforts fail because they rely on static documents (Word/Excel) that become obsolete the moment they are written. This engine bridges the gap between Requirements and Reality.
| ❌ The Old Way (Static) | ✅ The Compliance Engine (Dynamic) |
|---|---|
| Manual Attestation: "I promise we use bcrypt." | Automated Evidence: Scans package.json for bcrypt library. |
| Stale Docs: Architecture diagrams from 2021. | Living Docs: Requirements mapped directly to code files. |
| Blind Spots: Cloud configs checked manually. | IaC Scanning: Terraform plans scanned for ASVS V5.3 violations. |
| Audit Panic: Scrambling for screenshots. | Instant Dashboards: Single-click HTML audit reports. |
🚀 Key Features
1. Automated Evidence Verification
Don't just claim you use secure libraries—prove it. Map ASVS requirements directly to files in your repository using evidence.yml. The engine verifies their existence and content during every build.
2. Infrastructure-as-Code (IaC) Scanning
Shift security left by catching cloud storage misconfigurations before they deploy. Our native scanner checks Terraform plans against ASVS V5.3 (Storage & Cryptography).
3. Auditor-Ready Dashboards
Stop manually compiling evidence. Generate a comprehensive HTML report that combines documentation status, code evidence, and DAST results into a single pane of glass for your SOC2/ISO 27001 auditor.
🛠️ Quick Start
Option A: Python (Recommended)
# 1. Install the toolkit
pip install "asvs-compliance-tools[evidence,verification]"
# 2. Initialize your project (Interactive Wizard)
# Generates your security docs and evidence.yml
python -m tools.init_project --interactive
# 3. Verify Compliance
# Scans your docs and code for evidence
python -m tools.compliance_gate --level 2 --evidence-manifest evidence.yml
Option B: Docker
No Python environment? No problem.
# Build the image
docker build -t asvs-engine .
# Run the Compliance Gate
docker run -v $(pwd):/app asvs-engine tools.compliance_gate --level 2
📦 What's Inside?
| Tool | Command | Description |
|---|---|---|
| Compliance Gate | compliance_gate |
Enforces documentation and code evidence rules. |
| Verification Suite | verification_suite |
DAST scanner for Security Headers, CSRF, and Cookies. |
| IaC Scanner | iac_scanner |
Scans Terraform plans for unencrypted storage. |
| Drift Detector | drift_detector |
Checks if your ASVS definitions are out of sync with OWASP. |
| Report Gen | generate_report |
Compiles JSON outputs into an HTML dashboard. |
🤝 Contributing
We are building the standard for open-source compliance.
- Roadmap: See our plans for Jira Sync and VS Code extensions.
- Contributing Guide: How to set up your dev environment.
💖 Support the Project
If this tool saves your team hours of audit preparation, please consider sponsoring the development. Your support funds the creation of pre-built Evidence Packs for frameworks like Django, Spring Boot, and Node.js.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file asvs_compliance_tools-2.2.0.tar.gz.
File metadata
- Download URL: asvs_compliance_tools-2.2.0.tar.gz
- Upload date:
- Size: 44.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d234f6f43532dec4204da2328dfab7265c3c6f093705859b5943120ac295c25
|
|
| MD5 |
ed5e800052711fe19ce02cf84b856272
|
|
| BLAKE2b-256 |
8cbd6b4832abe2d9ee08b72491fea981db534821332a3468e5f8163cb25802bf
|
File details
Details for the file asvs_compliance_tools-2.2.0-py3-none-any.whl.
File metadata
- Download URL: asvs_compliance_tools-2.2.0-py3-none-any.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f93cedc52706533924a79b5f2592d7afce6bde6b1aedcd46839133d4bf98723
|
|
| MD5 |
c18568185c6fb6c7b0c25c77883b2f38
|
|
| BLAKE2b-256 |
2f0d7bf210fa86af6e8cf1e1e951a8925126609fe2a4bd2073d6dfbed317b1c1
|