upstash-ratelimit-js
Pass
Audited by Gen Agent Trust Hub on Oct 27, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill documents methods that ingest untrusted external data, specifically identifiers like user IDs, IPs, and User Agents in the
limit()method. This represents a standard ingestion surface for rate-limiting logic. \n - Ingestion points:
limit(identifier, { ip, userAgent, country })as described inmethods-getting-started.mdandtraffic-protection.md.\n - Boundary markers: None specified for the input strings; instructions assume direct passing of request metadata.\n
- Capability inventory: The SDK interacts with Upstash Redis via network requests to perform read/write operations for counter management.\n
- Sanitization: Not explicitly discussed in the documentation snippets, though the SDK typically treats these as raw keys in Redis.\n- [EXTERNAL_DOWNLOADS]: The skill documentation describes a feature that automatically fetches and synchronizes abuse lists from the well-known 'ipsum' repository on GitHub to provide IP protection. This is a legitimate security feature using a trusted platform.\n- [SAFE]: Secret management examples correctly demonstrate the use of environment variables (e.g.,
process.env.UPSTASH_TOKEN) to avoid hardcoding sensitive credentials in source code.
Audit Metadata