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.
@digidem/atomic-fs-blob-store
Advanced tools
blob store that stores blobs on the local file system (like fs-blob-store but atomic)
blob store that atomically stores blobs (e.g. no partial writes) on the local file system.
Forked from fs-blob-store
npm install atomic-fs-blob-store
var fs = require('atomic-fs-blob-store')
var blobs = fs('some-directory')
var ws = blobs.createWriteStream({
key: 'some/path/file.txt'
})
ws.write('hello world\n')
ws.end(function() {
var rs = blobs.createReadStream({
key: 'some/path/file.txt'
})
rs.pipe(process.stdout)
})
The original fs-blob-store
doesn't make atomic writes which may lead
to partially written files when an error occurs or if the process
crashes.
atomic-fs-blob-store
guarantees write atomicity, which means that if
your process crashes in the middle of a write, the file won't be written
at all.
Which mean that a key only starts to exist and becomes available for reading once a write is fully completed.
MIT
FAQs
blob store that stores blobs on the local file system (like fs-blob-store but atomic)
The npm package @digidem/atomic-fs-blob-store receives a total of 4 weekly downloads. As such, @digidem/atomic-fs-blob-store popularity was classified as not popular.
We found that @digidem/atomic-fs-blob-store demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.