auth0-templates-scripts-utils
This report shows the evidence for auth0-templates-scripts-utils@1.0.5. 2 of 2 known versions are blocked or flagged. See all versions.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-4490 confirms this npm version as malicious.
Advisory
MAL-2026-4490
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in auth0-templates-scripts-utils (npm)
Details
Package name impersonates the Auth0 ecosystem. Its postinstall hook (`node index.js`) runs unconditionally on `npm install` and performs a multi-stage data theft against the installer: (1) collects hostname, username, architecture, cwd, local IPs, /etc/resolv.conf,.git HEAD, UID/GID, the host project's package.json (name/version/repo) by walking parent directories, local and home `.npmrc` registry/scope settings, ~40 CI/CD environment variables (GITHUB_*, GITLAB_*, BITBUCKET_*, AWS CodeBuild, Vercel, etc.), and presence flags for ~/.ssh, ~/.aws, ~/.kube, ~/.docker, ~/.npm, ~/.gitconfig, ~/.cargo, ~/.ngrok; (2) when running in cloud, queries the instance metadata service at decimal-encoded 169.254.169.254 (`2852039166`) to extract live AWS IMDSv2 STS tokens, Azure IMDS OAuth tokens, and GCP service-account access tokens, including a 40-character prefix of each token in the payload; (3) DNS-probes ~30 internal-only hostnames (kubernetes.default.svc.cluster.local, vault.internal, consul.service.consul, gitlab.internal, jenkins.internal, ec2.internal, azure.internal, rancher.internal, etc.) to map the victim's internal infrastructure for lateral movement. The exfiltration destination `dep-update-ci-02.lapxa354.workers.dev` is base64-cloaked (`Buffer.from("ZGVwLXVwZGF0ZS1jaS0wMi5sYXB4YTM1NC53b3JrZXJzLmRldg==","base64").toString()`) and the data is sent in fragmented chunks via `https.get` with a 60-second delay as evasion. Code at index.js trims its own `-utils` suffix to derive an inferred host-project name and reports the host project rather than itself, confirming intent as a supply-chain delivery vehicle. User-Agent is `MalekAbuLialaResearch/1.0`.
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 auth0-templates-scripts-utils@1.0.5.
The same advisory and Firewall decision cover 2 recorded versions
1.0.4, 1.0.5
The versions list below shows the verdict for each recorded version.
- Avoid installing auth0-templates-scripts-utils@1.0.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.