npm · Malicious package advisory
Malwareaugustdigital-sdk
GHSA-pfx4-g5xh-hpf6
Malicious code in augustdigital-sdk (npm)
Details
**Severity:** Critical **Affected versions:** `> 0` augustdigital-sdk is a malicious npm package — an unscoped brand-hijack of the legitimate, actively-maintained scoped package `@augustdigital/sdk`. Version 8.20.1 was copied verbatim from the genuine `@augustdigital/[email protected]` release (published ~2 hours earlier) to masquerade as a legitimate mirror or re-release. It is one of three packages — with `augustdigital-sdk`, `upshift-finance` and `upshift-config` — published as first-ever releases from the sole freemail npm account `awugochogabriel` ([email protected]) within ~20 seconds of each other on 2026-08-10, an account with no relationship to August Digital's real corporate maintainers. The package body is a byte-identical repack of the genuine SDK (316 files; the shipped README even instructs users to `npm install @augustdigital/sdk`) with a single unconditional `postinstall` hook grafted onto the manifest. On `npm install` the hook runs an inline `node -e` script that issues an HTTPS GET to `https://build-metrics-collector.cdn-ops-health.workers.dev/npm-install/` carrying `os.hostname()`, `os.userInfo().username`, `process.cwd()`, the package name/version and an ISO timestamp, wrapped in try/catch so failures are silent. The endpoint is a Cloudflare Workers subdomain deliberately named to impersonate build/CDN health infrastructure and is disclosed nowhere in the README, package.json or LICENSE, with no opt-out. Analysis of the bundled `lib/` found only legitimate chain RPC/explorer endpoints and no second stage or credential-reading code; the injected postinstall beacon is the sole malicious behavior. Hosts that installed it have leaked their hostname, username and working-directory path to the attacker and should treat that data as disclosed. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/ff6eb4ff2a46a08aa5fa40d31d238360110caaca/osv/malicious/npm/augustdigital-sdk/MAL-2026-13774.json)) **References:** - https://github.com/ossf/malicious-packages/blob/ff6eb4ff2a46a08aa5fa40d31d238360110caaca/osv/malicious/npm/augustdigital-sdk/MAL-2026-13774.json - https://github.com/ossf/malicious-packages/blob/b33600c98c614ac591d9e3949e4ec5bfbae4052f/osv/malicious/npm/augustdigital-sdk/MAL-2026-13774.json - https://www.npmjs.com/package/augustdigital-sdk/v/8.20.1 - https://github.com/advisories/GHSA-pfx4-g5xh-hpf6
Compromised versions (1)
- > 0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.