@grantjs/server@1.20.2
Server SDK for Grant authorization - Middleware and guards for Express, Fastify, NestJS, and Next.js
AI Security Review
scanned 6d ago · by lpm-firewall-aiThe inspected entry points and client behavior match the package’s stated purpose as a server-side authorization SDK. Environment access is limited to the opt-in DEBUG_GRANT logging switch, and the manifest shows no install lifecycle hook.
Decision evidence
public snapshot- The manifest describes an authorization middleware SDK and exposes its library entry points.
- The package has build, lint, and test scripts, with no install lifecycle script shown.
- The main entry point only imports and exports the client, token helpers, and error classes.
- Network requests are made for an explicit authorization check to the configured apiUrl, with permission data in the request body.
- The DEBUG_GRANT environment variable only enables optional debug logging.
Source & flagged code
6 flaggedThe manifest describes an authorization middleware SDK and exposes its library entry points.
package.jsonView on unpkg · L1The package has build, lint, and test scripts, with no install lifecycle script shown.
package.jsonView on unpkg · L100Findings
Affected versions and remediation
This report applies to @grantjs/server@1.20.2.
See all versions of @grantjs/server for other recorded verdicts.
- Review the evidence and your use of @grantjs/server@1.20.2 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.