@arv-bedrock/auth-admin
SDK for authentication of bedrock services
This report shows the evidence for @arv-bedrock/auth-admin@1.0.3. 2 of 2 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe preinstall chain is unrelated to the advertised SDK and executes an obfuscated, remotely extensible credential-harvesting payload without user consent.
Decision evidence
public snapshot- package.json invokes setup.mjs during preinstall.
- setup.mjs downloads Bun from github.com and executes math_init.js at install time.
- math_init.js is heavily obfuscated and dynamically evaluates fetched response content.
- math_init.js contains credential-token handling, including npm and GitHub token paths.
- The installed SDK is small; the unrelated hidden installer payload dominates risk.
- lib/cjs/auth.js implements the advertised, user-invoked authentication API.
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 · 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-admin@1.0.3.
The versions list below shows the verdict for each recorded version.
- Avoid installing @arv-bedrock/auth-admin@1.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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.