
Security News
OpenClaw Skill Marketplace Emerges as Active Malware Vector
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.
ethereumjs-dht
Advanced tools
An node.js implementation of ethereum's DHT.
For a basic example see example/dht
new DHT(options)Create a New DHT with the following options
-options
secretKey - a 32 byte Buffer from which the pubic key is derivedtimeout - an Interger specifing the wait period in milliseconds to wait for peers to respondport - the port external port that this peer is listening to. If not specifed the port that is used in bound will be usedaddress - the external address that this peer is listening to. if not specifed the port that is used in bound will be usedDHT methodsdht.bind(port, address, [cb])Binds the port
portaddresscb the callbackdht.close([cb])Unbinds the port
dht.bootstrap(introPeers, [cb])Bootstraps the DHT given an array of peers to connect to.
introPeers - an Array of peers to try to connect to. They should be objects in following format.{
address: String
port: Number
}
dht.refresh()Refreshes the nodes and searches for new nodes
DHT eventsThe DHT object inherits from Events.EventEmitter and emits the following events.
ping - Fires when receiving a Ping. Provides a parsed ping packets and the peer it came frompong - Fires when receiving a pong. Provides a parsed ping packets and the peer it came fromfindNode - Fires when receiving a findNode. Provides a parsed ping packets and the peer it came fromneighbors- Fires when receiving a neighbors. Provides a parsed ping packets and the peer it came fromerror - Provides and error messagePatches welcome! Contributors are listed in the package.json file.
Please run the tests before opening a pull request and make sure that you are
passing all of them.
If you would like to contribute, but don't know what to work on, check the issues list or ask on the forms or on IRC.
When you find issues, please report them:
You can also look for null_radix in #ethereum-dev on irc://irc.freenode.net.
GPL3
FAQs
an implemention of ethereum's DHT
We found that ethereumjs-dht 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
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.