Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

IndonesianFoods Spam Campaign: 89 000 junk packages in npm

0
Medium
Vulnerability
Published: Thu Mar 19 2026 (03/19/2026, 05:48:33 UTC)
Source: Kaspersky Security Blog

Description

The IndonesianFoods campaign is a large-scale spam attack on the npm registry involving approximately 86,000 junk packages named after Indonesian dishes. These packages appear legitimate with valid configurations and documentation but serve no useful function other than injecting redundant dependencies into projects. Some packages contain self-replication mechanisms that publish new junk packages using compromised credentials, while others exploit the TEA blockchain platform to fraudulently earn tokens. Although no direct malware or data breach has been observed, the campaign clutters development environments, wastes resources, and risks reputational damage. There is also concern that these packages could be weaponized in future supply chain attacks. The campaign persisted for nearly two years due to effective camouflage. Mitigation requires developer awareness, strict dependency vetting, and container security solutions. Countries with significant npm usage and active open-source ecosystems are most at risk.

AI-Powered Analysis

AILast updated: 03/19/2026, 05:55:32 UTC

Technical Analysis

In November 2025, the npm ecosystem was targeted by the IndonesianFoods spam campaign, which flooded the npm registry with roughly 86,000 junk packages named after Indonesian culinary terms such as bakso, sate, and rendang. These packages were crafted to look legitimate, featuring standard structures, valid configuration files, and well-formatted documentation, allowing them to evade detection and persist for nearly two years. The primary purpose of these packages was to inject unnecessary dependencies into projects, cluttering the development environment and potentially causing performance degradation. A subset of these packages included self-replication mechanisms that, once installed, would autonomously create and publish new packages every seven seconds using the victim’s credentials, thereby expanding the spam network. Additionally, some packages integrated with the TEA blockchain platform, which rewards open-source contributions with tokens. By artificially inflating usage metrics through a web of dependencies and self-replication, attackers earned TEA tokens without providing genuine contributions. While no direct malware or exploits have been reported, the campaign poses risks including resource waste, reputational damage from packages published under compromised accounts, and the potential for future supply chain attacks if malicious functionality is introduced later. The campaign’s scale and stealth highlight vulnerabilities in the npm ecosystem’s package vetting and dependency management processes. The attackers’ motivations appear twofold: financial gain via the TEA protocol and possibly testing a new malware delivery method for future use. The incident underscores the importance of rigorous dependency auditing and developer education to prevent accidental inclusion of malicious or junk packages.

Potential Impact

The IndonesianFoods campaign primarily impacts software development organizations relying on npm packages by cluttering their projects with redundant and unnecessary dependencies. This bloat can degrade build performance, increase maintenance overhead, and complicate dependency management. Organizations risk reputational harm if junk packages are published under their credentials due to compromised accounts. Although no immediate malware or data breaches have been linked to this campaign, the presence of self-replicating packages and integration with blockchain reward systems indicates potential for financial fraud and future escalation into supply chain attacks. If malicious functionality is introduced in updates, affected projects and their users could face severe security breaches, including data compromise or system disruption. The campaign also stresses the npm ecosystem’s trust model, potentially undermining confidence in open-source package integrity. Enterprises with large-scale or automated dependency inclusion processes are particularly vulnerable to accidental infection. Overall, the campaign highlights systemic risks in software supply chains and the need for enhanced security controls in package management.

Mitigation Recommendations

To mitigate risks from the IndonesianFoods campaign, organizations should implement strict dependency management policies, including: 1) Enforce use of curated internal package registries or proxies that vet packages before inclusion. 2) Employ automated tools to scan and analyze package metadata, dependencies, and behavior for anomalies or suspicious patterns, focusing on unusual dependency chains and self-replication indicators. 3) Integrate container and build environment security solutions that monitor third-party dependencies and runtime behavior to detect and block unauthorized package publishing or execution. 4) Conduct regular security awareness training for developers emphasizing the risks of typosquatting, dependency confusion, and the importance of verifying package provenance. 5) Use package integrity verification methods such as checksums and signed packages to ensure authenticity. 6) Monitor npm accounts and credentials for unauthorized activity to prevent abuse in publishing. 7) Limit automated dependency updates and require manual review for new or unknown packages. 8) Collaborate with npm and security communities to report suspicious packages and improve ecosystem-wide detection. These targeted measures go beyond generic advice by focusing on proactive detection, credential protection, and developer education tailored to the unique tactics observed in this campaign.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Article Source
{"url":"https://www.kaspersky.com/blog/indonesianfoods-npm-spam-campaign/55453/","fetched":true,"fetchedAt":"2026-03-19T05:55:19.214Z","wordCount":1345}

Threat ID: 69bb8fc7e32a4fbe5f94a83a

Added to database: 3/19/2026, 5:55:19 AM

Last enriched: 3/19/2026, 5:55:32 AM

Last updated: 3/19/2026, 7:17:29 AM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses