SkillAgentSearch skills...

Cascavel

🐍 Cascavel β€” Elite Offensive Security Framework | 85+ plugins | OWASP 2025 | Automated pentesting, reconnaissance & vulnerability assessment | By RET Tecnologia

Install / Use

/learn @glferreira-devsecops/Cascavel

README

<p align="center"> <img src="docs/cascavel_banner.png" alt="Cascavel" width="800" /> </p> <h1 align="center"> <code>🐍 CASCAVEL</code> </h1> <h3 align="center">Offensive Security Framework β€” Red Team Intelligence Engine</h3> <p align="center"> <strong>84 security plugins Β· 30+ recon tools Β· OWASP 2025 Β· CVSS v4.0 Β· PDF/MD/JSON reports</strong><br /> One command to enumerate, scan, exploit, analyze, and generate compliance-ready pentest reports.<br /> Built for red teamers, bug bounty hunters, and DevSecOps engineers. </p> <p align="center"> πŸ‡ΊπŸ‡Έ <strong>English</strong> Β· <a href="README.pt-BR.md">πŸ‡§πŸ‡· PortuguΓͺs (Brasil)</a> </p> <p align="center"> <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-00D4FF.svg?style=flat-square" /></a> <a href="https://www.python.org/"><img src="https://img.shields.io/badge/Python-3.12+-3776AB.svg?style=flat-square&logo=python&logoColor=white" /></a> <img src="https://img.shields.io/badge/Plugins-84-blueviolet.svg?style=flat-square" /> <img src="https://img.shields.io/badge/Platform-macOS%20|%20Linux%20|%20WSL-0D1B2A.svg?style=flat-square" /> <a href="CHANGELOG.md"><img src="https://img.shields.io/badge/v2.2.0-C89F5D.svg?style=flat-square" /></a> <img src="https://img.shields.io/badge/Reports-PDF%20|%20MD%20|%20JSON-28A745.svg?style=flat-square" /> <img src="https://img.shields.io/badge/Security-Hardened%202026-critical?style=flat-square" /> <a href="https://rettecnologia.org"><img src="https://img.shields.io/badge/RET%20Tecnologia-Open%20Source-00D4FF.svg?style=flat-square&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJ3aGl0ZSI+PHBhdGggZD0iTTEyIDJMMiA3bDEwIDUgMTAtNS0xMC01ek0yIDE3bDEwIDUgMTAtNS0xMC01LTEwIDV6TTIgMTJsMTAgNSAxMC01LTEwLTUtMTAgNXoiLz48L3N2Zz4=" /></a> <a href="https://github.com/glferreira-devsecops/Cascavel/actions/workflows/security.yml"><img src="https://img.shields.io/github/actions/workflow/status/glferreira-devsecops/Cascavel/security.yml?style=flat-square&label=CI%20Security&logo=github" /></a> <a href="https://github.com/glferreira-devsecops/Cascavel/issues"><img src="https://img.shields.io/github/issues/glferreira-devsecops/Cascavel?style=flat-square&color=yellow" /></a> <a href="https://github.com/glferreira-devsecops/Cascavel/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/glferreira-devsecops/Cascavel/ci.yml?style=flat-square&label=CI&logo=github" /></a> <a href="https://securityscorecards.dev/viewer/?uri=github.com/glferreira-devsecops/Cascavel"><img src="https://img.shields.io/ossf-scorecard/github.com/glferreira-devsecops/Cascavel?style=flat-square&label=OpenSSF%20Scorecard" /></a> <a href="https://www.bestpractices.dev/projects/12255"><img src="https://www.bestpractices.dev/projects/12255/badge" alt="OpenSSF Best Practices" /></a> <a href="https://github.com/glferreira-devsecops/Cascavel/actions/workflows/codeql.yml"><img src="https://img.shields.io/github/actions/workflow/status/glferreira-devsecops/Cascavel/codeql.yml?style=flat-square&label=CodeQL&logo=github" /></a> <a href="https://github.com/glferreira-devsecops/Cascavel/stargazers"><img src="https://img.shields.io/github/stars/glferreira-devsecops/Cascavel?style=flat-square&color=FFD700" /></a> <a href="https://github.com/glferreira-devsecops/Cascavel/network/members"><img src="https://img.shields.io/github/forks/glferreira-devsecops/Cascavel?style=flat-square&color=00D4FF" /></a> </p> <p align="center"> <a href="https://cascavel.pages.dev">Website</a> Β· <a href="#-install">Install</a> Β· <a href="#-what-makes-cascavel-different">Why Cascavel</a> Β· <a href="#-architecture">Architecture</a> Β· <a href="#-plugin-arsenal-84">Plugins</a> Β· <a href="#-cli-reference">CLI</a> Β· <a href="#-pdf-reports-v220">Reports</a> Β· <a href="#-security-hardening">Security</a> Β· <a href="#-contributing">Contributing</a> </p>

