[SECURITY] LOW: No rate limiting on API calls #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: LOW
An attacker who can pass arguments to this script (e.g., via a web wrapper) could repeatedly call the Polymarket API in a loop, potentially getting the user's IP rate-limited or banned by Polymarket.
Location
scripts/browse.pylines 74-76 (fetch_all_pages())Recommended Fix
Add a cooldown between runs if called repeatedly, or use a token bucket rate limiter.
Reference
See
reviews/2026-03-25.mdSection 6.8