BD crabukit
Security scanner for OpenClaw skills with Clawdex integration. Analyzes SKILL.md and scripts for dangerous permissions, hardcoded secrets, shell injection vulnerabilities, and malicious code patterns. Automatically uses Clawdex database if installed for known-malicious skill detection. Use when (1) installing a skill from an untrusted source, (2) developing a skill before publishing, (3) auditing installed skills, or (4) running CI/CD security checks.
Security scanner for OpenClaw skills with Clawdex integration.
As a process D 46/100 · Unfinished process — weak spots: result and completion, when it triggers, inputs and preconditions
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The text contains phrases like "ignore previous instructions" or "you are now…". That is an attempt to hijack the agent: it may break your rules, the system limits or company policy.
An honest skill does not need them: state the role and the rules directly without overriding other instructions. Otherwise catalog scanners and corporate filters will block the listing.
How to improve
- 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 · 17
✓ No critical or high findings
Medium and low: 17
-
medium Instruction override
en-ignore-previouscrabukit/rules/patterns.py:389Instruction-override phrase ("ignore previous instructions") (detector / deny-list definition)"description": "Contains pattern attempting to override previous instructions",
detector -
low Dangerous commands
cmd-background-processcrabukit/analyzers/bash_static.py:395Starts a background / autostarted process (string literal in code, not executed)if '/etc/systemd/system' in line or 'systemctl enable' in line:
code literal -
low Dangerous commands
cmd-privilegecrabukit/analyzers/bash_static.py:420Privilege escalation / world-writable permissions (code comment)# Check for setuid/setgid
comment -
low Dangerous commands
cmd-privilegecrabukit/analyzers/bash_static.py:424Privilege escalation / world-writable permissions (detector / deny-list definition; string literal in code, not executed)title="setuid/setgid bit set",
detectorcode literal -
low Dangerous commands
cmd-privilegecrabukit/analyzers/bash_static.py:425Privilege escalation / world-writable permissions (string literal in code, not executed)description="Setting setuid/setgid bits can create privilege escalation vulnerabilities",
code literal -
low Dangerous commands
cmd-privilegecrabukit/analyzers/bash_static.py:430Privilege escalation / world-writable permissions (string literal in code, not executed)remediation="Avoid setuid/setgid; use proper privilege separation",
code literal -
low Dangerous commands
cmd-pipe-to-shellcrabukit/rules/patterns.py:244Downloads and executes remote code from an unrecognised host (pipe to shell) (detector / deny-list definition; string literal in code, not executed)"title": "curl | bash pattern",
detectorcode literal -
low Dangerous commands
cmd-privilegecrabukit/rules/patterns.py:319Privilege escalation / world-writable permissions (string literal in code, not executed)"description": "chmod 777 grants full read/write/execute to all users",
code literal -
low Dangerous commands
cmd-shell-rcREADME.md:138Writes to a shell startup file (documentation of a security skill)echo "source ~/.claw-safe-install.sh" >> ~/.zshrc
security skill -
low Instruction override
en-ignore-previousRESEARCH_SUMMARY.md:17Instruction-override phrase ("ignore previous instructions") (documentation table row; documentation of a security skill)| `ignore_instructions` | "Ignore all previous instructions" | HIGH |
tablesecurity skill -
low Risky intent
intent-offensive-securityRESEARCH_SUMMARY.md:18Offensive-security / dual-use content (legitimate for authorised testing; review intended use)| `developer_mode` | Privilege escalation attempts | HIGH |
-
low Dangerous commands
cmd-privilegeRESEARCH_SUMMARY.md:95Privilege escalation / world-writable permissions (documentation of a security skill)- **Privilege escalation**: setuid/setgid, sudo patterns
security skill -
low Risky intent
intent-offensive-securityRESEARCH_SUMMARY.md:95Offensive-security / dual-use content (legitimate for authorised testing; review intended use)- **Privilege escalation**: setuid/setgid, sudo patterns
-
low Dangerous commands
cmd-shell-rcscripts/README.md:18Writes to a shell startup file (documentation of a security skill)echo "source ~/.claw-safe-install.sh" >> ~/.zshrc
security skill
A further 3 matches are quotations in this security skill's documentation and are not counted as findings.
Files scanned: 26. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
✓ No remarks against the Agent Skills spec
Process rating: all ten parameters 46/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Failures and branches. Linear process with no failure handling
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 60Tools and files. Uses tools (bash, web) that frontmatter does not declare
- 100Steps. 4 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 617 tokens
- 100Running it twice. No mutating operations
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)
- +3Output format is not stated: the model decides each time
- -31 of 1 scripts are never mentioned in SKILL.md
- +1No license
- +2Single-language instructions
- +3Description length 455: enough signal without eating the budget
- +4Structure: 8 headings
- +3Step-by-step instructions: 4 items
- +4Has examples (4 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 81.