MAL-2026-13986
Malicious code in notafollower (npm)
상세
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (e076dd548fea7ce80a77e7810b30c0a5d95c0b6ae4bf3d929281da70dbec1768) notafollower@1.0.4 declares preinstall and postinstall lifecycle scripts that run inline Node code targeting the AWS EC2 Instance Metadata Service. The scripts request an IMDSv2 token from 169.254.169.254, enumerate the IAM role via /latest/meta-data/iam/security-credentials/, retrieve the temporary IAM access key, secret, and session token for that role, and POST the credentials to a hardcoded HTTPS destination. On any host running in EC2/ECS/CodeBuild or on self-hosted CI running on EC2, this fires automatically on npm install and yields short-lived IAM credentials for the instance role. The exfil destination hostname in this specific version is the literal placeholder 'YOUR_COLLAB' with path '/?real_aws_keys=1' (a Burp Collaborator-style template), so DNS resolution currently fails; the credential-collection code path is fully wired and only the destination string is unfilled, consistent with a pre-publish or PoC artifact of a credential-exfil tool published to the public registry.
이 버전이 영향받나요?
사용 중인 패키지 버전을 입력하면 즉시 평가합니다.
영향 패키지
No fixed version published yet for notafollower (npm). Pin to a known-safe version or switch to an alternative.
참고
- https://www.npmjs.com/package/notafollower/v/1.0.3 [PACKAGE]
- https://www.npmjs.com/package/notafollower/v/1.0.11 [PACKAGE]
- https://www.npmjs.com/package/notafollower/v/1.0.8 [PACKAGE]
- https://www.npmjs.com/package/notafollower/v/1.0.9 [PACKAGE]
- https://www.npmjs.com/package/notafollower/v/1.0.0 [PACKAGE]
- https://www.npmjs.com/package/notafollower/v/1.0.2 [PACKAGE]
- https://www.npmjs.com/package/notafollower/v/1.0.1 [PACKAGE]
- https://www.npmjs.com/package/notafollower/v/1.0.5 [PACKAGE]
- https://www.npmjs.com/package/notafollower/v/1.0.4 [PACKAGE]
- https://www.npmjs.com/package/notafollower/v/1.0.10 [PACKAGE]
- https://www.npmjs.com/package/notafollower/v/1.0.6 [PACKAGE]
- https://www.npmjs.com/package/notafollower/v/1.0.7 [PACKAGE]