T09 · Insecure Skill Coding Practices
- Location
script.sh:70- Finding
Python Code Injection Through Unsafe Interpolation in Generated Submission Command
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill mostly prints GitHub submission guidance, but it includes an unsafe copy-paste command that can run unintended code if filled with hostile text.
Review this skill before installing or using it. Its GitHub research links are expected for the stated purpose, but do not copy and run the generated URL-building bash/Python snippet with untrusted product names, titles, or body text; use a safer encoder that passes values as arguments instead.
script.sh:70Python Code Injection Through Unsafe Interpolation in Generated Submission Command
The skill metadata declares no explicit tool restrictions even though static analysis detected shell and network-capable behavior. In an agent environment, missing scope boundaries can let the skill invoke broader capabilities than a user expects, which is risky for a marketing/SEO skill that could automate outbound requests or local command execution.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
open "https://github.com/search?q=awesome+KEYWORD&type=repositories&sort=stars"
# Check if list is active
curl -s "https://api.github.com/repos/OWNER/REPO" | \
python3 -c "import sys,json; d=json.load(sys.stdin); \
print(f'Stars: {d[\"stargazers_count\"]}'); \
print(f'Updated: {d[\"updated_at\"]}')"
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
open "https://github.com/search?q=awesome+KEYWORD&type=repositories&sort=stars"
# Check if list is active
curl -s "https://api.github.com/repos/OWNER/REPO" | \
python3 -c "import sys,json; d=json.load(sys.stdin); \
print(f'Stars: {d[\"stargazers_count\"]}'); \
print(f'Updated: {d[\"updated_at\"]}')"
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
open "https://github.com/search?q=awesome+KEYWORD&type=repositories&sort=stars"
# Check if list is active
curl -s "https://api.github.com/repos/OWNER/REPO" | \
python3 -c "import sys,json; d=json.load(sys.stdin); \
print(f'Stars: {d[\"stargazers_count\"]}'); \
print(f'Updated: {d[\"updated_at\"]}')"
No suspicious patterns detected.