C A S C A V E L .

C A S C A V E L .

v3.0.1 β€” Red Team Intelligence Engine

Quantum-grade offensive security framework for demanding Red Teams. Modular, extensible and brutally efficient. Zero tracking. Zero telemetry. Fully auditable code.

OpenSSF Best Practices Python 3.10+ MIT License 85 Plugins CI/CD Hardened SAST Stack
85Security Plugins
14Attack Categories
30+Recon Tools
4Report Formats
211Tests Passing
cascavel β€” v3.0.1 β€” zsh
# Full target scan
❯ python3 cascavel.py -t target.com
# List all 85 plugins
❯ python3 cascavel.py --list-plugins
# Check external tools
❯ python3 cascavel.py --check-tools
# CI/CD silent mode with JSON output
❯ python3 cascavel.py -t target.com --quiet --json

Arsenal

Elite capabilities for reconnaissance, exploitation and automated reporting.

πŸ”Œ

85 Security Plugins

14 attack categories covering injection, server-side, auth bypass, protocol-level, API, infrastructure and more. Standardized run(target, ip, ports, banners) interface.

πŸ›°οΈ

30+ Recon Tools

Native integration with Nmap, Subfinder, Amass, Katana, Nuclei, Shodan, Nikto, WHOIS/RDAP, Traceroute and the entire modern OSINT ecosystem.

πŸ–₯️

Cinematic Terminal UX

Cinematic boot sequence with ASCII art fade-in, typewriter effects, Rich progress bars, Live interactive panel and Security Intel tips during scans.

πŸ“Š

Multi-Format Reports

Automatic reports in PDF (ReportLab), Markdown and JSON with findings categorized by severity β€” CRITICAL, HIGH, MEDIUM, LOW, INFO.

πŸ”’

CI/CD Hardened

Armored pipeline: Bandit SAST, CodeQL, Ruff, pip-audit, Semgrep, OpenSSF Scorecard, pre-commit hooks. Pinned dependencies and token permissions.

🧠

Intelligence Engine

ANSI escape sanitizer against terminal injection, graceful shutdown (SIGINT/SIGTERM/SIGPIPE), findings correlation and smart deduplication.

Plugin Categories

85 security plugins organized across 14 specialized attack categories.

πŸ’‰ Injection & Code Execution 7

PluginFileTechniques
XSS Scannerxss_scanner.pyPolyglot payloads, DOM-based, mutation XSS, WAF bypass, event handlers
SQLi Scannersqli_scanner.pyTime-based, error-based, union-based, boolean blind, DBMS fingerprint
SSTI Scannerssti_scanner.pyJinja2, Twig, Mako, Freemarker, multi-engine polyglot payloads
RCE Scannerrce_scanner.pyCommand injection, OS detection, chained commands, encoding bypass
Blind RCEblind_rce.pyTime-based OOB detection, sleep injection, DNS callback
NoSQL Scannernosql_scanner.pyMongoDB injection ($gt, $ne, $regex), JSON body injection
Log4Shell Scannercve_2021_44228_scanner.py12 headers, 5 WAF bypass payloads, Java fingerprint, OOB tokens

🌐 Server-Side Attacks 4

PluginFileTechniques
SSRF Scannerssrf_scanner.pyIMDSv2, DNS rebinding, gopher://, redirect chain, cloud metadata
XXE Scannerxxe_scanner.pyXML entity injection, OOB exfiltration, parameter entities
LFI Scannerlfi_scanner.pyPath traversal, null byte, double encoding, wrapper protocols
Path Traversalpath_traversal.pyDirectory traversal, encoding bypass, OS-specific paths

πŸ” Authentication & Authorization 6

