Skip to content

Firsthand.today

CertiK finds a hidden malware loader in a Hardhat config that runs on ordinary test commands

Summary

During a smart contract audit, CertiK found a concealed malware loader in a project's Hardhat config, pushed past the visible editor area. Ordinary test and build commands execute it, letting remotely supplied code run with the developer's environment and credentials.

Was this useful to you?

CertiK finds a hidden malware loader in a Hardhat config that runs on ordinary test commands · Firsthand.today