This report shows the evidence for @magda/semantic-indexer-sdk@7.1.0-pr.3888.1. 25 of 56 known versions are blocked or flagged. The newest version, 7.1.1, is allowed.
Blocked by malware advisory
OpenSSF/OSV malware advisory MAL-2025-47009 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as clean; the assessments disagree.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
OpenSSF/OSV malicious advisory
published · by OpenSSF/OSV
OpenSSF/OSV advisory MAL-2025-47009 confirms this npm version as malicious.
Advisory
MAL-2025-47009
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @magda/semantic-indexer-sdk (npm)
Details
@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.
LPM's AI review found this version clean. That disagrees with the OpenSSF/OSV advisory, which supplies the block.
The package exposes a semantic indexing function and has no install lifecycle hook. The flagged process and listener capabilities do not show unrelated behavior or execute automatically on import.
Static reason
No blocking static signals were detected.
Trigger
The default indexer function runs when a consuming application calls it; package import only exposes SDK exports.
Impact
Expected semantic indexing operations against the configured services; no evidence of unrelated data collection or actions.
Mechanism
On invocation, the indexer connects to configured OpenSearch and embedding services, processes registry or storage objects, and starts the minion framework.
Network endpoints3
localhost:9200localhost:3000localhost:6101/v0
Independent scan evidence
public snapshot
AI called this Clean at 91.0% confidence as Benign with low false-positive risk.
Evidence for AI clean decision
The package has no install, preinstall or postinstall lifecycle script; its listed scripts build or release the package.
The bundle exports `semanticIndexer` as the default function; its initialization and minion work are inside that function, not run at module top level.
The indexer uses configured OpenSearch, embedding API and registry endpoints for its semantic indexing purpose.
Evidence against
When explicitly invoked, the indexer can create a configured OpenSearch index and start minion processing.
The package reads JWT, MinIO and service settings from arguments or environment variables.
This report applies to @magda/semantic-indexer-sdk@7.1.0-pr.3888.1.
The versions list below shows the verdict for each recorded version.
Avoid installing @magda/semantic-indexer-sdk@7.1.0-pr.3888.1. Remove it from direct dependencies and check your lockfile for transitive copies.
Choose an independently verified alternative or release. This report does not establish that other versions are safe.
If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.