Malicious code in abina-amugi-anuhuai (npm)
The npm package abina-amugi-anuhuai contains malicious code designed to automatically generate and republish derivative packages with randomized names to inflate tea protocol token rewards. The payload modifies package.json, removes private flags, and continuously pollutes the npm registry with variants.
- Disclosed
- Last updated
- Blast radius
- Registry pollution and reputation score manipulation; direct impact limited to developers who installed this specific package.
- Ecosystems
- Attack vectors
- Affected entities
- abina-amugi-anuhuainpm package containing malicious autopublish scripts
The npm package abina-amugi-anuhuai was identified as containing malicious code as part of a broader campaign associated with the tea.xyz token reward initiative. The package includes autopublish scripts (auto.js, autopublish.js, autopublish2.js, autopublish3.js) that execute automatically upon installation.
The malicious payload modifies package.json to remove private flags and alter version numbers, then generates derivative packages with randomized Indonesian-themed and English-themed names. These variants are continuously republished to the npm registry, creating registry pollution and artificially inflating developer reputation scores tied to tea protocol token rewards.
This incident was identified and credited to the OpenSSF's malicious-packages repository, which tracks such supply chain attacks. The attack vector is a compromised package that leverages npm's publishing mechanism to distribute malicious autopublish behavior.
Indicators of compromise
- Packages
- abina-amugi-anuhuai
Remediation
- Remove abina-amugi-anuhuai and any derivative packages from your dependencies immediately
- Audit your npm package.json and lock files for any unexpected or unfamiliar packages, particularly those with randomized or unusual names
- Review your npm account activity and publishing history for unauthorized package publications
- Consider using npm audit and supply chain security tools to detect similar malicious packages
- Report any suspicious packages to npm security team at security@npmjs.com
Sources
- GitHub Advisory GHSA-3rwx-vg7c-585q · GitHub Advisory Database
Cite this entry
"Malicious code in abina-amugi-anuhuai (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 14, 2026; last updated August 14, 2026. https://supplychainattack.org/incident/malicious-code-in-abina-amugi-anuhuai-npm-mejrgp
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- containedcritical
Malicious code in 3-buildsight-web (npm)
The npm package 3-buildsight-web contains malicious code that fetches and executes arbitrary JavaScript from a remote Bitbucket URL on module load, granting full page privileges to an unverified third party.
npmCompromised package - resolvedcritical
Malicious code in @usaa-grp-personal-profile/personal-profile-common (npm)
Malicious package @usaa-grp-personal-profile/personal-profile-common version 999.0.0 published to public npm as a dependency-confusion attack targeting an organization's internal registry. The package contains preinstall and postinstall hooks that exfiltrate hostname, username, and working directory to an attacker-controlled OAST endpoint on every install.
npmDependency confusionCompromised package - resolvedcritical
Malicious code in create-coin (npm)
create-coin@20.1.1 on npm contained malicious postinstall code that collected sensitive environment variables, credentials, and host reconnaissance data. The package impersonated an esbuild platform build and exfiltrated data to a hardcoded endpoint.
npmCompromised packageTyposquatting - resolvedcritical
Malicious code in @syncraft-labs/vue (npm)
The npm package @syncraft-labs/vue version 0.4.1 contained malicious obfuscated code in its ESM build that implements a blockchain-hosted C2 dropper (EtherHiding pattern), enabling remote code execution on any consumer importing the package.
npmCompromised package