Back to skill

Security audit

vibe-trading

Security checks for vulnerabilities and agentic risk

Overview

The skill discloses its optional brokerage connections, AI workers, and saved settings, with no harmful behavior established by the supplied artifact.

Start with research or paper/read-only connections. Protect saved brokerage credentials, and use an approved model provider before supplying confidential research to swarm workers. Keep session MCP injection and direct trade-writing tools disabled unless deliberately authorized. The external Python package was not audited, so this verdict covers the supplied instructions rather than guaranteeing runtime enforcement.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Rogue AgentSelf-Modification, Session Persistence
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

Quotes and historical-price retrieval fit the declared research purpose, and package installation is a supporting detail. However, configuring a brokerage connection and inspecting account state constitute additional capabilities not clearly disclosed by the description. The reference to a Shadow Account extract/backtest/render workflow does not establish brokerage-account access. The commands shown query orders; they do not demonstrate placing or modifying trades.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
93% confidence
Finding

The only supplied behavior changes an execution-environment setting related to MCP servers rather than implementing a described finance feature. No connection is shown that would establish this as a supporting implementation detail. The assignment alone does not demonstrate that any server is started, any resource is accessed, or that the setting is honored by the runtime.

Content

No source excerpt is available for this finding.

The workflow instructs the agent to execute run_swarm without disclosing that research inputs are sent to the configured external LLM provider.

Medium
Category
Output Handling
Confidence
86% confidence
Finding

The skill directs execution of multi-agent research and documents an OpenAI-compatible API key requirement, but does not warn that research prompts and supplied context are transmitted to the configured model provider. Users could include confidential investment research without understanding this privacy implication.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

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.

Content

Scanner excerpt · SKILL.md (reported line 240)May include surrounding context.

Setup

Create ~/.vibe-trading/agent.json:

json
{

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 266)May include surrounding context.

md
"mcpServers": {
    "ibkr": {
      "type": "streamableHttp",
      "url": "https://api.ibkr.com/v1/api/mcp-public",
      "auth": {
        "type": "oauth",
        "scopes": ["mcp.read"],