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.
cachelicious
Advanced tools
Who said caching and serving cached files should be a chore?
With Cachelicious it's easier than baking a pie, and almost as delicious as eating it. Mmmmm, pie.... drool
npm install cachelicious
var CacheliciousFs = require('cachelicious').fs;
var fsCache = new CacheliciousFs(20971520); //20MB of cache
fsCache.createReadStream(filepath, options).pipe(destination1);
fsCache.createReadStream(filepath, {start: 2, end: 100}).pipe(destination2);
//both will stream from the same cache :)
var CacheliciousHttp = require('cachelicious').http;
(new CacheliciousHttp(function (request) {
var filepath = '/var/www/foo/';
if ('/' === request.url) {
return filepath + 'index.html';
} else if ('/teapot' === request.url) {
return 418; //generate a 418
} else {
filepath += request.url;
}
return filepath;
}, 209715200)).start();
Some test assets are included in the test/assets directory.
You can also try streaming video (and you should :D), like the Big Buck Bunny - http://www.bigbuckbunny.org/index.php/download/
New BSD License
Pull requests are welcome! I'll try to merge all valuable contributions and credit the author when I do so.
FAQs
Delicious Node.js file stream cacher and HTTP cache server
The npm package cachelicious receives a total of 0 weekly downloads. As such, cachelicious popularity was classified as not popular.
We found that cachelicious 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.