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.
drudgereport
Advanced tools
Used by FortunesRocks.me LLC for news monitoring
//
// ==> Create a DrudgeReport object
//
var dr = new DrudgeReport();
//
// ==> Create a callback function. DR will call this each time it has new
// ==> articles, once you pass it to DR.
//
var myStream = (articles:DrudgeArticle[]) => {
console.log("Got a new set of articles",articles.length);
processStream(articles);
}
dr.stream(myStream);
//
// ==> done!
//
DrudgeReport is one of the most infulential news based websites in the world. Monirtoring the feed is crtical to news senstive markets.
npm install --save drudgereport
To set the loglevel to debug..
dr.setLogLevel("info"); [debug,info,warn,error] are all legit values;
To set poll rate (default if 15 minutes);
dr.setPollInterval = 15 * 60; (this is 15 minutes, value is seconds)
//
// ==> Object model
//
export class DrudgeArticle {
html: string;
time: Date;
location: string;
index: number;
source: string;
href: string;
latest: Date;
}
There is a testDrudge.ts/js included in the package to test the function.
FortunesRocks.me LLC contact me there if you have questions; npms + "the little a rolled in a blanket"+fortunesrocks.me
ISC
FAQs
Polls the DrudgeReport.com website and tracks the links
The npm package drudgereport receives a total of 2 weekly downloads. As such, drudgereport popularity was classified as not popular.
We found that drudgereport 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.