PluginFileTechniques
JWT Analyzerjwt_analyzer.pyNone algorithm, key confusion (RS→HS), JWKS poisoning, claim analysis
OAuth Scanneroauth_scanner.pyPKCE enforcement, state validation, token leakage, redirect URI
CSRF Detectorcsrf_detector.pyToken validation, SameSite, origin header check
IDOR Scanneridor_scanner.pySequential ID enumeration, UUID prediction, access control bypass
Session Fixationsession_fixation.pyCookie flags, session regeneration, pre-auth token analysis
Password Policypassword_policy.pyPolicy strength analysis, common password testing, lockout detection

πŸ”„ Protocol-Level Attacks 4

PluginFileTechniques
HTTP Smugglinghttp_smuggling.pyCL-TE, TE-CL, TE-TE, H2.O desync, chunked mutation
HTTP/2 Smugglehttp2_smuggle.pyHTTP/2 downgrade, continuation flood, HPACK injection
WebSocket Scannerwebsocket_scanner.pyCSWSH, origin bypass, message injection, upgrade detection
gRPC Scannergrpc_scanner.pyReflection enabled, insecure channel, service enumeration

πŸ›‘οΈ Defense Analysis & Bypass 7

PluginFileTechniques
CORS Checkercors_checker.pyWildcard origin, null origin, subdomain trust, credential exposure
CSP Bypasscsp_bypass.pyUnsafe-inline, unsafe-eval, data: URI, base-uri, *.cdn bypass
Clickjackingclickjacking_check.pyX-Frame-Options, CSP frame-ancestors, transparent overlay
Host Header Injectionhost_header_injection.pyPassword reset poisoning, cache deception, SSRF via Host
Cache Poisoningweb_cache_poison.pyUnkeyed headers, cache key normalization, fat GET
Rate Limit Checkrate_limit_check.pyBrute force feasibility, IP rotation bypass, header spoofing
WAF Bypasswaf_bypass.pyEncoding mutation, chunked TE, case alternation, comment injection

🎯 API Security 4

PluginFileTechniques
GraphQL Probegraphql_probe.pyIntrospection enabled, field suggestion, type enumeration
GraphQL Injectiongraphql_injection.pyBatch query, alias overload, nested depth, SQL in fields
API Enumapi_enum.pyEndpoint discovery, version detection, documentation exposure
API Versioningapi_versioning.pyDeprecated version detection, v1 vs v2 comparison, OpenAPI exposure

πŸ’£ Advanced Web Attacks 6

PluginFileTechniques
Mass Assignmentmass_assignment.pyHidden field injection, role escalation, isAdmin bypass
Race Conditionrace_condition.pyTOCTOU, parallel request race, last-write-wins detection
Prototype Pollutionprototype_pollution.py`__proto__`, constructor pollution, JSON merge injection
Deserializationdeserialization_scan.pyJava/PHP/Python/Ruby serialized objects, magic bytes
Open Redirectopen_redirect.pyURL parameter manipulation, encoding bypass, scheme tricks
CRLF Injectioncrlf_scanner.pyHeader injection, response splitting, log injection

πŸ—οΈ Infrastructure Exposure 8

PluginFileTechniques
Docker Exposuredocker_exposure.pyRemote API (2375/2376), registry leak, socket exposure
K8s Exposurek8s_exposure.pyAPI server, etcd, kubelet, dashboard, service accounts
Redis Unauthredis_unauth.pyUnauthenticated access, INFO dump, config get
MongoDB Unauthmongodb_unauth.pyNo-auth access, database listing, collection dump
Elastic Exposureelastic_exposure.pyCluster health, index listing, Kibana dashboard
CI/CD Exposurecicd_exposure.pyJenkins, GitLab CI, GitHub Actions, artifact exposure
Cloud Metadatacloud_metadata.pyAWS IMDS, GCP metadata, Azure IMDS, link-local bypass
Cloud Enumcloud_enum.pyS3/GCS/Azure blob enumeration, DNS CNAME analysis

πŸ” Reconnaissance & OSINT 11

