@arv-bedrock/auth-sso
This report shows the evidence for @arv-bedrock/auth-sso@1.6.1, the only known version.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe preinstall hook deliberately bootstraps and executes a large obfuscated payload with credential-token handling and remote evaluated code. This is concrete malicious install-time behavior, not required by the package’s documented browser auth functionality.
Decision evidence
public snapshot- package.json runs setup.mjs during preinstall.
- setup.mjs downloads Bun from GitHub and executes math_init.js at install time.
- math_init.js is a 727KB obfuscated payload unrelated to the auth library.
- math_init.js contains credential-token handling (ghtoken/ghs_jwt) and child_process use.
- math_init.js fetches data and passes returned content to eval().
- dist/cjs contains a conventional browser-side Bedrock authentication client.
- README.md describes the published auth API, but not the install payload.
Source & flagged code
4 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 · L1Manifest entrypoint contains risky behavior absent from dist/build output.
setup.mjsView on unpkg · L1Source file is highly similar to a previously finalized malicious package; route for source-aware review.
setup.mjsView on unpkgFindings
Affected versions and remediation
This report applies to @arv-bedrock/auth-sso@1.6.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing @arv-bedrock/auth-sso@1.6.1. 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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.