
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
Web stream CAR reader and writer.
npm install carstream
import fs from 'node:fs'
import { Readable } from 'node:stream'
import { CARReaderStream } from 'carstream'
Readable.toWeb(fs.createReadStream('path/to/my.car'))
.pipeThrough(new CARReaderStream())
.pipeTo(new WritableStream({ write: block => console.log(block.cid.toString()) }))
import fs from 'node:fs'
import { Writable } from 'node:stream'
import * as raw from 'multiformats/codecs/raw'
import { sha256 as hasher } from 'multiformats/hashes/sha2'
import * as Block from 'multiformats/block'
import { CARWriterStream } from 'carstream'
const readable = new ReadableStream({
async pull (controller) {
const block = await Block.encode({ value: new Uint8Array(), codec: raw, hasher })
controller.enqueue(block)
controller.close()
}
})
await readable
.pipeThrough(new CARWriterStream())
.pipeTo(Writable.toWeb(fs.createWriteStream('path/to/my.car')))
Feel free to join in. All welcome. Open an issue!
Dual-licensed under MIT / Apache 2.0
FAQs
Web stream CAR reader and writer.
We found that carstream demonstrated a healthy version release cadence and project activity because the last version was released less than 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 researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.