T09 · Insecure Skill Coding Practices
- Location
scripts/check-notebook.sh:6- Finding
Arbitrary Python Code Execution Through Notebook Filename Injection
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a notebook checklist tool, but its included checker script has an input-handling flaw that could run unintended local code if used on a maliciously named notebook file.
Review this skill before installing or running it. Its notebook-checking goal is straightforward, but only run the checker on trusted notebook paths or after fixing the script to pass the filename as an argument to Python through a quoted heredoc.
scripts/check-notebook.sh:6Arbitrary Python Code Execution Through Notebook Filename Injection
The manifest name includes the suffix "-cn", which conventionally indicates a China/Chinese locale variant. In this file, there is no accompanying explanation, opt-in language, or region-specific justification, so it suggests a locale constraint that may violate the language/locale policy.
The manifest-style header names the skill mlops-prototyping-cn, which signals a locale or regional constraint. The document does not explain what cn means, offer the user a language/locale choice, or justify a China-specific scope as a documented regional compliance requirement.
No suspicious patterns detected.