Malicious code in abih-poke7 (npm)
The npm package abih-poke7 contains malicious code designed to automatically generate and publish derivative packages with randomized names to inflate developer reputation scores for tea protocol token rewards. The payload modifies package.json, changes version numbers, and continuously republishes variants to pollute the npm registry.
- Disclosed
- Last updated
- Blast radius
- Registry-wide pollution; affects npm ecosystem integrity and developer trust
- Ecosystems
- Attack vectors
- Affected entities
- abih-poke7npm package containing malicious autopublish scripts
The npm package abih-poke7 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 (such as auto.js, autopublish.js, autopublish2.js, and autopublish3.js) designed to automatically generate and publish derivative packages with randomized names.
The malicious payload modifies package.json to remove private flags and changes version numbers, then generates random Indonesian-themed package names (with some English variants) and continuously republishes these variants to the npm registry. This behavior is intended to artificially inflate developer reputation scores for tea protocol token rewards.
This incident is part of a larger pattern of malicious packages that flooded the npm registry as part of the tea.xyz campaign. The package was identified and credited to the OpenSSF's malicious-packages repository (MAL-2025-151332).
Developers who installed this package should immediately remove it and audit their npm accounts and published packages for unauthorized activity.
Indicators of compromise
- Packages
- abih-poke7
Remediation
- Remove abih-poke7 and any derivative packages from your project dependencies
- Audit npm account for unauthorized package publications
- Review package.json and lock files for unexpected changes
- Monitor npm account activity for suspicious autopublish behavior
- Report any derivative packages generated by this malicious code to npm security
- Consider rotating npm authentication tokens if the account was compromised
Sources
- GitHub Advisory GHSA-8rjw-8wm9-f5xf · GitHub Advisory Database
Cite this entry
"Malicious code in abih-poke7 (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 14, 2026; last updated August 14, 2026. https://supplychainattack.org/incident/malicious-code-in-abih-poke7-npm-fftdb4
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 pfp-forms-sme-loan (npm)
The npm package pfp-forms-sme-loan contains malicious code that executes a hidden loader on import, downloading and running platform-specific native payloads from attacker-controlled Cloudflare Workers hosts or reconstructing them via DNS TXT records under well1.site. Any system that imported this package should be considered compromised.
npmCompromised packageMalicious commit - resolvedcritical
Malicious code in @velliajs/discord (npm)
@velliajs/discord, a malicious npm package masquerading as a discord.js clone, contained two hostile mechanisms: an unpinned private git dependency with embedded GitHub PAT enabling arbitrary code injection on install, and a hidden runtime kill-switch that gates bot functionality based on a remote allow-list. Two live GitHub Personal Access Tokens were hardcoded in the package.
npmCompromised packageMalicious commit - containedcritical
Malicious code in akamaijs-sensor (npm)
The npm package akamaijs-sensor contained malicious code that executed arbitrary JavaScript via hidden Unicode-encoded bytes and established a command-and-control channel through a Google Calendar dead-drop. The package was designed to run attacker-authored code in the consumer's Node process when the sensor() API was called.
npmCompromised packageMalicious commit - resolvedcritical
Malicious code in twilio-hackerone-poc-afe6937c (npm)
The npm package twilio-hackerone-poc-afe6937c contained malicious preinstall/postinstall scripts that exfiltrate host metadata and environment variables to an external webhook, spawn a persistent daemon process, and attempt cross-tenant code injection in shared environments.
npmCompromised packageMalicious commit