
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.
airdrop-bot
Advanced tools
This is a simple airdrop bot that can be used to interact onchain protocols
This is a script for automatic interaction with the onchain protocol by setting up Cronjobs and delay times
npm install -g airdrop-bot
airdrop-bot -v
# 0.0.1
For example, interact aave by 0.01 ETH and setup delay 10 minutes
# set your private key to environment variables
export PK=<your-private-key>
# check private key
echo $PK
# execute AAVE
airdrop-bot aave $PK 0.01 -c "0 */10 * * * *" --delay 10
Notice: cron job expression is from second not minute
If successfully started, the following information should appear.
> base-bot@1.0.0 app
> ts-node ./app.ts
____ ___ _____
| __ ) / _ \_ _|
| _ \| | | || |
| |_) | |_| || |
|____/ \___/ |_|
Starting app ...
Chain Base
Time 0 */10 * * * * | Delay 10 minutes
Account <Public address from $PK>
Print below information when starting a new round
--delay
command option)reverted
)Start new round
Start time: 2024/5/3 下午1:00:00 | Delay 247 seconds
Deposit...
Tx Hash: 0xa887c685952643c819be509ed738d8f49dc519f9b523b3e3741d9af56b484757 - reverted
Reverted !! Retrying...
Tx Hash: 0x463199026a129c43240bc5860a44c811fbd273b0ad9ea2e11ece02436d4d81cd - success
Approving...
Tx Hash: 0xc5dc4df1556dcf4d8f091da1258ff0649dd1e3a252fdf9780764ea06d12e423d - success
Withdraw...
Tx Hash: 0x58fa1b26670aac621c358828b08651ae46d3a253410ef9177038b757fcdef785 - reverted
Reverted !! Retrying...
Tx Hash: 0x708e3d639d60d11d96b2d6d45428b1a4b90ecda9b529a2eee52a0a36b09acfb8 - reverted
Reverted !! Retrying...
Tx Hash: 0x841ad67167fc6478a0f6024493f9c6cdb8df3b877ee167415b3d05d0e1b600e5 - success
Contract address 0x8be473dCfA93132658821E67CbEB684ec8Ea2E74
End time 2024/5/3 下午1:05:24
FAQs
This is a simple airdrop bot that can be used to interact onchain protocols
The npm package airdrop-bot receives a total of 2 weekly downloads. As such, airdrop-bot popularity was classified as not popular.
We found that airdrop-bot demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.