Malicious code in app-soda-layer (npm)
app-soda-layer version 2.1.6 is a malicious npm package that acts as a credential stealer and SSH backdoor. It executes automatically on installation via a postinstall hook, harvesting Solana keypairs, configuration files, and environment secrets. The malware installs an attacker-supplied SSH public key to enable persistent remote access by opening port 22. The package was short-lived, published and unpublished within hours, and is now unavailable from the npm registry. Hosts that installed this package should be considered compromised and require secret rotation and forensic checks.
AI Analysis
Technical Summary
The npm package app-soda-layer 2.1.6 contains a malicious postinstall script (test.js) that runs automatically on npm install. It harvests sensitive files such as Solana keypairs (id.json), config.toml, and .env files from the host system and exfiltrates them to attacker-controlled HTTP endpoints. It also fetches an SSH public key from the attacker infrastructure and appends it to the user's ~/.ssh/authorized_keys file, changes ownership, and enables firewall rules to allow SSH access on port 22. The malware recursively scans the home directory or all logical drives on Windows for files matching attacker-supplied patterns, uploading any matches. The package was created specifically for this attack, published and unpublished within about 2.5 hours, and is no longer available on npm. The attack infrastructure and code reuse link it to a previously documented toolkit used in a February 2026 GitHub compromise. Indicators include the injected SSH key (ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFYMx8MqdYTD/aZjqxmXo+9460+9EvsSjfiy9YAU+xwY) and specific API endpoints used for command and control.
Potential Impact
Any system that installed app-soda-layer 2.1.6 is compromised. Sensitive credentials including Solana keypairs, configuration files, and environment secrets may have been exfiltrated to attacker servers. The attacker gains persistent remote access via an injected SSH public key and open port 22 firewall rule, allowing ongoing unauthorized access. This compromises confidentiality, integrity, and potentially availability of the affected host and any connected infrastructure relying on the stolen credentials.
Mitigation Recommendations
The package was unpublished shortly after release and is no longer available from npm. Hosts that installed version 2.1.6 should be treated as compromised. Immediate actions include checking ~/.ssh/authorized_keys for the known malicious SSH key (ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFYMx8MqdYTD/aZjqxmXo+9460+9EvsSjfiy9YAU+xwY) and removing it, verifying firewall rules for unexpected port 22 openings, and rotating all Solana keypairs, SSH keys, and secrets stored in .env files or other configuration files. Conduct a thorough forensic investigation to identify any further persistence or lateral movement. Since this is a malicious package rather than a vulnerability in legitimate software, no patch exists; remediation is incident response and secret rotation.
Malicious code in app-soda-layer (npm)
Description
app-soda-layer version 2.1.6 is a malicious npm package that acts as a credential stealer and SSH backdoor. It executes automatically on installation via a postinstall hook, harvesting Solana keypairs, configuration files, and environment secrets. The malware installs an attacker-supplied SSH public key to enable persistent remote access by opening port 22. The package was short-lived, published and unpublished within hours, and is now unavailable from the npm registry. Hosts that installed this package should be considered compromised and require secret rotation and forensic checks.
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 npm package app-soda-layer 2.1.6 contains a malicious postinstall script (test.js) that runs automatically on npm install. It harvests sensitive files such as Solana keypairs (id.json), config.toml, and .env files from the host system and exfiltrates them to attacker-controlled HTTP endpoints. It also fetches an SSH public key from the attacker infrastructure and appends it to the user's ~/.ssh/authorized_keys file, changes ownership, and enables firewall rules to allow SSH access on port 22. The malware recursively scans the home directory or all logical drives on Windows for files matching attacker-supplied patterns, uploading any matches. The package was created specifically for this attack, published and unpublished within about 2.5 hours, and is no longer available on npm. The attack infrastructure and code reuse link it to a previously documented toolkit used in a February 2026 GitHub compromise. Indicators include the injected SSH key (ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFYMx8MqdYTD/aZjqxmXo+9460+9EvsSjfiy9YAU+xwY) and specific API endpoints used for command and control.
Potential Impact
Any system that installed app-soda-layer 2.1.6 is compromised. Sensitive credentials including Solana keypairs, configuration files, and environment secrets may have been exfiltrated to attacker servers. The attacker gains persistent remote access via an injected SSH public key and open port 22 firewall rule, allowing ongoing unauthorized access. This compromises confidentiality, integrity, and potentially availability of the affected host and any connected infrastructure relying on the stolen credentials.
Mitigation Recommendations
The package was unpublished shortly after release and is no longer available from npm. Hosts that installed version 2.1.6 should be treated as compromised. Immediate actions include checking ~/.ssh/authorized_keys for the known malicious SSH key (ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFYMx8MqdYTD/aZjqxmXo+9460+9EvsSjfiy9YAU+xwY) and removing it, verifying firewall rules for unexpected port 22 openings, and rotating all Solana keypairs, SSH keys, and secrets stored in .env files or other configuration files. Conduct a thorough forensic investigation to identify any further persistence or lateral movement. Since this is a malicious package rather than a vulnerability in legitimate software, no patch exists; remediation is incident response and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-11128
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cfabbf8831d5391b16e5
Added to database: 08/06/2026, 18:17:15 UTC
Last enriched: 08/06/2026, 19:17:56 UTC
Last updated: 08/06/2026, 19:17:56 UTC
Views: 2
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.
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.