
Research
/Security News
PolinRider Spreads Through Compromised GitHub Accounts and Packagist
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.
Check if an IP is a bogon
npm install bogon
const bogon = require('bogon')
console.log(bogon('192.168.0.1')) // true
console.log(bogon('8.8.8.8')) // false
As a utility it also exposes an isPrivate helper
to detect if a bogon IP is a private IP address on a local network.
console.log(bogon.isPrivate('192.168.0.1')) // true
console.log(bogon('224.0.1.1')) // true
console.log(bogon.isPrivate('224.0.1.1')) // false
MIT
FAQs
Check if an IP is a bogon
The npm package bogon receives a total of 14,709 weekly downloads. As such, bogon popularity was classified as popular.
We found that bogon 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.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.