Skip to main content

Malicious code in test2221 (npm)

0
High
Published: 07/29/2026 (07/29/2026, 06:55:50 UTC)
Source: GCVE Database
Product: test2221

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (f6113dcb20ef051691e0cc0034132b94421604bd16a085229f75aae5c612a3d9) package.json declares preinstall and postinstall lifecycle scripts that run curl against http://54.37.234.136/voicemail over plain HTTP, sending the installer's username (whoami), hostname, working directory, and a timestamp as query-string parameters. Both hooks fire automatically on `npm install`, transmitting installer host identifiers to a hardcoded bare-IP endpoint with no relation to any documented package purpose. The behavior matches reconnaissance-beacon shape suitable for follow-on targeting of the installer's host. ## Source: ossf-package-analysis (178c9841a69c4a2de3ad248f8d4dbba8f004c8e8947a34f9e6ae12404183e6e2) The OpenSSF Package Analysis project identified 'test2221' @ 2.2.4 (npm) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior.

Affected software

npmghsa
test2221
Affected versions
=2.2.4=2.2.3=2.2.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 15:37:01 UTC

Technical Analysis

The 'test2221' npm package versions 2.2.3, 2.2.4, and 2.2.6 include preinstall and postinstall scripts declared in package.json that execute curl commands to http://54.37.234.136/voicemail. These scripts transmit installer host identifiers including the username, hostname, working directory, and a timestamp as query parameters. This unauthorized data exfiltration occurs automatically during 'npm install' and is unrelated to the package's documented functionality. The behavior matches reconnaissance beacon patterns suitable for subsequent targeted attacks. The OpenSSF Package Analysis project identified this package as malicious due to execution of commands associated with malicious behavior.

Potential Impact

Installation of affected versions of the 'test2221' package results in automatic transmission of sensitive host information to a remote attacker-controlled server. This exposure of environment details can facilitate targeted follow-on attacks against the installer's system. No direct code execution or system compromise beyond data exfiltration is described in the source data.

Mitigation Recommendations

No official patch or remediation is documented for this package. Users should avoid installing the affected versions (=2.2.3, =2.2.4, =2.2.6) of 'test2221'. Review and remove the package if already installed. Monitor for suspicious network activity related to the IP address 54.37.234.136. Consider using trusted package sources and verifying package integrity before installation. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-11192
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a73572fbf8831d53913cd2a

Added to database: 08/05/2026, 15:30:55 UTC

Last enriched: 08/05/2026, 15:37:01 UTC

Last updated: 09/07/2026, 23:22:24 UTC

Views: 17

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 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