🎬 Demo

<p align="center"> <img src="docs/cascavel_scan.png" width="700" /> </p> <p align="center"> <sub><strong>Cinematic boot sequence</strong> Β· Auto-detects 30+ tools Β· Preloader with security intel tips</sub> </p> <p align="center"> <img src="docs/cascavel_results.png" width="700" /> </p> <p align="center"> <sub><strong>Split-screen live dashboard</strong> Β· Real-time severity tracking Β· Rotating security intelligence</sub> </p>

πŸ’‘ What Makes Cascavel Different

Most pentest workflows involve 20+ separate tools, each with its own syntax, output format, and report style. You manually merge results, format reports, and lose hours to context-switching.

Cascavel replaces the entire workflow:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  $ python3 cascavel.py -t target.com --pdf              β”‚
β”‚                                                         β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚ DISCOVER β”‚β†’ β”‚ PROBE  β”‚β†’ β”‚  ATTACK  β”‚β†’ β”‚ ANALYZE  β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”‚   Subdomains    Ports       XSS,SQLi      JWT,CORS     β”‚
β”‚   DNS,WHOIS     Banners     SSRF,RCE      CSP,CSRF     β”‚
β”‚   Cloud enum    Headers     SSTI,XXE      OAuth,IDOR    β”‚
β”‚                                                         β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚  DETECT  β”‚β†’ β”‚         REPORT (PDF/MD/JSON)         β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚   Docker,K8s    CVSS v4.0 Β· OWASP Β· PTES Β· LGPD        β”‚
β”‚   Redis,S3      Legal disclaimers Β· SHA-256 integrity   β”‚
β”‚   CI/CD         Compliance mapping Β· Risk matrix        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

| Capability | Cascavel | Other Tools | |:---|:---|:---| | Unified pipeline | 84 plugins + 30 tools in one command | Fragmented scripts | | Live dashboard | Split-screen with real-time stats + intel | No live feedback | | PDF reports | 12 legal disclaimers, CVSS v4.0, PTES | Manual formatting | | Terminal UX | Cinematic preloader, fade animations | Plain stdout | | Security hardening | ANSI sanitizer, plugin sandboxing | Trust all output | | Zero-config | install.sh handles everything | Manual dependency hell |


⚑ Install

Prerequisites

| Requirement | Minimum | Why | |:---|:---|:---| | Python | 3.12+ | LTS until 2028 Β· importlib.metadata, typed generics | | requests | 2.32.4 | GHSA-9hjg β€” .netrc credential leak + TLS verify bypass | | pyOpenSSL | 25.0.0 | GHSA-5pwr β€” buffer overflow + unhandled callback bypass | | dnspython | 2.7.0 | GHSA-3rq5 β€” TuDoor DNS resolution disruption | | PyJWT | 2.12.0 | CVE-2022-29217 β€” algorithm confusion attack | | ReportLab | 3.6.13 | CVE-2023-33733 β€” RCE via rl_safe_eval |

