T09 · Insecure Skill Coding Practices
- Location
scripts/factory.js:123- Finding
Arbitrary Command Execution Through Shell Injection in the Publish Command
- Content
View full analysis
- Remediation
View remediation
', 'publish', resolvedDir, '--slug', slug, '--name', name, '--version', '1.0.0', '--tags', 'latest,agents', ], { encoding: 'utf8', cwd: WORKSPACE, timeout: 30000 } ); ``` Using argument arrays prevents shell interpretation, although dependency pinning should also be addressed separately. ]]>
