Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

scudo-waf

Latest version: v1.0.1

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: Kokkino11
0 Stars
0 Forks
2 Versions
157 Downloads
Python Repo language

Scan summary

scudo-waf was last scanned on 29 Nov 2026 at version 1.0.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions; the latest was published on 29 Nov 2026.
  • Findings: No rules fired in version 1.0.1.
  • Downloads: 157 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.1 LATEST 29 Nov 2026 No rules fired
1.0.0 19 Nov 2026 No rules fired

No rules fired in 1.0.1

Findings

Findings for v1.0.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.0.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

🛡️ Scudo WAF — AI-Powered Hybrid Web Application & LLM Firewall

Python 3.9+ Version 1.0.0 License: MIT Typing: PEP 561

Scudo WAF (scudo-waf) is an in-memory Hybrid Web Application Firewall, LLM Prompt Injection & PII/Secret Guard, and Universal Reverse-Proxy Sidecar. Run sub-millisecond protection inside your Python process (FastAPI, Starlette, Flask, Django) or place the scudo-waf proxy sidecar in front of any Node.js, Go, PHP, or Java service.


✨ Key Features (v1.0.0)

  • Multi-Layer Hybrid Engine:
    • L0 Blocklist & Rate Limiter: Explicit per-IP blocklists/allowlists (403) and sliding-window per-IP rate limiting (429 Too Many Requests).
    • L1 Structural De-obfuscation & Regex Shield: Iterative URL/HTML/NFKC normalization, MySQL conditional comment unwrapping (/*!50000...*/), smart SQL block comment stripping, inline 0x... hex & Base64 decoding, covering SQLi, XSS/SSTI, Path Traversal, Command Injection, SSRF, and multilingual Prompt Injection.
    • L2 Smart TTL Cache: SHA-256 keyed in-memory decision cache (~0.05 ms).
    • L3 ML Neural Engine: Dual char/word TF-IDF FeatureUnion + CalibratedLinearSVC trained on 53,100 strictly unique samples with calibrated threshold 0.75.
  • LLM PromptGuard + PII & Secret Redactor: @guard.protect blocks prompt injections, oversized inputs, and exposed secrets (sk-..., AWS AKIA..., GitHub ghp_..., JWTs) while automatically masking emails, Luhn-valid credit cards, IBANs, Italian Codice Fiscale, and phone numbers.
  • Universal Reverse-Proxy Sidecar & CLI: Official scudo-waf CLI (scan, stats, proxy) to inspect payloads or protect any HTTP upstream app without touching application source code.

🚀 Quick Start

pip install scudo-waf
# Or include universal reverse-proxy & CLI server support:
pip install "scudo-waf[proxy]"
FastAPI / Starlette
from fastapi import FastAPI
from scudo_waf import WafMiddleware

app = FastAPI()
app.add_middleware(WafMiddleware, expose_headers=True)
LLM PromptGuard with PII Redaction & Secret Leak Blocking
from scudo_waf import PromptGuard, PromptInjectionError

guard = PromptGuard(redact_pii=True, block_secrets=True, max_prompt_chars=4000)

@guard.protect
def ask_llm(prompt: str) -> str:
    # Sensitive emails / credit cards / IBANs are masked to [REDACTED_*] automatically!
    return call_my_model(prompt)
Universal Reverse-Proxy Sidecar & CLI
scudo-waf scan "' OR 1=1 --" --json
scudo-waf proxy --upstream http://127.0.0.1:3000 --port 8081 --mode block

📊 Verified Holdout Evaluation & Benchmarks (v1.0.0)

Metric Measured Result
Training Corpus 53,100 strictly unique samples (30,000 benign / 23,100 malicious)
Selected Model CalibratedLinearSVC (threshold 0.75)
Holdout Accuracy / F1 / ROC-AUC 1.0000 (TN=6000, FP=0, FN=0, TP=4620 across 10,620 unseen samples)
Hard-Negative Smoke Checks 24 / 24 Benign Passed (0 FP) · 12 / 12 Attacks Blocked
L1-Regex / L2-Cache / L3-ML p50 0.014 ms / 0.054 ms / 4.04 ms
ASGI Middleware Throughput 1,180.7 req/s (1,000 mixed HTTP requests in 0.85 s)

📄 License

MIT License — Copyright (c) 2026 Mirko Rainone (KShield).

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases scudo-waf

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229