[!NOTE] The installer automatically enforces these minimum versions and runs pip-audit post-install. Manual installs should verify with pip list | grep -iE 'requests|pyopenssl|dnspython|pyjwt|reportlab'.

πŸš€ Quick Install

curl -fsSL https://raw.githubusercontent.com/glferreira-devsecops/Cascavel/main/install.sh | bash

One command. That's it. Works on macOS, Linux (Debian/Ubuntu/Kali/Parrot/Fedora/Arch/Alpine/SUSE), WSL2, and Docker. The installer auto-detects your OS, installs git + python3 if missing, clones the repo, creates a venv, installs all 84 plugins + 30 tools, and registers the cascavel global command. Zero manual steps.

[!TIP] No curl? Use wget -qO- https://raw.githubusercontent.com/glferreira-devsecops/Cascavel/main/install.sh | bash

<details> <summary><strong>πŸ“‹ Alternative methods (git clone, Docker, manual)</strong></summary>
# Git clone
git clone https://github.com/glferreira-devsecops/Cascavel.git && cd Cascavel && bash install.sh

# Download tarball (no git needed)
curl -fsSL https://github.com/glferreira-devsecops/Cascavel/archive/main.tar.gz | tar xz && cd Cascavel-main && bash install.sh

# Docker (isolated)
docker run -it --rm python:3.12-slim bash -c "apt update && apt install -y git && git clone https://github.com/glferreira-devsecops/Cascavel.git /app && cd /app && bash install.sh"

# Manual
git clone https://github.com/glferreira-devsecops/Cascavel.git && cd Cascavel
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt && python3 cascavel.py -t target.com
</details>

The installer v2.3.0 includes 15 security hardenings: trap cleanup, mktemp -d TOCTOU isolation, anti-symlink lock, SHA-256 requirements.txt integrity, CVE version enforcement (6 packages), umask 077, PATH prefix sanitization (rejects . and relative paths), container detection (Docker/Podman/LXC), WSL2 kernel detection, Python ssl module verification, stale venv recovery, chmod 700/600 on sensitive paths, GOPATH/GOBIN export validation, locale UTF-8 enforcement, and absolute paths for critical binaries.


πŸ—οΈ Architecture

cascavel.py (2800+ lines)                    report_generator.py (1400+ lines)
β”œβ”€β”€ ANSI Escape Sanitizer                     β”œβ”€β”€ _NumberedCanvas (two-pass "Page X of Y")
β”‚   └── Blocks CSI/OSC/DCS injection          β”œβ”€β”€ Diagonal "CONFIDENCIAL" watermark
β”œβ”€β”€ Preloader Engine                          β”œβ”€β”€ QR Code β†’ rettecnologia.org
β”‚   └── 5-stage cinematic boot                β”œβ”€β”€ Widows/orphans paragraph control
β”œβ”€β”€ Plugin Orchestrator                       β”œβ”€β”€ Table splitOn + repeatRows=1
β”‚   └── Dynamic load, SIGALRM timeout         β”œβ”€β”€ Risk Matrix (5Γ—5 heat map)
β”œβ”€β”€ Split-Screen Dashboard                    β”œβ”€β”€ 9 compliance frameworks
β”‚   └── Rich Live (scan + intel panel)        β”œβ”€β”€ 20-term security glossary
β”œβ”€β”€ External Tools Pipeline                   β”œβ”€β”€ Prioritized remediation summary
β”‚   └── 30+ tools, shlex.quote()              └── SHA-256 document integrity
β”œβ”€β”€ Report Engine (PDF/MD/JSON)
└── Signal Handler (async-signal-s

Related Skills

View on GitHub
GitHub Stars9
CategoryDevelopment
Updated1d ago
Forks0

Languages

Python

Security Score

75/100

Audited on Mar 25, 2026

No findings