Zero required dependencies, deterministic wire-order analysis, stateless HMAC sliding-window velocity, and TypeSafe System One acceleration in under 30 µs.
npm install traffic-guard
pip install traffic-guard
How traffic-guard filters 95%+ of malicious traffic in sub-30 microseconds before escalating ambiguous requests to TypeSafe System One.
Evaluation across common adversary tools, evasion vectors, and mitigation efficacy.
| Threat Category | Tool / Attack Vector | traffic-guard Detection Mechanism | Action | Efficacy |
|---|---|---|---|---|
| Script Scrapers | curl, requests, Scrapy |
User-Agent heuristic + Wire header ordering disorder | CHALLENGE |
99% |
| Vulnerability Scanners | sqlmap, Nikto, DirBuster |
Scanner signatures + Sensitive path probes (/.env) |
BLOCK |
100% |
| Exploit Injections | SQLi, Log4Shell, XSS, Path Traversal | Recursive URL-decode + Header & body entropy scanner | BLOCK |
99% |
| Spider Canaries | Hidden zero-pixel DOM crawlers | Instant honeypot path triggers (/__bg_trap) |
BLOCK |
100% |
| Burst Rate Floods | High-velocity scrapers & brute-force | Stateless HMAC-SHA256 sliding-window token (40 req / 10s) | TARPIT |
90% |
| Good Web Crawlers | Googlebot, Bingbot, Slackbot | Known crawler token verification & bypass | ALLOW |
100% |
| Polymorphic Exploits | Novel zero-days, obfuscated evasion | TypeSafe System One (jev-latest) 5 typed questions |
BLOCK |
95% |
Empirical evaluation verified against the canonical ground-truth test suite in bench/dataset.json.
| Evaluation Metric | In-Tree Node.js Engine | In-Tree Python Engine | TypeSafe Cloud Tier (Jev) |
|---|---|---|---|
| Category Classification | 100.0% | 100.0% | 100.0% |
| Action Accuracy | 100.0% | 100.0% | 100.0% |
| Attack Block Rate (Recall) | 100.0% | 100.0% | 100.0% |
| Human False Positive Rate | 0.0% | 0.0% | 0.0% |
| Good Bot Passthrough Rate | 100.0% | 100.0% | 100.0% |
| Mean Latency | ~30 µs (0.03 ms) |
~20 µs (0.02 ms) |
~250 ms (network) |
| p95 Latency | ~56 µs |
~39 µs |
~320 ms |
| Runtime Dependencies | 0 required | 0 required | Optional SDK |