Skip to main content
MalwarePublished

aws-sdk-v4 (npm) · Malicious Code

Affects aws-sdk-v4Source GCVE Database

0

Malicious package : remove aws-sdk-v4 and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 22:03 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-13218

What to do

Remove aws-sdk-v4 from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmaws-sdk-v4Affected
  • =3.650.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package aws-sdk-v4 impersonates the legitimate @aws-sdk/client-s3 package and contains malicious code that exfiltrates environment information and system details to an attacker-controlled Telegram bot. On first import, it collects sensitive environment variables including potential secrets and sends them encoded to a hardcoded Telegram chat. The package also exposes unrelated wallet functions, indicating deceptive intent. This affects version 3.650.0 of aws-sdk-v4.

References

Community reviews

Loading reviews…