
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
ip-ban-list
Advanced tools
Shared IP ban list backed by Hyperbee2, seedable over Hyperswarm.
npm install ip-ban-list
const banList = new IpBanList(store, [opts])Create a new IP ban list.
store: Corestore instanceopts.key: Hypercore public key to open an existing ban list read-only (default: null)await banList.ready()Initialize the ban list.
await banList.close()Close the ban list.
await banList.ban(ip)Ban an IP address.
ip: IP address string (e.g. '1.2.3.4')await banList.unban(ip)Remove an IP address from the ban list.
ip: IP address stringconst banned = banList.isBanned(ip)Check if an IP address is banned. Returns true or false from an
in-memory cache that is loaded on ready() and updated from Hyperbee.
banList.on('cache-updated')Emitted when the in-memory cache is updated from Hyperbee. Fires once
during ready() and after later local or replicated updates.
banList.on('cache-update-error', error)Emitted when updating the in-memory cache from Hyperbee fails.
error: Error thrown while refreshing the cachebanList.keyThe Hypercore public key for the ban list (32 bytes).
banList.discoveryKeyThe discovery key for swarming (32 bytes).
Apache-2.0
FAQs
Shared IP ban list backed by Hyperbee2, seedable over Hyperswarm
We found that ip-ban-list 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.
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
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.