Back to skill

Security audit

polymarket-wallet-xray

Security checks for vulnerabilities and agentic risk

Overview

This read-only wallet research tool clearly discloses its optional Simmer account access and shows no harmful behavior in the inspected files.

Public wallet research requires no key or wallet connection. Configure SIMMER_API_KEY outside chat only if you want the optional account-status feature, whose output contains private financial information. Treat the historical ratings as estimates, not reliable trading signals. All six bundled files were inspected; live API behavior was not verified.

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
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • 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
Findings (5)

Tainted flow: 'req' from os.environ.get (line 28, credential/environment) → urllib.request.urlopen (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · scripts/status.py (reported line 33)May include surrounding context.

python
"Content-Type": "application/json"
    })
    try:
        with urlopen(req, timeout=30) as resp:
            return json.loads(resp.read().decode())
    except HTTPError as e:
        error_body = e.read().decode() if e.fp else ""

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied script is a read-only Simmer account-status helper, not a public Polymarket wallet analyzer. Although its docstring calls it optional, the declared description does not disclose this separate authenticated account-access capability. The script exits without SIMMER_API_KEY and otherwise sends that key as a Bearer token to Simmer to retrieve account data. No trading, account modification, or transmission to an unrelated third party is evident.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The wallet-analysis commands align with the description. However, the optional Simmer status command introduces a separate account-access capability requiring an API key, beyond the declared unauthenticated Polymarket research scope. The underlying Python implementations are not supplied, so this assessment is limited to the commands and their stated behavior.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, network.

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.

The skill adds authenticated Simmer account access despite declaring only unauthenticated public Polymarket API queries.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

L060 reads SIMMER_API_KEY and L069 uses it to retrieve a private account portfolio; L023–L034 send the credential as a Bearer token to api.simmer.markets. This exceeds the manifest's stated public, unauthenticated Polymarket research scope, with additional private position retrieval at L114. The module documentation acknowledges this optional helper, but the manifest does not declare it.

Content

No source excerpt is available for this finding.