
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
fs-bluebird
Advanced tools
simple fs wrapper intended to cover edge cases that promisifyAll doesn't cover (e.g. fs.exists)
The intention of this library is to retain the same *Async prefix syntax while also covering the edge case of fs.exists (which doesn't follow the [error, result] callback parameter pattern).
If there are more edge cases to take care of I will be happy to add them to this library. Better yet, you could send me a pull request with the fix and associated mocha test and I'll merge.
###fs.existsAsync example:
var bFs = require('fs-bluebird');
var fileThatExists = './index.js';
bFs.existsAsync(fileThatExists)
.then(function(exists) {
if (exists) {
// do something with file
}
});
Feel free to contact me with questions
FAQs
simple fs wrapper intended to cover edge cases that promisifyAll doesn't cover (e.g. fs.exists)
The npm package fs-bluebird receives a total of 5 weekly downloads. As such, fs-bluebird popularity was classified as not popular.
We found that fs-bluebird 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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.