MAL-2025-47009
Dashboard / Malicious Package / MAL-2025-47009
MAL-2025-47009
Summary: Malicious code in @magda/semantic-indexer-sdk (npm)
Details: Source: amazon-inspector (020b70c247fbc09223610616ef9c39ce27218404bff50de29b8a28706679fc14) @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. Source: ghsa-malware (0ce59c9b39eeea0aa22df5f00b970f2543dc5da3003c0e73618cb45830d68274) 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.
References: https://github.com/advisories/GHSA-r2gq-mhfx-9mh3, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/6.1.0-alpha.0, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/6.1.2-alpha.0, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/6.1.2-pr.3759.1, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/6.1.1-pr.3725.0, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/7.0.0-pr.3637.2, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/7.0.0-pr.3637.5, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/6.1.0-alpha.1, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/6.1.1, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/6.1.2-pr.3759.0, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/6.1.1-pr.3726.0, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/6.1.0, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/6.1.2, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/7.0.0-pr.3637.4, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/7.0.0-pr.3637.3, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/7.0.0-pr.3762.4, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/7.0.0-pr.3762.2, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/7.0.0-pr.3762.3, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/7.0.0-pr.3767.2, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/6.2.0-alpha.0, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/7.0.0-alpha.0, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/7.0.0-alpha.1, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/6.2.0, https://www.npmjs.com/package/@magda/semantic-indexer-sdk/v/7.0.0-pr.3773.0
Affected packages
Package
Name: @magda/semantic-indexer-sdk
Purl: pkg:npm/%40magda/semantic-indexer-sdk
Affected ranges
Type: SEMVER
Events:
