T09 · Insecure Skill Coding Practices
- Location
SKILL.md:91- Finding
API Key Disclosure Through Troubleshooting Command
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill has a clear GNews CLI purpose, but it asks users to build and run unpinned code from GitHub and includes a troubleshooting command that can expose the API key.
Install only after reviewing the upstream repository and prefer a pinned release or commit with checksum or signature verification. Avoid the sudo global install unless needed, and do not run or share `echo $GNEWS_API_KEY`; use a non-printing presence check and rotate the key if it was exposed.
SKILL.md:91API Key Disclosure Through Troubleshooting Command
SKILL.md:25Mutable Remote Source Is Retrieved, Built, and Executed Without Integrity Verification
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
Optional global install:
sudo install gnews-client /usr/local/bin/
No suspicious patterns detected.