ultradoc

Warn

Audited by Socket on Jun 28, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
src/index/semantic.ts

No strong evidence of intentional malware/backdoor behavior in this module. The primary security risk is privacy/data exfiltration and operational impact: it transmits repository contents and user queries to an Ollama endpoint and stores chunk snippets in Qdrant, while network destinations are fully environment-configurable and Qdrant rebuild involves a destructive DELETE+recreate. Additionally, it executes Docker Compose commands and can pull a model based on an environment variable; although classic shell injection is less likely due to argument-array usage, the sh() helper implementation is not visible. Overall: treat as a networked indexing component that must run with trusted configuration and restricted network access.

Confidence: 62%Severity: 56%
AnomalyLOW
src/util.ts

No explicit malware indicators (no network calls, file writes, persistence, obfuscated payloads, or obvious exfiltration) are present in the provided fragment. The dominant security concern is that the exported sh()/have() functions provide direct, synchronous OS command execution with caller-controlled cmd/args and optional stdin/env inheritance. If upstream usage is not strictly allowlisted/controlled, this creates a realistic arbitrary command execution risk. The keyword matcher portion is mostly deterministic text processing; it can still be abused for availability issues via regex compilation/testing overhead if inputs are attacker-controlled, but it does not show clear malicious behavior on its own.

Confidence: 60%Severity: 55%
Audit Metadata
Analyzed At
Jun 28, 2026, 01:05 PM
Package URL
pkg:socket/skills-sh/maxgfr%2Fultradoc%2Fultradoc%2F@6db45d3fb7fb8a0410daa2b082e0068905658baf
Security Audit — socket — ultradoc