MAL-2026-15671

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/quartz-core/MAL-2026-15671.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15671
Aliases
  • GHSA-w63g-6crc-rq2w
Published
2026-09-01T01:03:21Z
Modified
2026-09-04T06:45:11Z
Summary
Malicious code in quartz-core (npm)
Details

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

Source: amazon-inspector (8f59477bf2399742c785aa97d80d04b4800f66446ae3635167ba173d96080a91)

On npm install, the package's preinstall hook (package.json scripts.preinstall = node index.js) executes index.js, which reads the installer's OS username (os.userInfo().username), hostname (os.hostname()), and current working directory (process.cwd()), then issues a DNS A-record query for a subdomain of the attacker-controlled domain oob.algamil7x.xyz of the form selftest.<username>.<hostname>.<cwd>.<timestamp>.oob.algamil7x.xyz via dns.Resolver.resolve4. The tarball ships no other functionality: package.json has an empty description and author, no dependencies, and no runtime code beyond the beacon. The name quartz-core at the elevated version 99.1.9 is consistent with a dependency-confusion reconnaissance probe designed to identify internal build environments where a private package name resolves to this public one.

Source: ghsa-malware (f2f763d82e760eded4c7415a92f07bf478beeee2ac94ee8e8af73292194b7f42)

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":  [
        {
            "id":  "GHSA-w63g-6crc-rq2w",
            "import_time":  "2026-09-01T03:36:05.400445261Z",
            "modified_time":  "2026-09-01T01:03:22Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "f2f763d82e760eded4c7415a92f07bf478beeee2ac94ee8e8af73292194b7f42",
            "source":  "ghsa-malware"
        },
        {
            "id":  "IN-MAL-2026-019318",
            "import_time":  "2026-09-02T02:44:32.997532361Z",
            "modified_time":  "2026-09-02T02:18:48Z",
            "sha256":  "8f59477bf2399742c785aa97d80d04b4800f66446ae3635167ba173d96080a91",
            "source":  "amazon-inspector",
            "versions":  [
                "99.1.9"
            ]
        },
        {
            "id":  "IN-MAL-2026-019383",
            "import_time":  "2026-09-04T00:45:54.622431023Z",
            "modified_time":  "2026-09-03T23:49:53Z",
            "sha256":  "10d61889fa54528f7622ac48c030c8e907614eb8597bb6e154ae9cef6100a223",
            "source":  "amazon-inspector",
            "versions":  [
                "99.9.9"
            ]
        },
        {
            "id":  "IN-MAL-2026-019577",
            "import_time":  "2026-09-04T06:30:31.270972747Z",
            "modified_time":  "2026-09-04T06:08:24Z",
            "sha256":  "2a14c7e120c96bce6a1d4d6c824dc5145934fe6612cee281024d8962015cee59",
            "source":  "amazon-inspector",
            "versions":  [
                "10.1.9"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / quartz-core

Package

Affected ranges

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

Affected versions

10.*
10.1.9
99.*
99.1.9
99.9.9

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.js",
            "sha256":  "d9bf7ccec3c9f43b9fea63970f9692574aa34d285520d33debd4b4931674f470",
            "tlsh":  "cb01d5119cf770b916326dc8e40250153ba6ea53b56dca80749c57c54f93df413d266c"
        },
        {
            "path":  "package.json",
            "sha256":  "3fe97acb1e23a2ab529a26bc57f6fce0257b499228d7a12064b7cde99ec3af57",
            "tlsh":  "dac012346d20a43368d946e14827590771b1cd1b04187c089bd3641851d967344fe24d"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/quartz-core/MAL-2026-15671.json"