
Research
/Security News
Intercom’s npm Package Compromised in Ongoing Mini Shai-Hulud Worm Attack
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.
buffer-to-string
Advanced tools
A better Buffer.toString()
Displays buffer content in hex. Characters are grouped into two-character bytes, with a customizable line wrap width.
$ npm install --save buffer-to-string
const bufferToString = require('buffer-to-string');
bufferToString(new Buffer([0, 1, 2, 3, 4, 5, 6]), 3);
/*
00 01 02
03 04 05
06
*/
Type: Buffer
The Buffer to stringify.
Type: number
Default: 20
The maximum width before wrapping a newline. It is measured in bytes displayed. The maximum character width can be determined by computing (3 * width) - 1.
MIT © Isaac Z. Schlueter, James Talmage
FAQs
A better Buffer.toString()
The npm package buffer-to-string receives a total of 9 weekly downloads. As such, buffer-to-string popularity was classified as not popular.
We found that buffer-to-string 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
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.

Research
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.