AI-Native Platform to Secure Vibecoded Applications
Project description
🛡️ SecureVibes
AI‑Native Security for Vibecoded Apps
SecureVibes uses Claude’s multi‑agent architecture to find security issues with concrete evidence. Agents coordinate to map your architecture, model threats, review code, and generate a clear report. An optional DAST phase validates exploitability via HTTP testing using auto‑discovered skills.
🚀 Quick Start
# Install for the latest release on PyPi (might not have all the latest changes in the code)
pip install securevibes
# NOTE: the package uploaded on PyPi might not have all the latest changes.
# I will try to release a new version of the package whenever there are significant changes/developments
# If you would rather use the version with the latest changes, you can do the following:
# Install for the latest version (might be buggy)
git clone https://github.com/anshumanbh/securevibes.git
cd securevibes
virtualenv env
. env/bin/activate
pip install -e packages/core
# Authenticate (choose one method)
# Method 1: Session-based (recommended)
# You could use your Claude subscription here, if you don't want to pay per API requests
claude # Run interactive CLI, then type: /login
# Method 2: API key
export ANTHROPIC_API_KEY="your-api-key-here"
# Scan your project
securevibes scan /path/to/code --debug
# The most important part
# Sit back and relax. Please be patient as the scans might take some time, depending upon the model being used.
Get your API key from: https://console.anthropic.com/
🤖 Agents
- Assessment →
SECURITY.md - Threat Modeling (STRIDE) →
THREAT_MODEL.json - Code Review →
VULNERABILITIES.json - Report Generator →
scan_results.json - DAST (optional) →
DAST_VALIDATION.json(validates via HTTP when --target-url provided)
🌍 Supported Languages
11 Languages: Python, JavaScript, TypeScript, Go, Ruby, Java, PHP, C#, Rust, Kotlin, Swift
Smart Features:
- Auto-detects languages in your project
- Language-aware exclusions (Python:
venv/, JS:node_modules/, Go:vendor/) - Handles mixed-language codebases intelligently
For detailed language support and exclusion rules, see the full documentation.
🎯 Common Commands
# Default: creates .securevibes/scan_report.md (markdown format)
securevibes scan .
# Export JSON for CI/CD pipeline
securevibes scan . --format json --output security-report.json
# Custom markdown report (saved to .securevibes/custom_report.md)
securevibes scan . --format markdown --output custom_report.md
# Terminal table output (no file saved)
securevibes scan . --format table
# Focus on critical/high severity
securevibes scan . --severity high
# Fast scan with cheaper model
securevibes scan . --model haiku
# Quiet mode for automation
securevibes scan . --quiet
# Run individual sub-agents
securevibes scan . --subagent assessment
securevibes scan . --subagent code-review
securevibes scan . --subagent report-generator
# DAST (optional): skill‑gated dynamic validation
securevibes scan . --subagent dast --target-url http://localhost:3000
# Validates only when a matching skill is available (e.g., IDOR)
# Writes .securevibes/DAST_VALIDATION.json; no ad‑hoc files in repo
# Works with any supported language:
securevibes scan /path/to/go-app # Go project
securevibes scan /path/to/ruby-app # Ruby project
securevibes scan /path/to/mixed-stack # Multi-language project
⚙️ Configuration
Models
SecureVibes uses a three-tier priority system for model selection:
Priority Hierarchy:
- 🥇 Per-agent environment variables (highest)
- 🥈 CLI
--modelflag (applies to all agents) - 🥉 Default "sonnet" (fallback)
Examples:
# All agents use haiku
securevibes scan . --model haiku
# All use haiku, except code-review uses opus
export SECUREVIBES_CODE_REVIEW_MODEL=opus
securevibes scan . --model haiku
# Fine-grained control per agent
export SECUREVIBES_ASSESSMENT_MODEL=haiku
export SECUREVIBES_CODE_REVIEW_MODEL=opus
securevibes scan . # Others use default (sonnet)
Models: haiku (fast/cheap), sonnet (balanced), opus (thorough/expensive)
Per‑Agent Overrides
Override specific agent models via environment variables:
# Authenticate first (see Quick Start above)
# Override specific agent models (overrides CLI --model flag)
export SECUREVIBES_CODE_REVIEW_MODEL="opus" # Max accuracy
export SECUREVIBES_THREAT_MODELING_MODEL="sonnet"
# Control analysis depth (default: 50)
export SECUREVIBES_MAX_TURNS=75 # Deeper analysis
🐍 Python API (minimal)
import asyncio
from securevibes import Scanner
async def main():
# Auth via Claude Agent SDK:
# - ANTHROPIC_API_KEY or
# - Session token from `claude` CLI (/login)
scanner = Scanner(
model="sonnet", # Use shorthand: sonnet, haiku, opus
debug=True # Show agent narration for verbose output
)
result = await scanner.scan("/path/to/repo")
print(f"Found {len(result.issues)} vulnerabilities")
print(f"Cost: ${result.total_cost_usd:.4f}")
asyncio.run(main())
📚 Full Documentation
This is a quick reference for PyPI users. For comprehensive documentation, visit:
📖 Full Documentation on GitHub
Including:
- 🏗️ Architecture Deep Dive
- 🌊 Streaming Mode Guide - Real-time progress tracking
👤 Author
Built by @anshumanbh
🌟 Star the repo to follow development!
🙏 Acknowledgments
- Powered by Claude by Anthropic
- Built with Claude Agent SDK
- Inspired by traditional SAST tools, reimagined with AI
License: AGPL-3.0 | Requires: Python 3.10+
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 securevibes-0.3.0.tar.gz.
File metadata
- Download URL: securevibes-0.3.0.tar.gz
- Upload date:
- Size: 94.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
240f90408b4056b74403adfa1991501feeec51ee5658b06a49d93adb6588e312
|
|
| MD5 |
74c96466079a6062918d8809098b09af
|
|
| BLAKE2b-256 |
6969854928abaf4a2b664c248638ff1f92cdda679243247bf36aaf1d9156a706
|
File details
Details for the file securevibes-0.3.0-py3-none-any.whl.
File metadata
- Download URL: securevibes-0.3.0-py3-none-any.whl
- Upload date:
- Size: 72.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c3192f187e8f937b3da46c9dc8f8897a1260785c38d4a983984ce986e251515
|
|
| MD5 |
1d5418317ef8cb4738fe682c9bd5bd4f
|
|
| BLAKE2b-256 |
5185b5b41be280ab1547d5acdafaa39eb6cf681875073acd9609cda49707e3bf
|