
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
internet-address
Advanced tools
internet-addressThis is a tiny IPv4 and IPv6 utility library forked from ipaddr.js.
Requires Node.js 18.20+, 20.10+, 22.0+, or above.
internet-address supports tree shaking meaning you can pull in only the functionality you need versus ipaddr.js's
all-or-nothing approach.
Pulling in every module costs under 3KiB minified and gzipped. This package supports tree shaking however meaning if you only need IPv4 parsing for example, it'll only cost you 1.1KiB instead of the full 3KiB.
This package is written in standard ESM using only JavaScript builtins meaning it can be imported into browsers via a CDN without Node.js polyfills:
import { IPv4, IPv6, CIDR, process, subnetMatch } from "https://esm.sh/internet-address"
An IPv4 address is an array of 4 bytes so IPv4.parse() returns you a Uint8Array of 4 bytes. No need for
serialization, the data type is already in its basic form.
Install with npm install internet-address. Make sure you have "type": "module" in your package.json.
Import the utilities with:
import { IPv4, IPv6, CIDR, process, subnetMatch } from "internet-address"
FAQs
Parse, query, manipulate, and serialize IPv4/6 addresses.
We found that internet-address 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
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.