Back to skill

Security audit

Polymarket Fast Loop

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed automated Polymarket trading skill, but it needs Review because live mode can spend real funds, use wallet credentials, cancel orders, and one advertised trade-rate safety control is not enforced.

Install only if you intentionally want automated Polymarket fast-market trading. Use dry-run first, keep live runs isolated in a dedicated wallet with limited USDC, avoid sharing broad environment credentials with unrelated tools, pin/review simmer-sdk before live use, and do not rely on the advertised minimum-time-between-trades setting until it is implemented.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (3)

T08 · Insecure Dependencies

Error
Location
clawhub.json:4
Finding

Unpinned privileged trading dependency creates supply-chain exposure

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
clawhub.json:62
Finding

Advertised minimum trade interval is not enforced

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
fastloop_trader.py:792
Finding

Existing-position deduplication path references an uninitialized variable

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (12)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding

The skill instructs the user/agent to set sensitive environment variables, execute Python, access external APIs, and potentially write config files, but it declares no explicit tool or permission scope. In an agent environment, this missing scope increases the chance the skill is invoked with broader-than-necessary access, enabling unintended network use, secret handling, or file modification during live trading workflows.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The top-level description is broad enough to match many generic crypto trading or automation requests, which can cause an agent to select this skill in situations the user did not specifically intend. Because this skill can lead to live financial trades with real funds, over-broad routing materially raises the risk of inappropriate activation and unsafe execution context.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The 'When to Use This Skill' section lists expansive triggers like short-term crypto prediction trading and custom signals without strong guardrails, making auto-invocation more likely across loosely related user intents. In the context of a skill that handles real-money trading and requests wallet private keys, loose activation criteria make accidental or premature use more dangerous than in a read-only or informational skill.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

This manifest clearly configures an automated trading skill with position size, trade frequency, and daily budget controls, yet it contains no user-facing disclosure that the skill can place real trades or expose the user to financial loss. In a trading context, omission of explicit risk and execution warnings can mislead users into enabling automation without understanding that funds may be committed automatically, increasing the chance of unintended or excessive losses.

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest says the skill is for Polymarket BTC 5-minute and 15-minute fast markets, but the code exposes broader trading scope via ETH, SOL, and even a 1h window in internal duration handling. Capability drift matters in trading agents because users and orchestrators may grant trust or permissions based on the narrower declared scope, causing unintended market exposure.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · fastloop_trader.py (reported line 465)May include surrounding context.

python
Returns: {momentum_pct, direction, price_now, price_then, avg_volume, candles}
    """
    url = (
        f"https://api.binance.com/api/v3/klines"
        f"?symbol={symbol}&interval=1m&limit={lookback_minutes}"
    )
    result = _api_request(url)

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · fastloop_trader.py (reported line 539)May include surrounding context.

python
Returns: {momentum_pct, direction, price_now, price_then, avg_volume, candles}
    """
    url = (
        f"https://api.binance.com/api/v3/klines"
        f"?symbol={symbol}&interval=1m&limit={lookback_minutes}"
    )
    result = _api_request(url)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

When invoked with --live, the skill can place real orders immediately based on fetched market data and configuration, without an additional interactive confirmation or policy gate right before execution. In an agent setting, this increases the risk of accidental or prompt-induced financial actions, especially if the skill is triggered automatically or with inherited credentials.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

The comment says 'Force line-buffered stdout for non-TTY environments,' which describes output buffering behavior, not a language or locale restriction. This does not indicate any natural-language policy violation such as forcing a user language or locale.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
78% confidence
Finding

The manifest describes using momentum signals to trade Polymarket fast markets, but does not mention local persistence or external trade journaling. While related to risk controls and logging, these are additional capabilities beyond the stated purpose and are not obviously declared in the manifest text.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

The manifest focuses on trading fast markets from momentum signals, but the implementation also queries portfolio balances, all current positions, and open orders to size trades and manage duplicates/stale orders. These are plausible trading-related capabilities, but they are broader account-access functions not stated in the manifest.

Content

No source excerpt is available for this finding.