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.
bundle-fairy
Advanced tools
Detect bundles of geometry.
A bundle is a compressed (zipped .zip
) directory containing either:
Bunldes are used as an in-between format for two cases:
A bundle MUST include:
.zip
extension.geojson
or .csv
)A bundle MAY include:
.index
)metadata.json
file, which is exactly the output of mapnik-omnivore
A bundle MAY NOT include:
.geojson
AND a .csv
)geojson
or csv
npm install bundle-fairy
var fairy = require('bundle-fairy');
isBundle()
fairy.isBundle('./path/to/file.zip', function(err, isbundle) {
if (err) throw err;
console.log(isbundle); // true! or false :(
});
extract()
// ***** exact output of this function is yet to be determined *****
fairy.isBundle('./path/to/file.zip', function(err, uri) {
if (err) throw err;
console.log(uri); // uri string to extracted directory
});
Check if is bundle
$ bundle-fairy isbundle <zipfile>
Extract bundle
$ bundle-fairy extract <zipfile>
npm test
¯\_(ツ)_/¯
FAQs
Check if ZIP is a bundle and extract
The npm package bundle-fairy receives a total of 1 weekly downloads. As such, bundle-fairy popularity was classified as not popular.
We found that bundle-fairy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.