npm · Malicious package advisory
Malwarehardhat-contract
GHSA-j73f-h8m9-jq42
Malicious code in hardhat-contract (npm)
Details
**Severity:** Critical **Affected versions:** `= 15.0.0` ## Source: ossf-package-analysis (3593917b9125465c1d3c5d6b38c62a9819d7590aea1522bdcf400ffef560a9b7) The OpenSSF Package Analysis project identified 'hardhat-contract' @ 15.0.0 (npm) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity. - The package executes one or more commands associated with malicious behavior. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/05b419acdcdd6e02782971da765f32a22a1aed8e/osv/malicious/npm/hardhat-contract/MAL-2023-1565.json)) **References:** - https://github.com/ossf/malicious-packages/blob/05b419acdcdd6e02782971da765f32a22a1aed8e/osv/malicious/npm/hardhat-contract/MAL-2023-1565.json - https://github.com/advisories/GHSA-j73f-h8m9-jq42
Compromised versions (1)
- = 15.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.