MAL-2025-47009 Malicious code in @magda/semantic-indexer-sdk (npm)
- Package
- @magda/semantic-indexer-sdk
- Registry
- npm
What is MAL-2025-47009?
MAL-2025-47009 is a malicious package in @magda/semantic-indexer-sdk, published on 10 Sep 2025.
Official description
@magda/semantic-indexer-sdk ships a minified dist/index.js bundle for a Magda semantic-indexer SDK. Static keyword patterns fired on the co-occurrence of POST HTTP verbs at several offsets in the minified bundle and on the substring dyndns at line 44075. These are keyword matches on a large rolled-up bundle — the POST occurrences reflect ordinary HTTP client usage expected from an SDK, and a dyndns substring in a minified blob does not by itself indicate a dynamic-DNS C2 destination (it commonly appears inside dependency names, TLD lists, or unrelated string tables). No hardcoded attacker-controlled domain or IP bound to install-time or import-time network I/O, no credential or environment scraping, no lifecycle-script execution, no dropper, and no obfuscated destination decoding are present. The observed patterns are consistent with a normal SDK client bundle.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
What should I do about MAL-2025-47009?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-r2gq-mhfx-9mh3.