T08 · Insecure Dependencies
- Location
SKILL.md:31- Finding
Unpinned Third-Party Package Installation
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill appears to be a coherent guide for using a local Ollama fleet embeddings router, with manageable risks around installing an unpinned Python package and routing text through your device fleet.
Install in a virtual environment, pin or review the `ollama-herd` package before use, do not run install commands with elevated privileges, and only send documents or prompts to the fleet if every node that may process them is trusted. Confirm any model pull or delete action before allowing an agent to run it.
SKILL.md:31Unpinned Third-Party Package Installation
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
curl http://localhost:11435/api/embeddings -d '{
"model": "nomic-embed-text",
"prompt": "The fleet manages all inference routing"
}'
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
Pull a model if needed:
curl -X POST http://localhost:11435/dashboard/api/pull \
-H "Content-Type: application/json" \
-d '{"model": "nomic-embed-text", "node_id": "your-node-id"}'
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
# Fleet health and model recommendations
curl -s http://localhost:11435/dashboard/api/health | python3 -m json.tool
# Per-app usage (see which projects use the most tokens)
curl -s http://localhost:11435/dashboard/api/apps | python3 -m json.tool
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
curl -s http://localhost:11435/dashboard/api/health | python3 -m json.tool
curl -s http://localhost:11435/dashboard/api/apps | python3 -m json.tool
Dashboard at `http://localhost:11435/dashboard` — embedding requests flow through the same queues as LLM requests.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
---
name: fleet-embeddings
description: Embeddings with nomic-embed-text, mxbai-embed, and snowflake-arctic-embed across your device fleet. Fleet-routed via Ollama for RAG, semantic search, and vector similarity. Batch embed thousands of documents across nodes instead of bottlenecking on one machine. Use when the user needs to create embeddings, build a knowledge base, or set up semantic search.
version: 1.0.1
homepage: https://github.com/geeks-accelerator/ollama-herd
metadata: {"openclaw":{"emoji":"search","requires":{"anyBins":["curl","wget"],"optionalBins":["python3","pip"]},"configPaths":["~/.fleet-manager/latency.db","~/.fleet-manager/logs/herd.jsonl"],"os":["darwin","linux","windows"]}}
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
curl http://localhost:11435/api/embeddings -d '{
"model": "nomic-embed-text",
"prompt": "The fleet manages all inference routing"
}'
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
import httpx
def embed(text, model="nomic-embed-text"):
resp = httpx.post(
"http://localhost:11435/api/embeddings",
json={"model": model, "prompt": text},
timeout=30.0,
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
import httpx
def embed(text, model="nomic-embed-text"):
resp = httpx.post(
"http://localhost:11435/api/embeddings",
json={"model": model, "prompt": text},
timeout=30.0,
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
import httpx
def embed(text, model="nomic-embed-text"):
resp = httpx.post(
"http://localhost:11435/api/embeddings",
json={"model": model, "prompt": text},
timeout=30.0,
Code issues a request to a loopback, link-local, or private-range host. This can reach internal services not meant to be exposed and is a common SSRF pivot.
import httpx
def embed(text, model="nomic-embed-text"):
resp = httpx.post(
"http://localhost:11435/api/embeddings",
json={"model": model, "prompt": text},
timeout=30.0,
Code issues a request to a loopback, link-local, or private-range host. This can reach internal services not meant to be exposed and is a common SSRF pivot.
import httpx
def embed(text, model="nomic-embed-text"):
resp = httpx.post(
"http://localhost:11435/api/embeddings",
json={"model": model, "prompt": text},
timeout=30.0,
Code issues a request to a loopback, link-local, or private-range host. This can reach internal services not meant to be exposed and is a common SSRF pivot.
import httpx
def embed(text, model="nomic-embed-text"):
resp = httpx.post(
"http://localhost:11435/api/embeddings",
json={"model": model, "prompt": text},
timeout=30.0,
This example performs a state-changing action by pulling a model onto a specified node through a dashboard API. Even though the skill later says not to pull models without user confirmation, including a ready-to-run mutation endpoint in the main workflow increases the risk that an agent or user triggers resource consumption or unauthorized model deployment on internal nodes.
Pull a model if needed:
curl -X POST http://localhost:11435/dashboard/api/pull \
-H "Content-Type: application/json" \
-d '{"model": "nomic-embed-text", "node_id": "your-node-id"}'
The skill is advertised as an embeddings-focused capability, but the documentation also instructs on unrelated high-capability operations including chat completions, image generation, speech-to-text, health monitoring, and usage analytics. This scope expansion increases the attack surface and may cause an agent or user to invoke privileged or privacy-sensitive endpoints that were not expected from the skill’s declared purpose.