
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.
async-ioctl
Advanced tools
Asynchronous `ioctl` for Node.js. Used for [`node-nbd-client`](https://github.com/fathyb/node-nbd-client), UNIX-only.
Asynchronous ioctl for Node.js. Used for node-nbd-client, UNIX-only.
ioctl(fd: number | bigint, request: number | bigint, value: number | bigint | Buffer): Promise<number>
ioctl calls returning immediately. Uses the libuv thread pool.ioctl.batch(batch: [fd: number | bigint, request: number | bigint, value: number | bigint | Buffer][]): Promise<number[]>
ioctl(fd, request, value) except requests can be submitted in batches.ioctl.blocking(fd: number | bigint, request: number | bigint, value: number | bigint | Buffer): Promise<number>
ioctl calls blocking until something happens. Uses a dedicated thread so more memory and higher latency.import { open } from 'fs'
import { ioctl } from 'async-ioctl'
// Get number of rows for current terminal
const rows = await ioctl(process.stdout.fd, 0x2000ab00)
async function getBlockDeviceSize(path: string) {
const device = await open(path)
const buffer = Buffer.alloc(8)
await ioctl(device.fd, 0x2000ab00, buffer)
return buffer
}
// Buffer argument
const result = await ioctl(device.fd, 0x2000ab00, Buffer.from('test'))
// Buffer argument
const result = await ioctl(device.fd, 0x2000ab00, BigInt('13343554'))
FAQs
Asynchronous `ioctl` for Node.js. Used for [`node-nbd-client`](https://github.com/fathyb/node-nbd-client), UNIX-only.
The npm package async-ioctl receives a total of 36 weekly downloads. As such, async-ioctl popularity was classified as not popular.
We found that async-ioctl 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.