Documentation
¶
Overview ¶
Command tpa-redteam is an adversarial evasion harness for mcpproxy's TPA detection engine. It takes baseline attack payloads that are VERIFIED caught by the offline detect engine + tpa-db bundle, applies evasion mutations an attacker could use to slip the same intent past the matchers, and reports which mutants the engine still blocks, downgrades, or misses.
The point is to red-team the detector: every BYPASS is a detector gap worth fixing; every BLOCKED row is coverage that held. It runs entirely offline against the same scanner.ScanToolMetadataVerdict seam the runtime trust_mode=scan change gate uses — no daemon, no network.
Usage:
go run ./cmd/tpa-redteam # table summary on stdout go run ./cmd/tpa-redteam --format json # machine-readable go run ./cmd/tpa-redteam --report out.md # also write a markdown report go run ./cmd/tpa-redteam --technique homoglyph # single technique go run ./cmd/tpa-redteam --case exfil-env # single baseline case
All payloads are simulations: endpoints use attacker.invalid (RFC 2606 reserved TLD, never resolves) and every secret is a fake canary.