PluginFileTechniques
Subdomain Huntersubdomain_hunter.pyCertificate Transparency, DNS brute, zone transfer
Subdomain Takeoversubdomain_takeou.pyCNAME dangling, fingerprint matching, service detection
DNS Deepdns_deep.pyAll record types (A/AAAA/MX/TXT/NS/SOA/SRV/CAA/DMARC)
DNS Rebindingdns_rebinding.pyTTL manipulation, private IP rebind, bypass detection
Network Mappernetwork_mapper.pyLive host detection, service enumeration, port profiling
Email Harvesteremail_harvester.pyWeb scraping, SMTP VRFY, pattern generation
Email Spoof Checkemail_spoof_check.pySPF, DKIM, DMARC validation, spoofability scoring
Shodan Reconshodan_recon.pyAPI-based reconnaissance, service fingerprint, CVE mapping
Wayback Enumwayback_enum.pyWayback Machine URL extraction, parameter discovery
WHOIS Reconwhois_recon.pyWHOIS/RDAP, domain age, registrar risk, privacy, DNSSEC, expiry
Traceroute Mappertraceroute_mapper.pyHop analysis, latency profiling, CDN/ISP detection, firewall filter

πŸ•΅οΈ Information Gathering 7

PluginFileTechniques
Tech Fingerprinttech_fingerprint.pyWappalyzer-style detection, header/meta/script analysis
JS Analyzerjs_analyzer.pyAPI key extraction, endpoint discovery, source map detection
Param Minerparam_miner.pyHidden parameter brute force, reflected parameter discovery
Info Disclosureinfo_disclosure.py.env, .git, backup files, debug endpoints, error messages
Secrets Scrapersecrets_scraper.pyAWS/GCP/Azure keys, JWT, API tokens, passwords (regex-based)
Git Dumpergit_dumper.py.git directory enumeration, HEAD/config/refs extraction
Admin Finderadmin_finder.pyCommon admin paths, CMS-specific panels, status code analysis

🌐 Web Scanning 7

PluginFileTechniques
Dir Bruteforcedir_bruteforce.pyPath enumeration, wordlist-based, status filtering
Nikto Scannernikto_scanner.pyNikto integration (requires nikto binary)
Katana Crawlerkatana_crawler.pyKatana integration (automated deep crawling)
HTTP Methodshttp_methods.pyOPTIONS, TRACE, PUT, DELETE, PATCH method testing
WPS Scanminiwps_scanmini.pyWordPress-specific: themes, plugins, user enum
Nuclei Scannernuclei_scanner.pyNuclei integration (template-based vulnerability scanning)
Upload Detectionfast_webshell.pyPUT/PATCH method detection, WebDAV, extension acceptance (passive)

☁️ Cloud & Storage 2

PluginFileTechniques
S3 Buckets3_bucket.pyPublic bucket detection, ACL misconfiguration, listing
SAML Scannersaml_scanner.pySignature wrapping, assertion injection, XML canonicalization

πŸ“Š Analysis & Profiling 6

PluginFileTechniques
SSL Checkssl_check.pyCertificate validation, TLS version, cipher strength, HSTS
Security Headerssecurity_headers.pyHeader analysis, CSP parsing, Information Disclosure detection
WAF Detectionwaf_detec.pyWAF fingerprint (30+ products), bypass recommendations
Profilerprofiler_bundpent.pyTarget profiling, technology stack, risk scoring
Nmap Advancednmap_advanc.pyService version detection, script scanning, OS fingerprint
Auto Exploitauto_exploit.pyCVE matching, exploit suggestion based on detected versions

πŸ” Brute Force & Auth Testing 6

PluginFileTechniques
SSH Brutessh_brute.pyParamiko-based auth testing, key auth detection
FTP Bruteftp_brute.pyAnonymous login, credential testing, directory listing
SMB/ADsmb_ad.pySMB share enumeration, null session, AD recon
SMTP Enumsmpt_enum.pyVRFY/EXPN user enumeration, open relay detection
Heartbleedheartbleed_scanner.pyCVE-2014-0160, TLS heartbeat memory leak detection
Domain Transferdomain_transf.pyDNS zone transfer (AXFR) testing

