
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@unlock-protocol/hardhat-helpers
Advanced tools
Some internal parser/helpers for Unlock Protocol's hardhat configs
This package contains a bunch of convenience helpers that can be used accross various hardhat project to add various tasks, parse networks file, verification APis, etc.
/**
* @type import('hardhat/config').HardhatUserConfig
*/
const { networks, etherscan } = require('@unlock-protocol/hardhat-helpers')
module.exports = {
networks, // add all supported networks info (RPCs, etc) for Unlock
etherscan, // parse all verification APIs
}
Importing the package will provide a bunch of cli tasks
# show hardhat config in terminal
yarn hardhat config
# output hardhat config as json
yarn hardhat config --json
You need to export the API keys in your env for it to work properly
// 'mainnet', 'goerli'
ETHERSCAN_API_KEY
// polygon mumbai
POLYGONSCAN_API_KEY
// binance bsc
BSCSCAN_API_KEY
// optimism
OPTIMISTIC_ETHERSCAN_API_KEY
// arbitrum
ARBISCAN_API_KEY
// celo
CELO_API_KEY
// avalanche
SNOWTRACE_API_KEY
FAQs
Some internal parser/helpers for Unlock Protocol's hardhat configs
The npm package @unlock-protocol/hardhat-helpers receives a total of 1 weekly downloads. As such, @unlock-protocol/hardhat-helpers popularity was classified as not popular.
We found that @unlock-protocol/hardhat-helpers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.