verdaccio-okta-oauth
Verdaccio authentication plugin using Okta OAuth
This report shows the evidence for verdaccio-okta-oauth@38.1.6. 16 of 30 known versions are blocked or flagged. The newest version, 40.2.2, is allowed. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiConcrete preinstall execution, downloader behavior, obfuscation, and runtime eval establish malicious install-time remote code execution.
Decision evidence
public snapshot- package.json runs setup.mjs as preinstall.
- setup.mjs executes math_init.js during installation.
- setup.mjs downloads and executes Bun from GitHub if unavailable.
- math_init.js is a 727KB heavily obfuscated executable payload.
- math_init.js imports fs, network, DNS, crypto, OS, and child_process.
- math_init.js fetches response text and passes it to eval().
- src/ and dist/ implement plausible Verdaccio/Okta OAuth flows.
- No benign source path justifies the obfuscated install-time payload.
Source & flagged code
3 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references a known benign dynamic code generation pattern.
math_init.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to verdaccio-okta-oauth@38.1.6.
The versions list below shows the verdict for each recorded version.
- Avoid installing verdaccio-okta-oauth@38.1.6. 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.