
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
@ipld/unixfsv2
Advanced tools
This library is a full implementation of unixfs-v2 for JavaScript.
Async generator that yields blocks for every file and and directory in the path.
Last block is the root block.
Runs recursively through directories. Accepts any valid file or directory string path.
const { encoder } = require('unixfsv2')
const storage = require('any-key-value-store')
const putBlock = async b => storage.put((await b.cid()).toString(), b.encode())
const storeDirectory = async path => {
for await (const { block, root } of encoder(__dirname)) {
await storage.putBlock(block || root.block())
if (root) return root.block().cid()
}
}
Returns a new Reader instance for the root block.
const { reader } = require('unixfsv2')
const storage = require('any-key-value-store')
const Block = require('@ipld/block')
const getBlock = async cid => Block.create(await storage.get(cid.toString()), cid)
/* rootBlock would be the same as the last block in
/ encode example.
*/
const r = reader(rootBlock, getBlock)
FAQs
Filesystem in a merkle tree.
We found that @ipld/unixfsv2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.

Security News
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.