@grantjs/server@1.23.1
Server SDK for Grant authorization - Middleware and guards for Express, Fastify, NestJS, and Next.js
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe inspected entry points and flagged Nest bundle implement a server authorization SDK: they extract request credentials and send permission checks to the configured Grant API. No install hooks, unrelated data collection, or concealed attack behavior was identified.
Decision evidence
public snapshot- The npm scripts are build, lint, type-check, and test commands; there are no lifecycle hooks.
- The Nest module creates its client only when the application calls forRoot(config).
- The Nest guard checks the request token and configured permission before requesting authorization.
- The client posts the permission check to /api/auth/is-authorized and sends the request token to the configured apiUrl.
- The only environment variable read is DEBUG_GRANT, which enables debug logging.
Source & flagged code
7 flaggedSource fingerprint signature matches a known malicious package signature; route for source-aware review.
dist/nest.cjsView on unpkgThe Nest guard checks the request token and configured permission before requesting authorization.
dist/nest.cjsView on unpkg · L112Findings
Affected versions and remediation
This report applies to @grantjs/server@1.23.1.
See all versions of @grantjs/server for other recorded verdicts.
- Review the evidence and your use of @grantjs/server@1.23.1 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.