Back to skill

Security audit

Macd

Security checks for vulnerabilities and agentic risk

Overview

This MACD skill is mostly purpose-aligned, but it has a real local code-execution flaw in CSV filename handling and gives direct trading actions without risk disclosure.

Review before installing. Use this only as an educational MACD calculator, not as financial advice, and avoid running calculate-file on files whose names or paths come from untrusted sources until the filename handling is fixed.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/script.sh:147
Finding

Arbitrary Python Code Execution Through an Unsafely Interpolated CSV Filename

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The script provides concrete market interpretation and action-oriented guidance such as holding longs, avoiding longs, and taking profits, but it does not present any warning that outputs are educational only and not financial advice. In a trading-oriented skill, users may reasonably rely on this guidance for real-money decisions, increasing the chance of financial harm from over-trusting simplified indicator-based recommendations.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The crossover and strategy sections contain explicit buy/sell/short instructions, stop guidance, and target-setting language without any risk disclosure or warning about suitability, losses, or educational-only use. Because the skill is explicitly framed as a MACD trading aid, the context makes the omission more dangerous: users are encouraged toward actionable trading behavior based on simplified heuristics.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.