Detection benchmark
How well the free engine actually detects AI-component attacks — measured, not claimed. Every number below is produced by running the open-source engine over a labeled corpus of malicious and benign-but-tricky samples. Detection is deterministic (regex + AST, never an LLM), so you can reproduce these exact numbers yourself.
Engine 1.9.0 · ruleset 108 · Python 3.14 · offline corpus of 386 malicious + 296 benign samples. Published with release v1.9.0, which carries the date.
The corpus is our own labeled set, used as a regression floor that every release must pass. It does not measure accuracy on arbitrary packages.
Recall by attack technique
Fraction of malicious samples of each technique that the engine flags (malicious verdict or high/critical risk).
| Technique | Recall |
|---|---|
| GitHub Action decode-and-run steps | 100% |
| Auto-run hooks in agent and editor config | 100% |
| Writes into agent settings and memory at install | 100% |
| Credential helpers in agent configs that run code | 100% |
| Shell commands in per-agent .env files | 100% |
| Agent launchers that redirect the model API | 100% |
| Builtins looked up by a name built from character codes | 100% |
| Remote-driven AI coding CLIs | 100% |
| Clipboard address swap (clipper) | 100% |
| Calls in compiled JavaScript output | 100% |
| Credential / secret exfiltration | 100% |
| Decode-and-execute droppers | 100% |
| Decoded payloads run in a spawned interpreter | 100% |
| Decrypt-and-execute loaders | 100% |
| Hidden dependency-index redirects in skills | 100% |
| Dependency confusion install beacon | 100% |
| Deserialize-and-execute | 100% |
| DNS exfiltration | 100% |
| Calls through bound names (getattr, __import__) | 100% |
| Email (SMTP) exfiltration | 100% |
| Encrypted instructions decoy key ENV read | 100% |
| Entry point filed under examples or tests | 100% |
| Whole-environment exfiltration | 100% |
| Fake HTTP dependency download beacon | 100% |
| Project images pulled from another publisher | 100% |
| Git hook persistence | 100% |
| CI token sent off GitHub by an Action | 100% |
| node-gyp command substitution | 100% |
| Hidden-Unicode smuggling | 100% |
| Init remote archive loader | 100% |
| Install-time droppers | 100% |
| Shell script disguised as JS in preinstall | 100% |
| Container images a public report names as trojanized | 100% |
| Lethal trifecta (read + net + inject) | 100% |
| Entry points that harvest documents and keys from the home folder | 100% |
| MCP client config injection | 100% |
| MCP servers launched from a hidden path | 100% |
| Malicious MCP server launch commands | 100% |
| Shell commands in OAuth discovery endpoints | 100% |
| MCP sampling prompt injection | 100% |
| MCP sampling system-prompt override | 100% |
| Download-and-run commands in MCP parameter defaults | 100% |
| MCP servers running host commands behind a fixed token | 100% |
| MCP tool poisoning | 100% |
| Module run embedded infostealer exe | 100% |
| Sandbox-gated native addon dropper | 100% |
| npm install scripts that download or decode code and run it | 100% |
| npm postinstall crypto miner | 100% |
| NPM preinstall id output curl beacon | 100% |
| npm install scripts that publish packages | 100% |
| Password-protected archive payloads | 100% |
| Pickle __reduce__ gadgets | 100% |
| Platform packages that download their binary at install | 100% |
| Trojanized plugin hooks | 100% |
| Post-exploitation (remote access, persistence, evasion, beacons) | 100% |
| PowerShell download-and-execute cradles | 100% |
| Preview pane oversized html file URL csp bypass | 100% |
| Prompt injection | 100% |
| Credential theft split across skill steps | 100% |
| Startup (.pth) persistence | 100% |
| Windows regsvr32, mshta and certutil launched from Python | 100% |
| setup.py install steps that start a detached downloader | 100% |
| Setup host beacon | 100% |
| Setup py install cmd override embedded exe | 100% |
| Shell decode-and-execute / pipe-to-shell | 100% |
| Shell commands spelled as escapes, variable pieces or brace expansion | 100% |
| Skill inline command execution | 100% |
| Agent instructions that download and run code | 100% |
| Skill note to scanners (safe verdict) | 100% |
| Skill hidden agent memory writes | 100% |
| Reverse shells over a Python socket | 100% |
| SSH server published through a tunnel | 100% |
| Startup hook (sitecustomize) persistence | 100% |
| Python files shadowing standard-library modules | 100% |
| Dead-man switch user service at install | 100% |
| Typosquat droppers | 100% |
| Python that runs code fetched from a URL | 100% |
| Crypto wallet key exfiltration | 100% |
| CI workflows that hunt for API keys and post them off GitHub | 100% |
Emergent-risk techniques
The most dangerous shapes are combinations — independent behaviors that co-occur to form an attack (read a secret and reach the network; an install hook and a decode-exec payload). SkillTotal synthesizes these as dedicated findings and maps each to the Cloud Security Alliance (CSA) agentic threat model — the same trait combinations shown on every report.
| Technique | Severity | CSA named risk |
|---|---|---|
| Credential exfiltration (sensitive-data read + network egress)MITRE ATLAS · Exfiltration | critical | Cross-request correlation blindness (read sensitive data then external comms) |
| Lethal trifecta (untrusted-instruction surface + file read + egress)MITRE ATLAS · Execution, Exfiltration | high | Context manipulation escalated through tool egress |
| Install-time dropper (lifecycle hook + decode-exec/credential payload)MITRE ATLAS · Initial Access | high | Supply-chain compromise via install-time execution or name confusion |
| Post-exploitation chain (remote access or C2 + persistence/evasion) | critical | Convergent malicious behavior across independent indicators |
| Malicious-indicator convergence (≥2 distinct indicators) | high | Convergent malicious behavior across independent indicators |
See the full trait taxonomy & CSA / MAESTRO / MITRE ATLAS crosswalk in docs/trait-crosswalk.md.
Coverage: OWASP class × language
Malicious-sample counts per OWASP Agentic Skills (AST) class and language. The language axis is honest about scope: deep semantic detection is Python, Node/TypeScript, and shell today.
| Class | manifest/text | node | python | shell |
|---|---|---|---|---|
| AST01 | 52 | 56 | 57 | 28 |
| AST02 | 49 | 34 | 15 | 8 |
| AST03 | 0 | 2 | 0 | 0 |
| AST04 | 59 | 6 | 14 | 0 |
| AST05 | 0 | 0 | 6 | 0 |
Reproduce it yourself
This is the whole point of a deterministic engine: no LLM, no black box, no “trust us”. Clone the public repo at the release tag shown above and run the same harness. With the same engine and Python versions, you get the same numbers.
git clone https://github.com/pezhik/skilltotal
cd skilltotal
git checkout v1.9.0
pip install -e ".[dev]"
python tests/manual_eval/efficacy.pyThe labeled corpus lives in tests/eval_corpus/ (sanitized, non-functional attack samples). Want to check us on your own corpus, or against another tool? Point the harness at a folder of positive/ and negative/ samples and compare. We publish our numbers; anyone can publish theirs.
Methodology & honest caveats
- Deterministic. Detection is regex + AST, never an LLM, and the scanned code is never executed, so the result is identical on every run and every machine with the same engine and Python versions.
- Curated corpus. These are sanitized samples that reproduce real attack shapes across OWASP classes; the corpus is intentionally hard on the negative side (benign-but-tricky code that naive scanners over-flag). It is a floor we hold at 100% / 0 FP, not a claim about every attack in the wild.
- Precision is measured on adversarial negatives. A false positive counts if a benign sample gets a malicious verdict, a high/critical risk level, or a synthesized exfiltration combo — the strictest reasonable bar.
- Language scope is explicit. Deep semantic detection today is Python, Node/TypeScript, and shell; other languages appear in the coverage matrix with their real (often zero) counts rather than being hidden.
See how the engine works or run a scan.