T09 · Insecure Skill Coding Practices
- Location
scripts/test.js:24- Finding
Shell Command Injection Through an Unquoted Project Path in the Test Runner
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a straightforward JSON patching utility with one dependency and a test-script weakness, but no evidence of hidden or malicious behavior.
Reasonable to install if you need a CLI helper for JSON patching. Review patches before applying them because the tool can overwrite any JSON file you point it at, and consider pinning dependencies exactly and hardening the test script before using it in CI or other sensitive automation.
scripts/test.js:24Shell Command Injection Through an Unquoted Project Path in the Test Runner
The dependency is specified with a caret range (^3.1.1), which allows automatic installation of newer compatible versions. This creates supply-chain risk because future releases could introduce malicious code or breaking security changes without an explicit review, even though the current package and the skill’s stated purpose appear benign.
"test": "node scripts/test.js"
},
"dependencies": {
"fast-json-patch": "^3.1.1"
},
"author": "OpenClaw Evolution",
"license": "ISC"
Detected: suspicious.dangerous_exec