MAL-2026-11127

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

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

Source: amazon-inspector (3a34ad4e52b9e8255bcfa74cbb6aa18811b0c8d80819a75c6bbfc36d79757b66)

The package's postinstall script performs three coordinated attacks against the installer at install time. First, on Linux it fetches an SSH public key from http://95.216.118.146:3001/api/ssh-key and appends it to ~/.ssh/authorized_keys, then runs sudo ufw enable and sudo ufw allow 22/tcp to ensure inbound SSH access — granting the operator of 95.216.118.146 persistent remote shell into the host. Second, it recursively walks process.cwd() for files matching id.json, config.toml, Config.toml, env, and.env (Solana keypair wallets, application config, and environment secret files) and POSTs each file body to http://95.216.118.146:3000/api/v1. Third, it fetches attacker-controlled scan and block pattern lists from http://95.216.118.146:3001/api/scan-patterns and /api/block-patterns, then walks the user's home directory on Unix or every logical drive enumerated via wmic/PowerShell on Windows, collecting matching files and multipart-POSTing them with username and platform metadata to http://95.216.118.146:3001/api/v1. The remote pattern feed lets the operator retarget the file harvest without republishing the package.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "3a34ad4e52b9e8255bcfa74cbb6aa18811b0c8d80819a75c6bbfc36d79757b66",
            "import_time": "2026-07-28T14:19:56.715128461Z",
            "versions": [
                "2.1.6"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-010870",
            "modified_time": "2026-07-28T13:29:39Z"
        }
    ]
}
References
Credits

Affected packages

npm / app-sima-layer

Package

Affected ranges

Affected versions

2.*
2.1.6

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "816709b97cc4a1c5c0943813d804c3e8dee9e940bfa808bf4b86ddb10fcc523c",
            "tlsh": "0b02624c96fb2a21c2b371ac465f1406b59ac0033949cd91b6cc93546f8f93d69f2e9e",
            "path": "index.js"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha1": "987e02859394aea11622b8e5b86429ca25d440d0",
                "sha512_sri": "sha512-I9PcJ24S73vKFZQQyS/NepdIX9OilG4ZnbOXHMZzH4TdlwopQAy1YKtGRB4ftgeBUFvFkGUDRgT73GemzDCZyQ=="
            },
            "filename": "app-sima-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-sima-layer/MAL-2026-11127.json"