
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
boxcars is a tiny collection library that comes with built-in caching for preloading contents.
boxcars is a tiny collection library that comes with built-in caching for preloading contents.
$ npm install boxcars
var boxcars = require('boxcars'),
mustache = require('mustache');
var templates = boxcars();
templates('templates/foo.html', 'templates/bar.html', 'templates/quux.html', function(error, templates){
if(error) throw error;
console.log( templates[0] ); // will put the content of templates/foo.html
// objects or arrays can be passed, as well
templates({ 'corge': 'templates/corge.html', 'eggs': 'templates/eggs.html' }, function(error, moreTemplates){
if(error) throw error;
console.log( moreTemplates.corge );
});
});
Preloading:
templates.cache({
'quux.json': '{}',
'templates/foo.html': '<strong>Hello {{ name }}!</strong>',
'templates/bar.html': '<strong>Hello {{ name }}!</strong>'
});
Reset the cache:
templates.cache(undefined);
Publish the tests and visit localhost:1314 with the browser you want to test.
$ make publish-tests
To see the summary of the results;
$ make verify-tests
FAQs
This package name is not currently in use, but was formerly occupied by a popular package. To avoid malicious use, npm is hanging on to the package name, but loosely, and we'll probably give it to you if you want it.
We found that boxcars 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.