prismic@1.21.0
Prismic's official command line tool
AI Security Review
scanned 1mo ago · by lpm-firewall-aiSource establishes conditional forwarding of an existing service credential to an unrestricted configured host. This warrants a warning for dangerous capability, without sufficient evidence of malicious intent to block publication.
Decision evidence
public snapshot- package.json activates dist/index.mjs as the Prismic CLI.
- Authentication reads saved credentials and independently overrides their host with PRISMIC_HOST, without binding the saved token to its original destination.
- Token refresh sends the token in a query parameter to an authentication host derived from the configured host; the request helper performs fetch.
- CLI startup schedules token refresh for missing or near-term expiration and conditionally requests the user profile with the token as a Bearer credential.
- The refresh subprocess invokes the same authentication refresh function.
- No registry-install lifecycle hook or runtime self-dependency appears in package.json.
- The default destination is prismic.io; exposure requires a configured host override.
- No hidden package-controlled unrelated recipient or deliberate credential theft was established.
Source & flagged code
4 flaggedPackage name is suspiciously similar to a popular package name.
package.jsonView on unpkgPackage source references dynamic require/import behavior.
dist/adapters-BAbISLsD.mjsView on unpkg · L188Findings
Affected versions and remediation
This report applies to prismic@1.21.0.
See all versions of prismic for other recorded verdicts.
- Review the evidence and your use of prismic@1.21.0 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.