Back to skill

Security audit

Polymarketskill

Security checks for vulnerabilities and agentic risk

Overview

This Polymarket skill appears benign: it fetches public market data and stores optional watchlist and paper-trading JSON locally without wallet access, credentials, or real trades.

Install only if you are comfortable with the skill making public Polymarket API requests and keeping watchlist or simulated portfolio files in ~/.polymarket. Add the suggested cron entries only if you want scheduled checks. This artifact does not handle wallets, API keys, or real-money trades.

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
  • 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 (2)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill performs network access and local file read/write operations, but the manifest does not declare any explicit tool scope such as permissions or allowed-tools. Even though the documented behavior appears limited to public API reads and local JSON storage, the absence of explicit scoping weakens least-privilege guarantees and makes it harder for reviewers or runtime policy to constrain what the skill may do.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

This code persists watchlist and portfolio information under the user's home directory, which affects local user data. Although the script's top-level docstring mentions watchlist and portfolio features, it does not clearly warn that these commands create and update files in ~/.polymarket, so the file-write behavior lacks explicit user disclosure.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.