T09 · Insecure Skill Coding Practices
- Location
scripts/analyze.js:51- Finding
Terminal Escape-Sequence Injection Through an Untrusted URL Argument
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a disclosed Fed and macroeconomic analysis aid with bounded network use, but users should treat its market guidance and bundled demo script cautiously.
Install only if you want an agent to fetch news URLs and produce macro/market analysis. Treat outputs as analytical commentary, not financial advice, and do not rely on scripts/analyze.js for real article analysis because it is a placeholder demo. Use trusted URLs and be cautious running the script directly with arbitrary input.
scripts/analyze.js:51Terminal Escape-Sequence Injection Through an Untrusted URL Argument
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
Read `references/frameworks.md` for detailed analytical models when complex macroeconomic situations require deeper assessment.
## Output Guidelines
- **Be decisive** — provide clear probabilities, not vague ranges
- **Anchor to frameworks** — cite specific indicators from the loaded models
The skill explicitly instructs use of web_fetch on a user-provided URL, but the manifest declares no tool scope or allowed-tools restrictions. That creates an authorization and review gap: consumers cannot easily tell the skill performs network access, and platforms cannot enforce least-privilege boundaries for this skill.
The trigger description is very broad and overlaps with common news and macroeconomic discussions, making accidental invocation more likely in unrelated contexts. Over-broad routing increases the chance this skill fetches external content or influences outputs when a narrower, safer skill would have been more appropriate.
The workflow states the skill will fetch a supplied news URL, but the user-facing description does not clearly warn that external content will be retrieved. This reduces informed consent and increases the risk of users unintentionally causing remote fetches to untrusted domains, which is especially relevant in a URL-driven skill.
The script claims to analyze news from a supplied URL, but it never fetches or processes the article and instead returns fabricated placeholder output. This is dangerous because users may rely on the result as if it were evidence-based macroeconomic analysis, leading to misinformation and potentially poor financial or policy decisions.
The skill metadata advertises sophisticated Fed, inflation, and monetary-policy analysis, but the implementation only emits canned text regardless of input. In the context of a financial-analysis skill, this mismatch is especially risky because it can create false trust in non-existent analysis and mislead downstream users or agents acting on market-sensitive information.