A public, tool-agnostic evasion benchmark. 50 red-team style evasion tests across 10 categories, plus a small FP/FN corpus of known-benign and known-vulnerable files.
Run it against any scanner: Sentinel, Semgrep, CodeQL, gitleaks, Bandit, your own SAST — the harness only shells out to a command you provide.
tests/ 50 evasion fixtures across 10 categories + index.json (expected verdicts)
fixtures/ multi-language cross-engine fixtures (go/python/rust/manifest)
corpus/ FP/FN corpus: known-benign + known-vulnerable with manifest.json
runner/ generic benchmark runner (tool-agnostic)
- Node.js >= 18
- The tool you want to benchmark, installed and reachable from a shell
Point the runner at any tool via --tool. The {file} placeholder is substituted
with each test file.
Detect expected by JSON output on stdout:
node runner/benchmark.mjs --engine cli --tool "sentinel scan {file} --json"Any tool that prints a JSON array of findings (or an object with findings/results)
is scored by "did it emit findings for this file". For example:
# Semgrep with your own rules
node runner/benchmark.mjs --tool "semgrep --json -c p/security-audit {file}"
# gitleaks (JSON to stdout)
node runner/benchmark.mjs --tool "gitleaks detect --source {file} --report-format=json --report-path=-"
# Non-JSON text output: non-empty stdout counts as detected
node runner/benchmark.mjs --tool "my-scanner scan {file}"Optional filters:
node runner/benchmark.mjs --engine oracle --category ci-integrity-evasion --tool "..."
node runner/benchmark.mjs --tool "..." --timeout 60000Results are written to results/benchmark-<timestamp>.json (gitignored) and printed
as a per-engine summary table.
tests/index.json declares a per-engine expected outcome per test:
{
"id": "RT-001",
"expected": { "cloud": "detect", "cli": "detect", "oracle": "detect" }
}evaluated as:
| expected | tool flagged file | verdict |
|---|---|---|
detect |
yes | detected |
detect |
no | bypassed |
bypass |
no | bypassed |
bypass |
yes | detected + FP flag |
Pass --engine to score only the engine class you care about; otherwise the harness
evaluates every engine an index entry targets.
| # | Category | Focus |
|---|---|---|
| 01 | AST/SAST Evasion | fragmenting, encoding, obfuscating malicious patterns |
| 02 | Secret Entropy Evasion | hiding secrets from entropy detectors |
| 03 | CI Integrity Evasion | masking pipeline behavior, redistributing attack steps |
| 04 | Trust Drift Evasion | YAML anchors, template vars, gradual privilege escalation |
| 05 | AI Evasion | prompt injection, negative-prompt bias, logic traps |
| 06 | Sandbox Evasion | constructor chains, prototype pollution, timer starvation |
| 07 | Multi-Engine | cross-engine combo attacks |
| 08 | Supply Chain | typosquatting, dependency confusion, postinstall payloads |
| 09 | Killchain | multi-stage attacks, timed exfiltration, credential harvesting |
| 10 | Timing/Stealth | slow drip, sleep padding, environment-aware activation |
| 11 | Nov 2026 TTPs | autonomous agents, autoupdate hijack, third-party JS injection, Entra secret pivot, SOAP reflection, over-permissive role policies |
corpus/ contains 8 known-benign and 10 known-vulnerable files with corpus/manifest.json
defining minimum alerts per vulnerable file and a maxAlerts: 0 expectation for benign
files. Use it as a quick precision/recall sanity check for your tool.
Benchmark harness originally built to evaluate the Sentinel engines (Sentinel Cloud / Sentinel CLI / Sentinel Oracle). This public snapshot ships the environment, fixtures, and runner only — the per-engine marketed scores are not included.
tests/index.json declares 56 cases and tests/index-combined.json 60. The
expected field is the contract being measured, not a score: detect means the
engine is expected to flag the vector, bypass records a known blind spot and
partial an incomplete signal.
| Manifest | Engine | detect | bypass | partial | total |
|---|---|---|---|---|---|
| index.json | cloud | 8 | 43 | 5 | 56 |
| index.json | cli | 13 | 40 | 3 | 56 |
| index.json | oracle | 42 | 11 | 3 | 56 |
| index-combined.json | cloud | 12 | 43 | 5 | 60 |
| index-combined.json | cli | 14 | 43 | 3 | 60 |
| index-combined.json | oracle | 42 | 15 | 3 | 60 |
Category 11 (nov-2026-ttps) adds RT-051..RT-056. RT-055 (SOAP Fault unsafe
reflection, Apache Axis 1.x / CVE-2026-90436) and RT-056 (over-permissive role
policy) are declared bypass for every engine: they are open gaps, not passes.
RT-051 is detect only for the CLI because AGENT_RISK already exists in the
Signal Vault; RT-054 is detect for all engines because secret detection is
already claimed by all three.
The runner normalizes file paths relative to tests/ so historical manifests
that prefix tests/ resolve correctly instead of producing file_not_found.
corpus/manifest.json paths match the real known-vulnerable/ and
known-benign/ directories.
Command: node runner/benchmark.mjs --category 11-nov-2026-ttps --tool "sentinel scan {file} --json" --timeout 60000.
18 runs (6 tests × 3 engine labels), 38.997s total, no file_not_found.
| Engine label | Tests | Detected | Bypassed | Rate | FPR |
|---|---|---|---|---|---|
| cloud | 6 | 4 | 2 | 66.7% | 0.17 |
| cli | 6 | 4 | 2 | 66.7% | 0.00 |
| oracle | 6 | 4 | 2 | 66.7% | 0.50 |
Per-test result: RT-051..RT-054 detected; RT-055 and RT-056 bypassed by all
three labels. RT-055 (SOAP Fault unsafe reflection, Apache Axis 1.x /
CVE-2026-90436) and RT-056 (over-permissive delegated role policy) are the two
confirmed open gaps: 0 findings, fp=false, matching the declared bypass.
Caveat: the same local sentinel scan binary was passed for all three engine
labels. The cloud/oracle columns are therefore labels, not independent
engines. The nonzero cloud/oracle FPR values are expectation mismatches
(RT-051..RT-053 are declared bypass there but the local scanner flags them),
not evidence that a remote engine emitted false positives. Do not quote these as
per-engine marketed scores.
sentinel scan sentinel-benchmark --json returned 44 findings (17 CRITICAL, 5
HIGH, 14 MEDIUM, 8 LOW). tests/ is excluded by default, so the bulk scan does
not cover category 11; use the per-file harness above.
Known benign/harness findings, kept as regression cases rather than deleted:
runner/benchmark.mjs:4,156,158—OS_CAPABILITYfrom thechild_processimport that invokes the tool under test. Benign by design; exclude from precision metrics for the corpus.corpus/known-benign/normal.js:3—ENV_ACCESSon a file whose manifest contract ismaxAlerts: 0. This is a genuine precision FP and should stay as a regression test.corpus/manifest.json:6—ENV_ACCESStriggered by the literal reference toknown-vulnerable/secrets.env. Benign metadata FP, not a scanned sample.