Upgrading from 4.x? 5.x needs Node 22.14+ or 24+; Node 20 and 23 are unsupported. On Node 20, npm warns and still installs unless engine-strict is set; the database engine will not load. Read the guide.
Scripted Walkthrough
Re-enactment: how the ShieldCortex skill scanner flags an SSH-key exfiltration skill as HIGH risk.
A developer installs what looks like a helpful skill. It tries to read their SSH keys. This page is a scripted re-creation. The skill is not in the npm package. After npm install -g shieldcortex, a catch you can run immediately is shieldcortex scan "ignore previous instructions". No audio.
data_exfiltration
target: ~/.ssh/id_rsa
ShieldCortex flagged this 0.4 seconds ago. The result is the scanner's; the host decides what to load.
Here’s what happened ↓
HIGH risk: skill scanner
data_exfiltration · stealth_instruction
Scan results (illustrative)
8,412
Allow
23
Quarantine
7
Block
See it on your machine
Try a scan in 10 seconds.
shieldcortex scan "ignore previous instructions"
Free, local, no signup. This runs the text scanner on a string. The skill scanner you just watched is shieldcortex scan-skill <path>.
Hidden instruction in a skill
An attacker publishes a "git credential helper" skill. Behind innocent-looking docs, it instructs the agent to read SSH keys and POST them to an attacker server.
Pattern + semantic scan
Skill scanner trips on data_exfiltration patterns, stealth instruction phrasing, and access to paths outside the project root. It runs when you point scan-skill at the folder or use the dashboard's Skill & package scanner, and at a fresh Claude Code startup (not a resume) the SessionStart hook prints a warning when .cursorrules, .windsurfrules, .clinerules or .github/copilot-instructions.md in the project root matches a short list of suspicious patterns. It flags the skill; it does not stop a host loading one on its own.
The printed report and the exit code
Each scanner finding is printed in the report with its pattern category, severity and the matched text, and the command exits 1 when the result is unsafe and has not been accepted, so a script or CI step can stop on it. The dashboard's Skill & package scanner shows the same result when you run the scan there. The toast and the results panel in this re-enactment are illustrative.
Note: The adversarial skill in this demo lives at
examples/adversarial-skill/
inside the
ShieldCortex repo.
It is intentionally crafted to trip the scanner and is never published to ClawHub or to the npm tarball. Clone the repo, then run
shieldcortex scan-skill examples/adversarial-skill/
from that checkout.