
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
snacktesting
Advanced tools
This repository contains example scripts that demonstrate how to use the Snack Money API to send USDC to any Farcaster or Twitter user — no wallet address required, thanks to the x402 protocol.
Clone the repository:
git clone https://github.com/snack-money/x402-axios-example.git
cd x402-axios-example
Install dependencies:
yarn install
Configure environment variables:
cp .env-local .env
.env and add your Ethereum private key.Send USDC to a single user via Twitter or Farcaster:
yarn pay --receiver_identity <identity_type> --receiver_username <receiver_username> --amount <amount>
<identity_type>: Either farcaster or twitter<receiver_username>: Receiver’s username (e.g., 0xmesuthere, mesut)<amount>: Amount of USDC to send (e.g., 0.01)yarn pay --receiver_identity twitter --receiver_username 0xmesuthere --amount 0.01
yarn pay --receiver_identity farcaster--receiver_username mesut --amount 0.01
Send USDC to multiple recipients in a single batch:
yarn batch-pay --receiver_identity <identity_type> --receivers '<receivers_json>'
<identity_type>: farcaster or twitter<receivers_json>: A JSON array of recipients containing username and amountyarn batch-pay --receiver_identity farcaster --receivers '[{"username":"lincoln","amount":0.5},{"username":"mesut","amount":0.25}]'
yarn batch-pay --receiver_identity twitter --receivers '[{"username":"MurrLincoln","amount":0.5},{"username":"0xmesuthere","amount":0.25}]'
Create a reward distribution order with reward budget:
yarn create-reward-distribution --budget <budget> --platform <platform> --content_id <content_id>
<budget>: Amount of USDC to send (e.g., 10)<platform>: farcaster or twitter<content_id>: The platform-provided Content ID associated with the content eligible for reward distribution.yarn create-reward-distribution --budget 10 --platform farcaster --content_id 0xb87cf233790dd2d8a3ed9549f9e15069c02b1da0
Confirms and distributes reward budget among participants:
yarn confirm-reward-distribution --order_id <order_id>
<order_id>: An Order Id obtained from reward distribution creationyarn confirm-reward-distribution --order_id x987ASCbjHk
FAQs
A CLI tool for sending USDC payments on Twitter and Farcaster using x402.
We found that snacktesting demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.