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.
idbkv-chunk-store
Advanced tools
Abstract chunk store built on idb-kv: the lightweight and simple API for indexeddb with automatic batching
Abstract chunk store implementation built on idb-kv: a small IndexedDB wrapper that automatically batches for performance.
npm install idbkv-chunk-store
var IdbkvChunkStore = require('idbkv-chunk-store')
var store = new IdbkvChunkStore(10,
{
name: 'example', // data will persist to future instances with this same name Default='idbkv-chunk-store'
length: 37, // allows partial final chunks Default=Infinity
batchInterval: 10 // sets batch interval for idb-kv Default=10ms
}
)
store.put(0, Buffer.from('0123456789'), (err) => {
if (err) throw err
store.get(0, (err, chunk) => {
if (err) throw err
console.log(chunk) // outputs '0123456789' as a buffer
})
})
idb-kv uses async functions, so those need to be supported to use this library.
FAQs
Abstract chunk store built on idb-kv: the lightweight and simple API for indexeddb with automatic batching
We found that idbkv-chunk-store 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.