@cursor/sdk@1.0.37
TypeScript SDK for Cursor agents.
AI Security Review
scanned 28d ago · by lpm-firewall-aiThe default credential destination is package-aligned, but CURSOR_BACKEND_URL can redirect the exchange without an inspected destination restriction. This is a conditional credential-exposure risk, so it warrants a warning rather than a block.
Decision evidence
public snapshot- The manifest points to bundled and ESM/CJS SDK entrypoints and declares no npm lifecycle hooks.
- The SDK reads credentials from CURSOR_API_KEY or the stored .cursor/sdk/auth.json file.
- The telemetry client passes the API key to an access-token exchange using CURSOR_BACKEND_URL when set, with api2.cursor.sh as the default.
- The inspected agent integration excerpts show credential-store and project-path handling; they do not establish a separate agent configuration attack.
- The manifest identifies the package as Cursor’s SDK and points its repository to github.com/cursor/cursor.
- The default credential-exchange host is api2.cursor.sh, a Cursor host.
Source & flagged code
15 flaggedA single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/esm/index.jsView on unpkg · L1Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/esm/index.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to @cursor/sdk@1.0.37.
See all versions of @cursor/sdk for other recorded verdicts.
- Review the evidence and your use of @cursor/sdk@1.0.37 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.