MAL-2026-10648

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@hkyyy/portal-widget-helper-0601/MAL-2026-10648.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10648
Aliases
  • GHSA-wgx8-6mv9-p6jm
Published
2026-07-15T02:53:22Z
Modified
2026-07-15T09:19:30.547963079Z
Summary
Malicious code in @hkyyy/portal-widget-helper-0601 (npm)
Details

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

Source: amazon-inspector (f72e27d8bfbf5b9bfefe661d642be934399a38031c1bee028a20ed3282e0f482)

The package has no real functionality — index.js only exports { ok: true } — and its sole effect is to run a postinstall reconnaissance script. package.json declares scripts.install -> node postinstall.js, which on npm install executes whoami, id, hostname, captures cwd and Node version, and prints a PROOF_BEGIN/PROOF_END block to stderr. postinstall.js also contains a fully-formed exfiltration path that issues curl -fsS "${url}" || wget -qO- "${url}" and a dns.lookup(sub,...) call against a DNSLOG_URL constant. The URL is currently the placeholder string 'CHANGE_ME_DNSLOG_URL', so the network beacon is gated off in this published version, but the host-recon commands fire unconditionally and the exfil channel is one literal-string edit away from active. The package name @hkyyy/portal-widget-helper-0601 (date-suffixed variant of an apparent internal package name) plus the trivial body match the standard dependency-confusion PoC shape: the package exists to be picked up by mistaken namespace/version resolution and to fingerprint the installer's host.

Source: ghsa-malware (b3b0ce2b99bea6ebe380f50b96b9729b4e293690631a77ec7a3c3023510d2bdf)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "b3b0ce2b99bea6ebe380f50b96b9729b4e293690631a77ec7a3c3023510d2bdf",
            "import_time": "2026-07-15T05:00:56.816598656Z",
            "id": "GHSA-wgx8-6mv9-p6jm",
            "source": "ghsa-malware",
            "modified_time": "2026-07-15T02:53:22Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ]
        },
        {
            "sha256": "f72e27d8bfbf5b9bfefe661d642be934399a38031c1bee028a20ed3282e0f482",
            "versions": [
                "1.0.0"
            ],
            "id": "IN-MAL-2026-010622",
            "source": "amazon-inspector",
            "modified_time": "2026-07-15T07:53:48Z",
            "import_time": "2026-07-15T08:51:04.345920085Z"
        }
    ]
}
References
Credits

Affected packages

npm / @hkyyy/portal-widget-helper-0601

Package

Name
@hkyyy/portal-widget-helper-0601
View open source insights on deps.dev
Purl
pkg:npm/%40hkyyy/portal-widget-helper-0601

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0

Database specific

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "postinstall.js",
            "tlsh": "972140442bf8e7b215b518dc7b8b000b209bd31237abdda4d95a83291f62c304e00ab5",
            "sha256": "ddbe8a765e9938a3ee95cad2edc69b255ece68ba83232cb8a5d4366504dc41a6"
        },
        {
            "path": "package.json",
            "sha256": "d69fd72aab3e9af7c7887c2773c17f2b82a6c3a60d7244b86a2374a5fddb7190",
            "tlsh": "1bd0a7308a51563375d9ab851c73440555b2091e8100641c0bcf209593cb6fa44ff72a"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@hkyyy/portal-widget-helper-0601/MAL-2026-10648.json"