quartz-core
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-w63g-6crc-rq2w
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in quartz-core (npm)
---
_-= 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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0