Skip to main content
SkillTotal

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.

100%
Recall
386/386 corpus samples flagged
100%
Precision
no benign wrongly flagged
0%
False-positive rate
0/296 benign samples

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).

TechniqueRecall
GitHub Action decode-and-run steps100%
Auto-run hooks in agent and editor config100%
Writes into agent settings and memory at install100%
Credential helpers in agent configs that run code100%
Shell commands in per-agent .env files100%
Agent launchers that redirect the model API100%
Builtins looked up by a name built from character codes100%
Remote-driven AI coding CLIs100%
Clipboard address swap (clipper)100%
Calls in compiled JavaScript output100%
Credential / secret exfiltration100%
Decode-and-execute droppers100%
Decoded payloads run in a spawned interpreter100%
Decrypt-and-execute loaders100%
Hidden dependency-index redirects in skills100%
Dependency confusion install beacon100%
Deserialize-and-execute100%
DNS exfiltration100%
Calls through bound names (getattr, __import__)100%
Email (SMTP) exfiltration100%
Encrypted instructions decoy key ENV read100%
Entry point filed under examples or tests100%
Whole-environment exfiltration100%
Fake HTTP dependency download beacon100%
Project images pulled from another publisher100%
Git hook persistence100%
CI token sent off GitHub by an Action100%
node-gyp command substitution100%
Hidden-Unicode smuggling100%
Init remote archive loader100%
Install-time droppers100%
Shell script disguised as JS in preinstall100%
Container images a public report names as trojanized100%
Lethal trifecta (read + net + inject)100%
Entry points that harvest documents and keys from the home folder100%
MCP client config injection100%
MCP servers launched from a hidden path100%
Malicious MCP server launch commands100%
Shell commands in OAuth discovery endpoints100%
MCP sampling prompt injection100%
MCP sampling system-prompt override100%
Download-and-run commands in MCP parameter defaults100%
MCP servers running host commands behind a fixed token100%
MCP tool poisoning100%
Module run embedded infostealer exe100%
Sandbox-gated native addon dropper100%
npm install scripts that download or decode code and run it100%
npm postinstall crypto miner100%
NPM preinstall id output curl beacon100%
npm install scripts that publish packages100%
Password-protected archive payloads100%
Pickle __reduce__ gadgets100%
Platform packages that download their binary at install100%
Trojanized plugin hooks100%
Post-exploitation (remote access, persistence, evasion, beacons)100%
PowerShell download-and-execute cradles100%
Preview pane oversized html file URL csp bypass100%
Prompt injection100%
Credential theft split across skill steps100%
Startup (.pth) persistence100%
Windows regsvr32, mshta and certutil launched from Python100%
setup.py install steps that start a detached downloader100%
Setup host beacon100%
Setup py install cmd override embedded exe100%
Shell decode-and-execute / pipe-to-shell100%
Shell commands spelled as escapes, variable pieces or brace expansion100%
Skill inline command execution100%
Agent instructions that download and run code100%
Skill note to scanners (safe verdict)100%
Skill hidden agent memory writes100%
Reverse shells over a Python socket100%
SSH server published through a tunnel100%
Startup hook (sitecustomize) persistence100%
Python files shadowing standard-library modules100%
Dead-man switch user service at install100%
Typosquat droppers100%
Python that runs code fetched from a URL100%
Crypto wallet key exfiltration100%
CI workflows that hunt for API keys and post them off GitHub100%

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.

TechniqueSeverityCSA named risk
Credential exfiltration (sensitive-data read + network egress)MITRE ATLAS · ExfiltrationcriticalCross-request correlation blindness (read sensitive data then external comms)
Lethal trifecta (untrusted-instruction surface + file read + egress)MITRE ATLAS · Execution, ExfiltrationhighContext manipulation escalated through tool egress
Install-time dropper (lifecycle hook + decode-exec/credential payload)MITRE ATLAS · Initial AccesshighSupply-chain compromise via install-time execution or name confusion
Post-exploitation chain (remote access or C2 + persistence/evasion)criticalConvergent malicious behavior across independent indicators
Malicious-indicator convergence (≥2 distinct indicators)highConvergent 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.

Classmanifest/textnodepythonshell
AST0152565728
AST024934158
AST030200
AST04596140
AST050060

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.py

The 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.