T09 · Insecure Skill Coding Practices
- Location
SKILL.md:183- Finding
Potential Disclosure of Credentials and Proprietary Context to External AI Services
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a plausible AI CLI orchestrator, but it asks for broad automatic context handoff and credential-adjacent access while making security claims that its own script and instructions contradict.
Review this skill carefully before installing. It may be useful if you intentionally want multiple AI CLIs to share task context, but do not use it on repositories with secrets, private code, or sensitive diffs unless you add explicit redaction and per-provider approval. Avoid running the scanner as written unless you are comfortable with it executing your shell startup file and overwriting `~/.ai-cli-config.json`.
SKILL.md:183Potential Disclosure of Credentials and Proprietary Context to External AI Services
scripts/scan_ai_tools.sh:6Execution of Arbitrary Shell Startup Commands During Tool Scanning
scripts/scan_ai_tools.sh:55Unannounced Destructive Overwrite of User Configuration
The header comment at L003 limits the script's purpose to scanning installed tools, testing availability, and generating a configuration file. Later, the user-facing guidance at L088 states that when using this skill, it will automatically call AI CLI tools by priority, which contradicts the actual code in this file because it performs no task execution or tool invocation beyond help/version checks during scanning.
Sourcing $HOME/.zshrc executes arbitrary shell code from a user-controlled startup file before the scan runs. In a skill context, this creates an unexpected code execution path: any malicious or risky content in .zshrc will run with the script’s privileges, which is more dangerous than merely reading environment variables.
The markdown includes the Chinese term "接管" inside otherwise English instructions, which implicitly introduces a language/localization inconsistency without user opt-in or explanation. This can violate language policy expectations for consistent user-facing skill content.
Comments and console messages throughout the file are exclusively in Chinese, including the operational guidance at L077-L089. This creates a locale/language constraint without any opt-in or documented justification, which matches the language-policy violation criteria.