Back to skill

Security audit

Polymarket Edge Detector

Security checks for vulnerabilities and agentic risk

Overview

This skill is not destructive or exfiltrating data, but it presents mock trading signals as Polymarket edge detection, which could mislead users making financial decisions.

Review this skill carefully before installing. It appears safe from a local system security perspective, but its outputs should be treated as demo/mock data only and not as real betting or trading advice unless the implementation is changed to use verified live market and reference sources with clear labeling.

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
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The skill advertises live Polymarket edge detection using external reference probabilities, liquidity, and historical accuracy, but the finding indicates those core functions are simulated with mock or randomly generated data. In a trading context, this can mislead users into making real-money decisions based on fabricated signals, creating financial harm and false trust in the tool's outputs.

Content

No source excerpt is available for this finding.

Lp1

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'env' capability that is not listed in its permissions. This may indicate deceptive intent or missing permission declarations.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The module docstring explicitly states that the script finds mispriced binary contracts on Polymarket and compares market price to an external reference probability. That directly conflicts with the implementation, which uses a hardcoded market list and randomized synthetic values rather than external or Polymarket-derived data.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The manifest and module docstring describe an edge detector that compares Polymarket binary-option prices with external references such as polls, prediction APIs, or market-implied odds. In practice, the implementation never queries Polymarket or any external reference source; instead, it fabricates prices, reference probabilities, liquidity, and dates using a PRNG in fetch_mock_market.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.