Malicious code in kalasnik-npm-simple-test (npm)
The npm package 'kalasnik-npm-simple-test' version 1.0.0 contains malicious code that executes during installation. Its postinstall script reads a local file and sends its contents over unencrypted HTTP to a remote server, indicating data exfiltration. Installation of this package compromises the host system, potentially exposing all stored secrets and keys.
AI Analysis
Technical Summary
The 'kalasnik-npm-simple-test' npm package version 1.0.0 includes a postinstall script named send_data.js that automatically runs on npm install. This script reads the file C:\temp\test.txt from the installer's filesystem and transmits its contents via plain HTTP to a hardcoded remote endpoint at IP 35.178.197.251 on port 8080. The package metadata suggests it is a proof-of-concept exfiltration tool rather than a legitimate library. Due to this behavior, any system with this package installed should be considered fully compromised.
Potential Impact
Systems that install this package are at high risk of data exfiltration, as the postinstall script sends local file contents to an attacker-controlled server. This compromises confidentiality and potentially integrity of the host system. The presence of this package indicates a full compromise, and all secrets and keys stored on the system should be considered exposed and rotated immediately.
Mitigation Recommendations
Remove the 'kalasnik-npm-simple-test' package immediately. Rotate all secrets and keys from a separate, uncompromised system. Because the package grants potential full control to an attacker, simply removing it may not fully remediate the compromise; a full system investigation and potential rebuild is recommended.
Malicious code in kalasnik-npm-simple-test (npm)
Description
The npm package 'kalasnik-npm-simple-test' version 1.0.0 contains malicious code that executes during installation. Its postinstall script reads a local file and sends its contents over unencrypted HTTP to a remote server, indicating data exfiltration. Installation of this package compromises the host system, potentially exposing all stored secrets and keys.
Affected software
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
Technical Analysis
The 'kalasnik-npm-simple-test' npm package version 1.0.0 includes a postinstall script named send_data.js that automatically runs on npm install. This script reads the file C:\temp\test.txt from the installer's filesystem and transmits its contents via plain HTTP to a hardcoded remote endpoint at IP 35.178.197.251 on port 8080. The package metadata suggests it is a proof-of-concept exfiltration tool rather than a legitimate library. Due to this behavior, any system with this package installed should be considered fully compromised.
Potential Impact
Systems that install this package are at high risk of data exfiltration, as the postinstall script sends local file contents to an attacker-controlled server. This compromises confidentiality and potentially integrity of the host system. The presence of this package indicates a full compromise, and all secrets and keys stored on the system should be considered exposed and rotated immediately.
Defensive Guidance
Remove the 'kalasnik-npm-simple-test' package immediately. Rotate all secrets and keys from a separate, uncompromised system. Because the package grants potential full control to an attacker, simply removing it may not fully remediate the compromise; a full system investigation and potential rebuild is recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17206
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-pm4h-xrhq-vh62"]
- Ecosystems
- ["npm"]
Threat ID: 6abb41a5f7a7c54106cc391b
Added to database: 09/29/2026, 04:42:13 UTC
Last enriched: 09/29/2026, 04:58:20 UTC
Last updated: 09/29/2026, 18:00:10 UTC
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.