shoofly-plugin-scan#
Scans an OpenClaw plugin directory for security issues before installation.
Usage#
bash
shoofly-plugin-scan <path-to-plugin>
Checks#
- Credential patterns — API keys (sk- , ghp_, AKIA*), private keys
- Obfuscated code — long hex/base64 strings, eval(), Function() constructor
- Unusual network calls — URLs not in the trusted allowlist
- Sensitive path access — ~/.ssh, ~/.aws, ~/.gnupg, /etc/passwd, credentials
- Exec patterns — child_process.exec with variable args, shell: true
Exit codes#
CodeMeaning0Clean — no findings1Findings — review before installing2Scan error
Allowlisted hosts#
github.com, npmjs.com, openclaw.ai, clawhub.com, shoofly.dev