@grantjs/server@1.18.9
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 manifest and entry points match a server authorization SDK, with no install hook or import-time action identified. Network traffic is tied to an explicit authorization call and the configured API URL; the environment variable only enables development logging.
Decision evidence
public snapshot- The manifest identifies this as a server authorization SDK and points its exports to the dist entry points.
- The package scripts are build, type-check, lint, and test commands; no install lifecycle scripts are declared.
- The main entry point only imports and exports the Grant client, token helpers, and errors.
- Authorization requests POST permission and resource context to the Grant API path using the configured apiUrl; request credentials are attached for that request.
- DEBUG_GRANT only enables console logging of authorization resource, action, outcome, and denial reason.
- The client can transmit request-derived bearer tokens and cookies when authorization middleware invokes it, as expected for an authorization SDK.
- The environment variable DEBUG_GRANT controls development logging. It does not enable network transmission.
Source & flagged code
6 flaggedThe manifest identifies this as a server authorization SDK and points its exports to the dist entry points.
package.jsonView on unpkg · L2The package scripts are build, type-check, lint, and test commands; no install lifecycle scripts are declared.
package.jsonView on unpkg · L100Findings
Affected versions and remediation
This report applies to @grantjs/server@1.18.9.
See all versions of @grantjs/server for other recorded verdicts.
- Review the evidence and your use of @grantjs/server@1.18.9 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.