Skip to main content
MalwarePublished

stellar-api-core (npm) · Malicious Code

Affects stellar-api-coreSource GCVE Database

0

Malicious package : remove stellar-api-core and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 23:16 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-13352

What to do

Remove stellar-api-core 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
npmstellar-api-coreAffected
  • =1.0.5
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 stellar-api-core version 1.0.5 contains malicious code that grants persistent admin access to a hardcoded Discord user ID. This backdoor allows the attacker to retrieve sensitive Nakama user tokens from the bot's admin panel. Additionally, the package silently sends permanent invite links for every Discord guild the bot joins to hardcoded Discord webhook URLs, enabling the attacker to join those guilds and further extract user tokens.

References

Community reviews

Loading reviews…