T09 · Insecure Skill Coding Practices
- Location
index.js:28- Finding
Unsanitized User-Controlled Parameters Written to Logs
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
Review recommended because this skill can store submitted test prompts in logs and has a weak, malformed dependency setup.
Install only after reviewing whether prompt contents may enter logs in your environment. The publisher should remove or pin the unused dependency with a lockfile, fix package.json, redact logged inputs, and implement the documented A/B testing behavior before relying on this skill for real model evaluation.
index.js:28Unsanitized User-Controlled Parameters Written to Logs
package.json:6Unnecessary Mutable Third-Party Dependency Without an Integrity Lock
The dependency uses a caret range (^1.0.0), which permits automatic installation of newer compatible releases rather than an exact vetted version. This can introduce supply-chain risk if a later published package version is compromised, vulnerable, or behaviorally incompatible, though the impact here is limited because this file alone does not show privileged install hooks or especially sensitive dependency usage.
"description": "Compare models with A/B testing for selection",
"main": "index.js",
"dependencies": {
"stats-library": "^1.0.0"
}}
}
No suspicious patterns detected.