Atlas / MCP servers / agent-next / polymarket-paper-trader

polymarket-paper-traderCAUTION

mcp/agent-next/polymarket-paper-trader

Paper trading simulator for Polymarket

Verdict
CAUTION
Grade
B
Trust score
81 /100
Exposed tools
—
Transport
stdio · streamable-http
License
MIT
Stars
406
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://pypi.org/project/polymarket-paper-trader/) [](https://github.com/agent-next/polymarket-paper-trader/actions/workflows/test.yml) [](https://clawhub.com/robotlearning123/polymarket-paper-trader) [](https://github.com/agent-next/polymarket-paper-trader/blob/main/LICENSE)

A zero-risk gym for AI agents on real prediction markets — real order books, official fees, verified fill fidelity. Practice, evaluate, and benchmark decision intelligence.

Agents make probability judgments all day. Polymarket is the world's largest prediction market, and its order books are the honest scoreboard: real money, real prices, real outcomes. But you cannot hand an agent a wallet to learn with. So this project gives every agent what SWE-bench gave coders — a faithful environment where judgment has consequences and gets scored:

  • Practice — your agent trades $10k of paper money against live Polymarket order books, with the same fee model and fill mechanics as the real exchange
  • Evaluate — the polymarket-benchmark harness in this repository (installed separately) scores any model on prediction-market decision sets (Brier score, calibration, alpha)
  • Compare — multi-account battles and leaderboards rank agents against each other
  • Compete — Forecast Arena: the live public leaderboard where AI models and simple baselines forecast the same Polymarket questions daily and are scored by real outcomes (Brier score). Runs from this repo (enter your model · workflow · raw data).

Part of

Read from source at commit 97003f168e78OBSERVED · 2026-10-01
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (pypi)
claude mcp add polymarket-paper-trader -- None polymarket-paper-trader==0.4.5
03

Trust audit

CAUTIONgrade B · trust 81/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (3 observation(s))
Network
declared (1 observation(s))
Shell
declared (1 observation(s))
Dependencies
pinned
Secrets in source
found

Findings (14)

MEDIUMInventory / provenance · inv.symlink · CWE-1104
pm_trader/_skill/SKILL.md
pm_trader/_skill/SKILL.md
Why it matters. link not followed
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
pm_trader/benchmark.py:65
return getattr(importlib.import_module(module_path), func_name)
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/outsider_smoke.py:91
async with streamable_http_client(f"http://127.0.0.1:{port}/mcp") as (r, w, *_):
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
benchmark/tests/test_arena.py:1061
secret = "ghp_very-secret-token"
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
benchmark/tests/test_arena.py:203
@pytest.mark.parametrize("bad", ["a/../../evil", "A", "-x", "a b", ".x", "a.json"])
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/test_cli.py:650
result = _invoke(runner, ["accounts", "create", "../../escaped"], data_dir)
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/test_cli.py:1198
result = _invoke(runner, ["--account", "../../etc", "init"], data_dir)
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/test_mcp_server.py:1087
result = _parse(init_account(account="../../etc"))
LOWNetwork egress · net.beacon_words · CWE-200, CWE-319
benchmark/pm_benchmark/arena_site.py:93
f"https://static.cloudflareinsights.com/beacon.min.js/ '{_IMPORTMAP_SRI}'; "
LOWNetwork egress · net.beacon_words · CWE-200, CWE-319
benchmark/tests/test_arena_site.py:1903
f"https://static.cloudflareinsights.com/beacon.min.js/ 'sha384-{digest}'; "
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
benchmark/tests/test_providers.py:316
model="openai/x", api_base="http://127.0.0.1:9/v1", num_retries=1
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_mcp_server.py:1500
url = f"http://127.0.0.1:{port}/mcp"
LOWPrompt injection · prompt.credential_read · CWE-94, CWE-1427
SECURITY.md:17
API key, token, or `.env` file; load credentials from the environment.
Why it matters. asks the agent to read credentials
LOWInventory / provenance · mcp.no_tools_extracted · CWE-1104
server.json
Why it matters. the tool list is enumerated at runtime by tools/list, not declared in source
Fix. the page says so rather than showing an empty table

Gates applied: no_behavioural_pass.

Audited 2026-10-01 · audit v0.4.1 · source sha 97003f168e78full audit observations/trust-audit/mcp-server/agent-next__polymarket-paper-trader.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-0197003f168e78CAUTIONB81first audit
05

Questions

What is the polymarket-paper-trader MCP server?

Paper trading simulator for Polymarket

Is polymarket-paper-trader safe to connect to an agent?

With care. The audit graded it B (81/100) and found 14 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does polymarket-paper-trader need?

It reads JEV_API_KEY and OPENCODE_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does polymarket-paper-trader run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as polymarket-paper-trader.

How current is this page?

The grade is for one exact copy of the source (97003f168e78), read on 2026-10-01. The repository is watched and re-audited when it changes.

Advertisement