Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
hook.io-feedsub
Advanced tools
Will "subscribe" to a web RSS/Atom/JSON feed and emit any new items it reads from it. The events are in the form of
*::name::item
Where name
is the name of the feed. So if you are using the example config.json
that looks like this
{
"feeds": [
{
"name": "cnn",
"url": "http://rss.cnn.com/rss/cnn_latest.rss",
"interval": 10,
"emitOnStart": false
}
]
}
Programatically, this is how you would listen for new feed items..
hook.on('*::cnn:item', function(item) {
console.log('New Story!:', item.title);
});
hook.on('*::item', function(feed) {
console.log('New Story from: ', feed.name);
console.log(feed.item);
});
It uses feedsub to read feeds. Take a look at its constructor API for all the options that can be passed to it.
hookio-feedsub
npm -g install hook.io-feedsub
The single test is written with vows
npm test
MIT
FAQs
Emits hook.io events on new feed items.
The npm package hook.io-feedsub receives a total of 1 weekly downloads. As such, hook.io-feedsub popularity was classified as not popular.
We found that hook.io-feedsub 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.