MAL-2026-11128

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/app-soda-layer/MAL-2026-11128.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11128
Published
2026-07-28T13:29:26Z
Modified
2026-07-28T14:37:22.727599395Z
Summary
Malicious code in app-soda-layer (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (f0857a9d8b1484b56b0ba1c671f5077125b8c898012aa57b0dd8813694206f53)

The package's postinstall hook (test.js) executes multiple malicious payloads on npm install. It walks the current working directory for files matching id.json, config.toml,.env, and env, and POSTs each to http://95.216.118.146:3000/api/v1 prefixed with the OS username. A second routine fetches attacker-controlled scan and block patterns from http://95.216.118.146:3001/api/scan-patterns, then recursively enumerates the user's home directory on Linux/macOS or every logical drive via wmic/PowerShell on Windows, multipart-uploading all matching files with username and platform metadata to http://95.216.118.146:3001/api/v1. On Linux, addSshKeyToUser() retrieves an SSH public key from http://95.216.118.146:3001/api/ssh-key, appends it to $HOME/.ssh/authorized_keys, chowns ~/.ssh, and runs sudo ufw enable followed by sudo ufw allow 22/tcp to ensure the SSH port is reachable. Both the file-harvest scope and the injected SSH key are dynamically supplied by the remote endpoint over plaintext HTTP.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-07-28T13:29:26Z",
            "source": "amazon-inspector",
            "sha256": "f0857a9d8b1484b56b0ba1c671f5077125b8c898012aa57b0dd8813694206f53",
            "import_time": "2026-07-28T14:19:56.596768159Z",
            "id": "IN-MAL-2026-010868",
            "versions": [
                "2.1.6"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / app-soda-layer

Package

Affected ranges

Affected versions

2.*
2.1.6

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "app-soda-layer-2.1.6.tgz",
            "hashes": {
                "sha512_sri": "sha512-pevIbrCfrpAyun+xfHpeoc+tjvlIs+9NiOiFfz34xFzgV2bCgs0b4p9zCND3vI9s3UwqsI7WnflGMr27dKg1nw==",
                "sha1": "eddb0444a94aa8b5e678c4906cbac333658556f8"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "0b02624c96fb2a21c2b371ac465f1406b59ac0033949cd91b6cc93546f8f93d69f2e9e",
            "sha256": "816709b97cc4a1c5c0943813d804c3e8dee9e940bfa808bf4b86ddb10fcc523c",
            "path": "index.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/app-soda-layer/MAL-2026-11128.json"