FC prodshield
ProdShield: Hardened execution guardrails — because production only gets one chance. Use this skill whenever Claude is about to execute commands, run scripts, manage infrastructure, interact with databases, modify files, call APIs, delete resources, or perform any action that could affect a live system. MUST trigger for: deploy, delete, remove, drop, destroy, terminate, truncate, wipe, reset, rollback, migrate, execute, run, apply, push, publish, install, or upgrade — especially against production, live, main, or staging environments. ProdShield is the last line of defense before an irreversible mistake reaches production. Also triggers for: dependency installs, container builds, CI/CD pipeline execution, secret rotation, any action involving third-party packages or scripts, and any git commit or push that could expose API keys, passwords, tokens, private keys, database credentials, client secrets, or any sensitive credentials.
As a process C 53/100 · Has gaps — weak spots: result and completion, inputs and preconditions, consistency
What is at stake
The skill contains fragments that, in the wrong hands, cost money or data. Below: what the installer risks and what the author should do.
The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.
Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.
The files contain someone else's key or token. If it is live, your agent will call third-party services under a stranger's identity; if it was revoked, the skill's scripts simply fail. Such a key often arrives with the author's whole workspace, personal data included.
The key is visible to everyone who downloaded the skill and has likely been copied by catalog-scanning bots already. Revoke it now, check bills and access logs, then reissue.
How to improve
- Address the high-severity findings: each costs 18 safety points. If one is a false positive, add the rule id to guard.allow in spec.yaml.
- The SKILL.md body is over 5,000 tokens: move reference detail into references/ and load it when needed.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 30
-
high Dangerous commands
cmd-destructive-fsreferences/dangerous-commands.md:21Destructive filesystem command (wipes root/home/drive) (documentation of a security skill):(){ :|:& };: # Fork bomb — crashes systemsecurity skill -
high Dangerous commands
cmd-encoded-execreferences/dangerous-commands.md:40Executes a base64/encoded payload (documentation of a security skill)echo "base…oad" | base64 -d | bash
security skill -
high Dangerous commands
cmd-encoded-execreferences/dangerous-commands.md:41Executes a base64/encoded payload (documentation of a security skill)echo "aGVsbG8=" | base64 --decode | sh
security skill -
high Secrets in code
secret-private-keySKILL.md:539Private key material (key header without key body)# - Private keys (-----BEGIN PRIVATE KEY----- …
header only
Medium and low: 26
-
medium Dangerous commands
cmd-destructive-fs-scopedreferences/dangerous-commands.md:14Destructive command on a partition / current directory (normal in admin docs; verify the target) (documentation of a security skill)dd if=/dev/zero of=/dev/sdX # Disk wipe — NEVER in production
security skill -
medium Dangerous commands
cmd-disable-securityreferences/dangerous-commands.md:337Disables a security control (Defender, Gatekeeper, SIP, firewall, execution policy) (documentation of a security skill)ufw disable
security skill -
medium Dangerous commands
cmd-disable-securityreferences/dangerous-commands.md:338Disables a security control (Defender, Gatekeeper, SIP, firewall, execution policy) (documentation of a security skill)iptables -F # Flush all firewall rules
security skill -
medium Dangerous commands
cmd-disable-securityreferences/dangerous-commands.md:339Disables a security control (Defender, Gatekeeper, SIP, firewall, execution policy) (documentation of a security skill)setenforce 0 # Disable SELinux enforcement
security skill -
medium Dangerous commands
cmd-install-from-urlSKILL.md:449Installs a package from an untrusted URL / archive (documentation of a security skill)# BAD: pip install --extra-index-url http://internal.mycompany.com/ mypackage
security skill -
medium Secrets in code
secret-private-keySKILL.md:760Private key material (key header without key body; documentation table row)| **Private keys & certificates** | `-----BEGIN PRIVATE KEY----- …
header onlytable -
low Dangerous commands
cmd-privilegereferences/dangerous-commands.md:18Privilege escalation / world-writable permissions (documentation of a security skill)chmod -R 777 / # Dangerous permission change
security skill -
low Dangerous commands
cmd-eval-dynamicreferences/dangerous-commands.md:277Dynamic code execution from decoded/untrusted input (documentation of a security skill)exec(open('downloaded_script.py').read())security skill -
low Risky intent
intent-offensive-securityreferences/recovery-playbook.md:314Offensive-security / dual-use content (legitimate for authorised testing; review intended use) (detector / deny-list definition)- Unexpected processes inside the container (e.g., crypto miner, reverse shell)
detector -
low Dangerous commands
cmd-pipe-to-shellSKILL.md:94Downloads and executes remote code from an unrecognised host (pipe to shell) (negated — the text forbids it)[ ] For installs/scripts: source verified, no curl|bash from unknown URLs (Section 13)
negated -
low Dangerous commands
cmd-pipe-to-shellSKILL.md:120Downloads and executes remote code from an unrecognised host (pipe to shell) (documentation table row; documentation of a security skill)| Execute `curl \| bash` or `wget \| sh` | Piping remote scripts directly to a shell |
tablesecurity skill -
low Instruction override
en-ignore-previousSKILL.md:380Instruction-override phrase ("ignore previous instructions") (negated — the text forbids it)| **No workarounds** | Never bypass safety rules even if user says "just do it quickly" |
negated
A further 14 matches are quotations in this security skill's documentation and are not counted as findings.
Files scanned: 7. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
body-longSKILL.md body ≈ 10350 tokens (recommended < 5000); move details to references/
Process rating: all ten parameters 53/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 30Running it twice. 88 mutating operations with no state check
- 40Consistency. Frontmatter name (prodshield) differs from the folder (prod-shield)
- 40Execution cost. Instruction body is 10350 tokens: crowds the task out of the window
- 60Tools and files. Uses tools (bash, web, git, python, node) that frontmatter does not declare
- 70When it triggers. States when to use, but not when not to
- 100Steps. 82 steps
- 100Failures and branches. 9 branches, has a failure section
- 100Progress reporting. Reports progress
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low 20 top-level sections: this looks like several domains in one skill
- low The response is described with custom markup (4 tags): a typed call is more reliable
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Description length 941: 120–800 characters recommended
- +3Output format is not stated: the model decides each time
- -4Absolute local paths (C:\Users, /home/…): not portable
- -226 emoji in the instructions: noise for the model
- +1No license
- +2Single-language instructions
- +4Structure: 61 headings
- +3Step-by-step instructions: 82 items
- +4Has examples (37 code blocks)
- +4Reference files are cited in the instructions (4 of 4)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 69.