OpenSourceMalware Urges npm to Block Token-Farming Package Campaigns

· Original article ↗

Summary

OpenSourceMalware reports 159,896 npm packages across IndonesianFoods and tea[.]xyz token-farming campaigns; at least 38,700 remain live. It urges npm to curb abuse with account limits, wallet and dependency checks, similarity detection, and network-level enforcement.

Key points

  • OpenSourceMalware reports 156,215 IndonesianFoods packages and 3,681 associated with a tea[.]xyz campaign; at least 38,700 packages from the campaigns remain live on npm.
  • The article says IndonesianFoods packages pose as Next.js apps and publish new packages about every seven seconds, while campaign packages use circular dependencies and tea.yaml files to inflate tea protocol impact scores.
  • The author says the packages are intended to farm cryptocurrency rewards, not steal credentials or deploy remote-access trojans; they are categorized as low severity.
  • The campaigns account for 159,896 of 238,838 npm threat records in OpenSourceMalware's database, according to the article.
  • The proposed defenses include limiting new accounts' publishing, detecting repeated tea.yaml wallet addresses, blocking dependencies on confirmed abuse packages, identifying near-identical packages, and suspending connected publishing networks.
  • The article says tea stopped rewards for these campaigns and redesigned its system, but the packages remain on npm.

Article Details

Defense Focus
Detect and prevent coordinated npm package publishing used to farm tea protocol rewards, focusing on registry abuse rather than malware behavior.
Detection Methods
  • Identify repetitive package names, shared configuration files, and recurring dependency patterns, including circular dependencies.
  • Correlate repeated wallet addresses in tea.yaml files, package metadata, and linked source repositories.
  • Compare normalized package code fingerprints to find near-identical packages that differ only in names, versions, or metadata.
  • Apply rate-based anomaly detection to identify accounts publishing unusually large numbers of packages in short periods.
  • Correlate publishing timestamps, authentication history, token usage, code similarity, dependencies, and wallet addresses to identify connected publishing networks.
Data Sources
  • npm package names, contents, configuration files, metadata, dependency relationships, and publishing history
  • tea.yaml wallet addresses and linked source repositories
  • Package code fingerprints
  • Publishing timestamps, authentication history, and token usage
Platforms
  • npm
  • GitHub
Defensive Actions
  • Limit new accounts' package-name publishing during their first week, with higher limits for verified or established publishers and shared limits for coordinated accounts.
  • Flag packages that reuse wallet addresses across tea.yaml files, metadata, or linked repositories.
  • Block or quarantine new publications that depend on confirmed abuse packages, and remove packages at the center of dependency networks.
  • Compare normalized code fingerprints and suspend accounts pending review when they publish large numbers of near-identical packages.
  • Correlate publishing and account signals to identify and suspend whole publishing networks rather than only individual accounts.
  • Use publish-time scanning and registry-level abuse controls to catch or prevent abusive packages before publication.

Vendors

Products

Industries

Related Articles