Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
block-filler
Advanced tools
Simple cl tool for spamming ethereum nodes with block filling transactions
A simple command line tool for spamming ethereum nodes with block filling transactions using deployed smart contracts.
npm install -g block-filler
> blockfiller --help
Usage: blockfiller [options]
Options:
--help Show help [boolean]
--version Show version number [boolean]
--jobfilepath, -j, -f Path to input file. [string] [required]
--accountfilepath, -a Path to an account file containing addresses and
private keys. These can be used as "from" accounts and
signing the transactions locally. [string]
The script works with jobs given as input. They are specified in a JSON file as objects in an array:
string
): the rpc endpoint of an ethereum node,num
): how many transactions are sent at onceobject
): transaction object as in web3
gas
limitbool
): whether to fill the blocks with more time consuming slow operations or relatively overpriced fast ones (default: fast)bool
) whether to execute job only once or run it in an infinite loopbool
) whether to wait until the whole batch is mined or notSee an example below.
blockfiller -f ./jobs.json -a ./accounts.json
Example content of a jobs file (jobs.json
):
[
{
"rpc": "http://localhost:8545",
"batchNum": 10,
"tx": {
"from": "0xb5ee8b57b0519a32b9c6d9689bc645f3edf51302",
"gas": 7999000,
"gasPrice": 61
},
"once": true
},
{
"rpc": "https://volta-rpc.energyweb.org",
"batchNum": 1,
"tx": {
"from": "0xb5125eb59b200e36cf06adb57ea948ac9e6202a0",
"gas": 7999000,
"gasPrice": 200
},
"slow": true
},
{
"rpc": "https://tobalaba-rpc.energyweb.org",
"batchNum": 1,
"tx": {
"from": "0xb5125eb59b200e36cf06adb57ea948ac9e6202a0",
"gas": 1000000,
"gasPrice": 1000000000
},
"noWaitForAll": true
}
]
Example content of accounts file (accounts.json
). These are added to web3's software wallet and used for signing locally:
[
{
"address": "0xb5ee8b57b0519a32b9c6d9689bc645f3edf51302",
"privateKey": "0x..."
},
{
"address": "0xb5125eb59b200e36cf06adb57ea948ac9e6202a0",
"privateKey": "0x..."
}
]
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
SemVer is used for versioning. For the versions available, see the tags on this repository.
This project is licensed under the GPLv3.0 License - see the LICENSE.md file for details.
FAQs
Simple cl tool for spamming ethereum nodes with block filling transactions
The npm package block-filler receives a total of 0 weekly downloads. As such, block-filler popularity was classified as not popular.
We found that block-filler 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.