@oalacea/guardian
v0.5.7
Published
AI-powered security review plugin for pentesting web applications
Maintainers
Readme
Guardian
AI-powered security review plugin for pentesting web applications. Automated vulnerability scanning and remediation with zero configuration.
Quick Start
Installation
# From your project directory
npx @oalacea/guardianFirst run installs the security toolkit (~550-650 MB Docker image, takes 2-3 minutes).
Production Mode
For external security testing:
npx @oalacea/guardian https://example.comUsage
After installation, open your AI coding agent and paste:
Read .guardian/REVIEW.md and start the security reviewThe AI will:
- Auto-detect your framework, target URL, and environment
- Ask for confirmation
- Scan for vulnerabilities
- Fix issues directly in your code (dev mode)
- Verify each fix
- Provide a summary
This task can take several minutes depending on the complexity of your application and the number of vulnerabilities found.
What You Need
- Docker — Install
- AI coding agent — Claude Code, Cursor, Windsurf, Aider, Codex...
Included Tools
The Docker toolkit includes:
| Category | Tools | |----------|-------| | Recon | nmap, subfinder, whatweb, httpx | | Vuln Scanning | nuclei, nikto | | Discovery | ffuf | | SQL Injection | sqlmap | | XSS | dalfox | | JWT | jwt_tool | | Brute Force | hydra | | SSL/TLS | testssl.sh | | Wordlists | SecLists (Web-Content, DNS, Fuzzing, SQLi, Passwords) |
What It Tests
- Injection: SQLi, NoSQL, SSTI, XXE, LDAP, Command injection
- Cross-Site: XSS (reflected, stored, DOM), CSRF, CORS misconfig
- Server-Side: SSRF, deserialization, path traversal, file upload
- Auth: Authentication bypass, privilege escalation, IDOR, JWT manipulation
- Logic: Mass assignment, business logic flaws, race conditions
- Infrastructure: Subdomain takeover, missing headers, info disclosure
- DoS: ReDoS, GraphQL deep nesting
- GraphQL: Introspection, batching, nested query DoS
Safety
- Always test against dev/staging first
- Never test production without written authorization
- Backup your code (use git)
- Production mode uses non-destructive tests only
Troubleshooting
Rebuild toolkit image
docker rm -f guardian-tools
docker rmi guardian-tools
npx @oalacea/guardianTest tools manually
docker exec guardian-tools nmap --version
docker exec guardian-tools sqlmap --versionLicense
MIT — Use at your own risk. Only test systems you own or have explicit permission to test.
Credits
Inspired by nicefox-secu and AIDA.
