DF agentshield
AI Agent Detection & Response — real-time security monitoring with Sigma rules and LLM-powered triage
As a process F 38/100 · Will not run — References files that are not bundled: ../README.md
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.
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.
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- The text references files that are not there: add them or drop the references.
- 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 · 8
-
high Dangerous commands
cmd-persistenceinstall.sh:276Persistence mechanism (cron / launchd / scheduled task / autorun registry)launchctl load "$HOME/Library/LaunchAgents/ai.agentshield.engine.plist" 2>/dev/null || warn "Failed to load launchd service"
Medium and low: 7
-
medium Dangerous commands
cmd-persistenceinstall.sh:309Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)echo " • Stop: launchctl unload ~/Library/LaunchAgents/ai.agentshield.engine.plist"
code literal -
medium Dangerous commands
cmd-persistenceinstall.sh:310Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)echo " • Start: launchctl load ~/Library/LaunchAgents/ai.agentshield.engine.plist"
code literal -
medium Dangerous commands
cmd-persistenceSKILL.md:172Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation of a security skill)launchctl load ~/Library/LaunchAgents/ai.agentshield.engine.plist
security skill -
medium Dangerous commands
cmd-persistenceSKILL.md:173Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation of a security skill)launchctl unload ~/Library/LaunchAgents/ai.agentshield.engine.plist
security skill -
medium Dangerous commands
cmd-persistenceuninstall.sh:59Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)PLIST="$HOME/Library/LaunchAgents/ai.agentshield.engine.plist"
code literal -
medium Dangerous commands
cmd-persistenceuninstall.sh:126Persistence mechanism (cron / launchd / scheduled task / autorun registry) (string literal in code, not executed)if [ ! -d "$INSTALL_DIR" ] && [ ! -f "$HOME/.config/systemd/user/$SERVICE_NAME.service" ] && [ ! -f "$HOME/Library/LaunchAgents/ai.agentshield.engine.plist" ]; then
code literal -
low Dangerous commands
cmd-persistenceSKILL.md:324Persistence mechanism (cron / launchd / scheduled task / autorun registry) (documentation table row; documentation of a security skill)| Launchd plist | `~/Library/LaunchAgents/ai.agentshield.engine.plist` |
tablesecurity skill
Files scanned: 6. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
description-no-whendescription does not say WHEN to use the skill (no "use when") - warning
missing-refreference to a missing file: ../README.md - note
frontmatter-keyunknown frontmatter key "homepage"
Process rating: all ten parameters 38/100
- 0Tools and files. 1 referenced file(s) missing: ../README.md
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 5 mutating operations with no state check
- 50Failures and branches. 0 branches, has a failure section
- 100Steps. 34 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 2278 tokens
- low 13 top-level sections: this looks like several domains in one skill
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 101: 120–800 characters recommended
- +3Output format is not stated: the model decides each time
- -2localhost URLs: will not work for another user
- +1No license
- +2Single-language instructions
- +4Structure: 26 headings
- +3Step-by-step instructions: 34 items
- +4Has examples (13 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 60.