@grantjs/server@1.18.3
Server SDK for Grant authorization - Middleware and guards for Express, Fastify, NestJS, and Next.js
AI Security Review
scanned 11d ago · by lpm-firewall-aiSource inspection found no install-time behavior or concrete attack. Credential forwarding is part of the caller-configured Grant API permission check, and the inspected environment variable only enables debug logging.
Decision evidence
public snapshot- package.json points consumers to the bundled runtime and declares no lifecycle hooks.
- The inspected @grantjs/schema dependency has no install scripts and exports schema and type modules.
- The runtime exports GrantClient, which sends permission checks to the configured Grant API URL and forwards the incoming request token or cookie for that check.
- Framework middleware invokes that permission check for a request; debug logging is gated by DEBUG_GRANT=1.
Source & flagged code
8 flaggedpackage.json points consumers to the bundled runtime and declares no lifecycle hooks.
package.jsonView on unpkg · L5The inspected @grantjs/schema dependency has no install scripts and exports schema and type modules.
.lpm-dependency-evidence-2d98e696-3b22-48ae-92ed-47f706d46cce/0/npm-linux/package.jsonView on unpkg · L1Findings
Affected versions and remediation
This report applies to @grantjs/server@1.18.3.
See all versions of @grantjs/server for other recorded verdicts.
- Review the evidence and your use of @grantjs/server@1.18.3 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.