T09 · Insecure Skill Coding Practices
- Location
signal_generator.py:12- Finding
External Directory Prepending Enables Python Module Shadowing
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill mostly generates crypto trading signals, but its root-level Python path usage and scheduled execution guidance create review-worthy risk before installation.
Review this skill before installing. It does not appear designed to steal data or place trades, but run it only in a dedicated, unprivileged Python environment, remove or avoid the /root/quant-trading-bot import-path dependency, pin dependencies, and be deliberate about any Discord/Telegram wrapper because alerts can reveal trading activity and channel identifiers.
signal_generator.py:12External Directory Prepending Enables Python Module Shadowing
package.json:14Unbounded and Unlocked Third-Party Dependency Resolution
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
Run every 5 minutes:
crontab -e
Add this line:
The skill explicitly integrates with Discord and Telegram, but the description does not prominently warn that running it will automatically transmit trading signals and related activity to third-party services. This creates a real privacy and data-sharing risk because users may enable the skill without understanding that external notification targets can expose strategy usage, symbols, timing, and channel identifiers.
The skill is designed to automatically generate signals and send them externally without an explicit human approval step. While this is not inherently malicious, autonomous outward actions increase risk because they can continuously leak sensitive operational information, spam external endpoints, or act on misconfiguration at scale once scheduled via cron.
## 📋 Overview
This skill generates trading signals based on technical indicators and automatically sends alerts to your configured channels (Discord, Telegram, etc.).
## 🚀 Features
The top-level documentation states that the skill 'Generates trading signals and sends alerts to Discord/Telegram.' In the actual implementation, there is no Discord or Telegram integration; the code generates signals, prints them to stdout, and saves them to last_signal.json for another component to send later.
This markdown file advertises real-time alerts to Discord and Telegram and later instructs users to configure channel/chat targets, but it does not explicitly warn that signal data will be transmitted to external services. For markdown files, omissions around privacy-affecting behavior qualify as missing user warnings.
No suspicious patterns detected.