Malicious code in @magda/semantic-indexer-sdk (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## 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.
AI Analysis
Technical Summary
The @magda/semantic-indexer-sdk version 6.1.0-alpha.0 contains malicious code as reported by a malware advisory (MAL-2025-47009). Static code analysis did not find explicit hardcoded attacker domains, credential scraping, or lifecycle script execution, but the package is flagged as malicious by a trusted source. The advisory warns that any computer running this package is likely fully compromised, requiring immediate secret rotation and package removal. No patch or remediation guidance is provided, indicating the package itself is the threat vector.
Potential Impact
Systems with the malicious @magda/semantic-indexer-sdk 6.1.0-alpha.0 installed are considered fully compromised. Attackers may have gained full control, risking exposure of all stored secrets and keys. Removal of the package does not guarantee eradication of all malicious software introduced. This represents a critical security risk to affected environments.
Mitigation Recommendations
Remove the @magda/semantic-indexer-sdk package version 6.1.0-alpha.0 immediately from all affected systems. Rotate all secrets and keys stored on compromised machines from a separate, secure system. Because full compromise is likely, conduct a thorough investigation and remediation of the affected environment. No official patch or fix is available; avoidance of this package version is recommended.
Malicious code in @magda/semantic-indexer-sdk (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## 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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @magda/semantic-indexer-sdk version 6.1.0-alpha.0 contains malicious code as reported by a malware advisory (MAL-2025-47009). Static code analysis did not find explicit hardcoded attacker domains, credential scraping, or lifecycle script execution, but the package is flagged as malicious by a trusted source. The advisory warns that any computer running this package is likely fully compromised, requiring immediate secret rotation and package removal. No patch or remediation guidance is provided, indicating the package itself is the threat vector.
Potential Impact
Systems with the malicious @magda/semantic-indexer-sdk 6.1.0-alpha.0 installed are considered fully compromised. Attackers may have gained full control, risking exposure of all stored secrets and keys. Removal of the package does not guarantee eradication of all malicious software introduced. This represents a critical security risk to affected environments.
Mitigation Recommendations
Remove the @magda/semantic-indexer-sdk package version 6.1.0-alpha.0 immediately from all affected systems. Rotate all secrets and keys stored on compromised machines from a separate, secure system. Because full compromise is likely, conduct a thorough investigation and remediation of the affected environment. No official patch or fix is available; avoidance of this package version is recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2025-47009
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-r2gq-mhfx-9mh3"]
- Ecosystems
- ["npm"]
Threat ID: 6a577ed568715ace43b3f89a
Added to database: 07/15/2026, 12:36:37 UTC
Last enriched: 08/10/2026, 18:38:17 UTC
Last updated: 09/09/2026, 14:28:17 UTC
Views: 33
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.