@cursor/sdk@1.0.38
TypeScript SDK for Cursor agents.
AI Security Review
scanned 19d ago · by lpm-firewall-aiThe inspected source shows local credential storage and API use constrained to Cursor backend configuration, with no install hook or concrete attack behavior. The scanner signals are not supported by the reviewed source.
Decision evidence
public snapshot- The manifest routes SDK imports to its runtime bundles and lists build and check scripts; it has no npm install lifecycle hook.
- The CommonJS, ESM, and bundled code validates credentials stored at ~/.cursor/sdk/auth.json.
- The credential store applies restrictive file and directory permissions when saving credentials.
- A saved API key is reused only when its stored backend URL matches the configured Cursor backend; the API client defaults to Cursor's API host.
- The highlighted workspace code parses and sanitizes Cursor project paths, while the SQLite bundles load runtime-provided SQLite drivers.
- The execution wrapper can replace successful command output with its SHA-256 digest when digest-only mode is requested.
Source & flagged code
15 flaggedThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/esm/index.jsView on unpkgSource gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
Findings
Affected versions and remediation
This report applies to @cursor/sdk@1.0.38.
See all versions of @cursor/sdk for other recorded verdicts.
- Review the evidence and your use of @cursor/sdk@1.0.38 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.