Skip to main content
MalwarePublished Updated

bnppf-flag-icons (npm) · Malicious Code

Affects bnppf-flag-iconsSource GCVE Database

0

Malicious package : remove bnppf-flag-icons and rotate any secrets on hosts that installed it.

Data as of 3 Oct 2026, 17:37 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-16350

What to do

Remove bnppf-flag-icons from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmbnppf-flag-iconsAffected
  • =99.99.99
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package bnppf-flag-icons version 99.99.99 contains malicious code that executes automatically during installation. It collects the host's hostname and OS username and sends this information to an attacker-controlled endpoint. This behavior indicates a dependency confusion attack, as the version number is unusually high and the package name suggests a benign flag-icons library. Installing this package compromises the host, potentially exposing all stored secrets and keys.

References

Community reviews

Loading reviews…