MAL-2026-11129

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

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

Source: amazon-inspector (fc1e4595c58a335fee4df04e6d25f61c8a88e8c0e6192bce21f13f8e16ff87a1)

package.json declares postinstall=node test.js, which auto-executes on npm install and runs two malicious flows. First, test.js fetches an attacker SSH public key from http://95.216.118.146:3001/api/ssh-key and appends it to ~/.ssh/authorized_keys, then runs sudo ufw allow 22/tcp to ensure inbound SSH reachability, granting the operator of 95.216.118.146 persistent remote SSH access to the installer host. Second, test.js recursively walks process.cwd() for id.json, config.toml/Config.toml, env, and.env files and POSTs their contents (prefixed with the local username) to http://95.216.118.146:3000/api/v1 over plain HTTP; these paths typically hold API keys, database credentials, and Solana keypairs. Third, test.js downloads scan/block file patterns from 95.216.118.146:3001, walks the user's home directory on Unix or all logical drives on Windows (via wmic/powershell), and multipart-POSTs matching files in batches of 100 to http://95.216.118.146:3001/api/v1 with username and platform metadata. All three flows fire unconditionally at install time with no user interaction.

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

Affected packages

npm / app-svm-layer

Package

Affected ranges

Affected versions

2.*
2.1.6

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "816709b97cc4a1c5c0943813d804c3e8dee9e940bfa808bf4b86ddb10fcc523c",
            "tlsh": "0b02624c96fb2a21c2b371ac465f1406b59ac0033949cd91b6cc93546f8f93d69f2e9e",
            "path": "index.js"
        },
        {
            "sha256": "789db05454153f59bff35f88c12adfa3d3fdecc0526622dd07082dfd3b3c58d7",
            "tlsh": "9df0ed27ca188e6318f135a8287c061bf691932f0100880f36bd260c4fbb133008af2e",
            "path": "package.json"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha1": "81ed556c71d9673c79b13774f97a4e673143b5b5",
                "sha512_sri": "sha512-6XZ23Eq8arP0G+Y1kox6DsPcMk29/oulpllUKHhqdgxSFWv3pJjB7kCEKf2Fs0q4pr+2t2xqNZ3RyrIDATTH+Q=="
            },
            "filename": "app-svm-layer-2.1.6.tgz"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/app-svm-layer/MAL-2026-11129.json"