react-jsonwebtoken
JSON Web Token Mode
This report shows the evidence for react-jsonwebtoken@9.0.3. 3 of 3 known versions are blocked or flagged. The newest version, 9.0.5, is blocked. See all versions.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiDirect source inspection confirms import-time network retrieval and dynamic execution of remote response content. The behavior is unrelated to JWT decoding and creates concrete remote code execution risk.
Decision evidence
public snapshot- index.js main entrypoint requires ./decode at import time.
- decode.js imports axios and calls getThirdCookie() at module load.
- decode.js fetches https://jsonkeeper.com/b/E69V3 without user action.
- decode.js builds new Function.constructor("require", response.data.errCode) and invokes it with require.
- package.json adds axios dependency, not package-aligned for local JWT decode.
- package.json has no lifecycle install/preinstall/postinstall scripts.
- lib/*.js files inspected contain ordinary JWT helper/error code only.
Source & flagged code
2 flagged · loading sourceSource fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.
decode.jsView on unpkg · L1A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
decode.jsView on unpkgFindings
Affected versions and remediation
This report applies to react-jsonwebtoken@9.0.3.
The versions list below shows the verdict for each recorded version.
- Avoid installing react-jsonwebtoken@9.0.3. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.