MAL-2026-18413

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@pcb-dp/qa-commons/MAL-2026-18413.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18413
Aliases
  • GHSA-w4v4-fj9q-cfj5
Published
2026-10-29T15:32:05Z
Modified
2026-11-13T03:45:12Z
Summary
Malicious code in @pcb-dp/qa-commons (npm)
Details

@pcb-dp/qa-commons is a dependency-confusion package with no functional code (its description is "Authorized Test Package"). Its postinstall script runs node ./index.cjs on npm install, which POSTs the hostname, home directory, platform and CI provider (GitHub Actions, GitLab CI, Azure Pipelines or Jenkins) to https://webhook.site/d730a68c-27bd-4bb5-b1b9-d57a0a4b17ac/semz in 1.0.0 and to https://130.162.231.177:8443/ in 1.0.10. It was published by the npm account notsemz, which published two more packages with the same beacon on 2026-10-29 and seven placeholder-only names.


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

Source: amazon-inspector (7d62530861df89932996e3e8aff140b44a2a40e2fbbf20cbb102b88bd3dfa2fc)

On npm install, @pcb-dp/qa-commons@1.0.0 runs a postinstall hook (node./index.cjs) that collects installer-side identifiers — os.hostname(), os.homedir(), process.platform, and CI-provider environment probes — and POSTs the JSON payload to a hardcoded third-party collector at https://webhook.site/d730a68c-27bd-4bb5-b1b9-d57a0a4b17ac/semz. The destination is an anonymous request-capture service unrelated to the package's stated purpose, and the beacon fires automatically on install with no caller configuration and no opt-out. This is reconnaissance-grade exfiltration of installer and CI-runner identity to an attacker-controlled endpoint.

Source: ghsa-malware (f297f3071e36f7c0c920ea74ff4f2873fc4cb9aaa226aacca07a10623d3bc29d)

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
{
    "iocs": {
        "files": [
            {
                "digests": {
                    "sha256": "2e4a18694f849bbcda0368d86d1a660d47ff1d67c2cd3168b01e2adef7eef53e"
                },
                "note": "postinstall runs `node ./index.cjs`, which POSTs hostname, home directory, platform and CI provider to webhook.site (1.0.0) or 130.162.231.177:8443 (1.0.10) (@pcb-dp/qa-commons@1.0.0).",
                "paths": [
                    "package.json"
                ],
                "source": "PACKAGE_ARCHIVE"
            },
            {
                "digests": {
                    "sha256": "b65cbd22779089ac18569ee047b834253f670122226346d4dd7fa4cec22b1eb4"
                },
                "note": "Executed by the postinstall script of @pcb-dp/qa-commons@1.0.0.",
                "paths": [
                    "index.cjs"
                ],
                "source": "PACKAGE_ARCHIVE"
            },
            {
                "digests": {
                    "sha256": "b27758e4e011aa60c1a5ac3f2ee1b51e408bd5d9623e2a915672b909680c0690"
                },
                "note": "postinstall runs `node ./index.cjs`, which POSTs hostname, home directory, platform and CI provider to webhook.site (1.0.0) or 130.162.231.177:8443 (1.0.10) (@pcb-dp/qa-commons@1.0.10).",
                "paths": [
                    "package.json"
                ],
                "source": "PACKAGE_ARCHIVE"
            },
            {
                "digests": {
                    "sha256": "373fb733e8ad7bc20f5586301f2bde9e10397680842a755bf934e0e276d996e6"
                },
                "note": "Executed by the postinstall script of @pcb-dp/qa-commons@1.0.10.",
                "paths": [
                    "index.cjs"
                ],
                "source": "PACKAGE_ARCHIVE"
            }
        ],
        "ips": [
            "130.162.231.177"
        ],
        "urls": [
            "https://130.162.231.177:8443/",
            "https://webhook.site/d730a68c-27bd-4bb5-b1b9-d57a0a4b17ac/semz"
        ]
    },
    "malicious-packages-origins": [
        {
            "id": "GHSA-w4v4-fj9q-cfj5",
            "import_time": "2026-10-30T18:19:43.161713351Z",
            "modified_time": "2026-10-30T18:06:20Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "f297f3071e36f7c0c920ea74ff4f2873fc4cb9aaa226aacca07a10623d3bc29d",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-022671",
            "import_time": "2026-11-13T03:36:32.706465693Z",
            "modified_time": "2026-11-13T03:31:07Z",
            "sha256": "5d0d6c7ffa981acd106e8b7563a7dab6e88610211360ecf0fec58fae326127fe",
            "source": "amazon-inspector",
            "versions": [
                "1.0.10"
            ]
        },
        {
            "id": "IN-MAL-2026-022668",
            "import_time": "2026-11-13T03:36:32.454529169Z",
            "modified_time": "2026-11-13T03:30:47Z",
            "sha256": "7d62530861df89932996e3e8aff140b44a2a40e2fbbf20cbb102b88bd3dfa2fc",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @pcb-dp/qa-commons

Package

Name
@pcb-dp/qa-commons
View open source insights on deps.dev
Purl
pkg:npm/%40pcb-dp/qa-commons

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.10

Database specific

cwes
[
    {
        "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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.cjs",
            "sha256": "373fb733e8ad7bc20f5586301f2bde9e10397680842a755bf934e0e276d996e6",
            "tlsh": "ba1121ca89f215111bf04380f1606417f8a6ee7b5602464179bc16265f75fe51052eed"
        }
    ],
    "package_integrity": [
        {
            "filename": "qa-commons-1.0.10.tgz",
            "hashes": {
                "sha1": "5f7db4e8ba2236eabb008d01e0346ffae4facb4b",
                "sha512_sri": "sha512-iDdgYfjaNdrKFJULIDSB3KkZJ1i+m1ZH0vsVtsqjfZ/bzpD0B9B7iA2cKRIfrtd6cLhWlBw+lXI0qObgJMcBHA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@pcb-dp/qa-commons/MAL-2026-18413.json"