Architecture

Designed with defensive security principles at every layer.

🧬

ANSI Sanitizer

Anti-terminal injection: strips OSC/DCS/cursor sequences, preserves SGR colors

⚑

Signal Handling

Graceful shutdown SIGINT/SIGTERM/SIGPIPE with async-signal-safe os.write()

πŸ”Œ

Plugin API

Standard run(target, ip, ports, banners) β†’ dict interface with validated schema

🎬

Cinematic Boot

Fade-in logo with 256-color ramp, TTY detection, pipe/CI fallback

πŸ“¦

Dep Bootstrap

Auto lib check on import, friendly error messages, zero crash

πŸ”

Supply Chain

Version-pinned deps, pip-audit CI, pre-commit hooks, Scorecard 10/10

πŸ“Š

Severity Engine

5 levels β€” CRITICAL πŸ’€ HIGH πŸ”΄ MEDIUM 🟑 LOW πŸ”΅ INFO βšͺ with visual icons

πŸ§ͺ

Security Intel

40+ threat intelligence tips and facts shown during scan waits

Integrations

External tools with native integration for maximum attack surface coverage.

πŸ” Nmap🌐 SubfinderπŸ—ΊοΈ AmassπŸ•·οΈ Katana⚑ NucleiπŸ“‘ ShodanπŸ”’ NiktoπŸ“‹ WHOIS/RDAPπŸ›€οΈ Tracerouteβͺ Wayback MachineπŸ›‘οΈ Bandit SASTπŸ”¬ CodeQL🧠 Semgrep✨ RuffπŸ”Ž pip-auditπŸ“„ ReportLab PDF🎨 Rich TerminalπŸ”€ pyfigletπŸͺ pre-commitπŸ† OpenSSF Scorecard

Security Intel

Integrated intelligence engine β€” 40+ tips and facts displayed during scans in real time.

Quick Install

Setup in 60 seconds. Requires Python 3.10+. Compatible with Linux, macOS and WSL.

# Clone and configure
git clone https://github.com/glferreira-devsecops/Cascavel.git
cd Cascavel
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt

# Run
python3 cascavel.py --help
python3 cascavel.py -t target.com

Automated installer available: bash install.sh β€” 15+ environment checks including Python version, venv, external tools, connectivity.
Zero tracking. Zero data collection. Zero telemetry. 100% auditable code. MIT License.

Roadmap

Technical direction β€” open to contributions and community feedback.

v3.0.1 β€” STABLE

βœ… Current

  • 85+ plugins with 2026-grade intelligence
  • JSON, Markdown, PDF + SARIF v2.1.0 reports
  • Plugin API v2 β€” CVSS v4.0 scoring
  • 211 tests β€” plugin, schema, silent failure coverage
  • Docker multi-stage image (Go + system tools)
  • YAML scan profiles (web, api, cloud, network, full)
  • Silent failure hardening β€” SILENT_ERROR reporting
  • Manual dependency control β€” no automated bots
  • Cinematic UX with TTY detection
  • OpenSSF Best Practices Badge
v3.1.0 β€” Q3 2026

πŸš€ Next

  • Async plugin engine (3-5x speed)
  • API mode --serve (REST/SOAR)
  • AI-assisted triage with LLM severity
  • SBOM generation (CycloneDX)
  • Compliance mapping OWASP/NIST/PCI-DSS
v4.0.0 β€” 2027

🧠 Future

  • Distributed multi-node scanning
  • GitHub App (PR one-click audit)
  • Community plugin marketplace
  • Native man page
  • Full compliance automation engine

Governance & Community

Open-source project with transparent governance, full compliance and community-driven development.