
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.
block-stream
Advanced tools
A stream of blocks.
Write data into it, and it'll output data in buffer blocks the size you specify, padding with zeroes if necessary.
var block = new BlockStream(512)
fs.createReadStream("some-file").pipe(block)
block.pipe(fs.createWriteStream("block-file"))
When .end() or .flush() is called, it'll pad the block with zeroes.
The stream-splitter package provides similar functionality by allowing you to split a stream into chunks based on a delimiter or a fixed size. Unlike block-stream, which focuses on fixed-size blocks, stream-splitter can also split based on delimiters, making it more versatile for text-based data.
The through2 package is a more general-purpose stream utility that allows you to transform data as it passes through the stream. While it doesn't specifically focus on block sizes, it can be used to implement similar functionality by manually managing the data chunks, offering more flexibility in stream processing.
FAQs
a stream of blocks
The npm package block-stream receives a total of 1,425,425 weekly downloads. As such, block-stream popularity was classified as popular.
We found that block-stream 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 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.