
Research
5 Malicious Chrome Extensions Enable Session Hijacking in Enterprise HR and ERP Systems
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.
js-unixfsv2-draft
Advanced tools
Usage:
const unixfs = require('unixfsv2')
const blockstore = require('some-block-store')
const storeDirectory = async path => {
let last
for await (let block of unixfs(__dirname)) {
await blockstore.put(block)
last = block
}
return last.cid.toBaseEncodedString()
}
Returns an async generator that yields Block instances.
The last block instance returned is the dag-cbor block for
the root node.
Returns an async generator that yields Block instances.
The last block instance returned is the dag-cbor block for
the root node.
const load = async dir => {
let map = new Map()
let last
for await (let block of unixfs.dir(dir)) {
last = block
map.set(block.cid.toBaseEncodedString(), block.data)
}
return {
cid: last.cid,
get: async cid => map.get(cid.toBaseEncodedString())
}
}
let {cid, get} = await load('/some/directory')
let fs = unixfs(cid, get)
for await (let key of fs.ls('/sub/dir')) {
console.log(key)
}
for await (let block of fs.read('/sub/dir/file.txt')) {
console.log(block.cid.toBaseEncodedString())
}
cid is an instance of CID. get is an async functions that takes
a CID instance and returns a Buffer.
Returns an async iterator of keys in the sub directory. If objects is set it
will yield the deserialized node for each key in the directory.
Returns an async iterator of Blocks for the file.
FAQs
Usage:
The npm package js-unixfsv2-draft receives a total of 0 weekly downloads. As such, js-unixfsv2-draft popularity was classified as not popular.
We found that js-unixfsv2-draft 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
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.