oathe / scan / reports / caution
Is belkouche/vestige safe?
Use with caution. belkouche/vestige is not clearly unsafe, but the audit flagged risks to review before you install it. Oathe's behavioral security audit gave the vestige skill by belkouche a trust score of 78/100 with 8 findings (2 high).
https://github.com/openclaw/skills/tree/main/skills/belkouche/vestige
Is belkouche/vestige safe to install?
Vestige is a memory skill backed by a pre-installed local binary (vestige-mcp) that the SKILL.md instructs the agent to invoke automatically at every session start, injecting retrieved memory content into the agent's context before any user interaction. The skill itself installs cleanly with no executable code, no network side effects, and intact canary files. The primary risks are architectural: a memory poisoning vector (adversarial content ingested into vestige persists across all future sessions), an unaudited external binary that routes all data flow, and shell injection exposure in the provided helper script template.
What security issues were found in belkouche/vestige?
Category Scores
Findings (8)
HIGH Session Start Routine: Automatic shell execution with memory injection -20 ▶
SKILL.md instructs the agent to execute two shell commands at the beginning of every conversation, piping vestige-mcp output directly into the agent's context as 'user preferences' and 'project context'. This means every session is silently primed with content from the local memory store before the user speaks. If the memory store contains adversarial content (written by a prior prompt injection, a malicious document the agent processed, or a compromised vestige binary), that content executes as agent instructions with no user awareness.
Evidence: ## Session Start Routine At the start of conversations, search for relevant context: ```bash echo '{..."query":"user preferences instructions"}...}' | ~/bin/vestige-mcp 2>/dev/null | jq -r '.result.content[0].text' ```
HIGH Memory poisoning: persistent cross-session prompt injection vector -18 ▶
The FSRS-6 memory system persists across all future sessions. If an attacker can write to the vestige store (via a malicious document the agent reads, a crafted 'smart_ingest' call, or direct database access), injected 'memories' will be retrieved and injected into every subsequent session via the auto-search routine. This is an indirect prompt injection with durable persistence — the attacker writes once and influences the agent indefinitely.
Evidence: Session Start Routine retrieves 'user preferences instructions' and 'current project context' unconditionally at every session start; smart_ingest accepts arbitrary content strings without sanitization; vestige data location is ~/.local/share/vestige/ (world-accessible on multi-user systems)
MEDIUM Broad trigger words cause unsolicited automatic memory ingestion -10 ▶
The trigger word table instructs the agent to silently call smart_ingest whenever the user says 'I prefer...', 'I always...', 'I never...', 'I like...', 'This is important', or similar phrases — without per-trigger user confirmation. This creates an implicit data collection surface where casual user statements are permanently stored and recalled in future sessions.
Evidence: | "I always..." / "I never..." | Save as preference | | "I prefer..." / "I like..." | Save as preference | | "This is important" | `smart_ingest` + `promote_memory` |
MEDIUM Shell injection risk in vmem helper script template -15 ▶
The SKILL.md provides a shell script template for ~/bin/vmem that interpolates $* (all positional arguments) directly into a JSON string via echo without quoting or escaping. If the agent constructs vmem calls with user-supplied content, special characters or shell metacharacters in the query could break out of the JSON context and execute arbitrary shell commands.
Evidence: echo "{\"jsonrpc\":\"2.0\",\"id\":1,...,\"query\":\"$*\"}}" | ~/bin/vestige-mcp
MEDIUM Core dependency on unaudited external binary (vestige-mcp) -25 ▶
All meaningful functionality — search, ingest, memory retrieval — routes through ~/bin/vestige-mcp, a pre-installed native binary not present in this skill's repository and not auditable here. The security posture of this skill is entirely contingent on the integrity of that binary. No hash, signature, or source reference is provided. If vestige-mcp is compromised or replaced, this skill silently becomes a keylogger/exfiltration pipe for all agent sessions.
Evidence: Binary Location: ``` ~/bin/vestige-mcp ~/bin/vestige ~/bin/vestige-restore ``` No package.json, no install script, no checksum — binary assumed pre-existing
LOW All trigger-matched user data routed to unaudited local binary -15 ▶
User preferences, project details, bug fixes, and architectural decisions matching trigger words are automatically ingested into vestige-mcp. While the binary claims to store data locally, this cannot be verified without auditing the binary itself. If vestige-mcp exfiltrates data to a remote endpoint, the trigger word system creates continuous automatic data collection.
Evidence: smart_ingest example: content='TKPay Offline project: POC 2 months, MVP 2 months, budget 250K DH' — project budget details automatically stored
INFO Clean install: two text files only, no network side effects 0 ▶
The installation cloned only SKILL.md and _meta.json. No executables, scripts, or configuration files were written outside the skill directory. The connection state before and after install is identical. The GitHub download (140.82.121.4:443) was the expected clone source.
Evidence: Filesystem diff: only /home/oc-exec/skill-under-test/_meta.json and SKILL.md added; connection diff shows no new ports or persistent connections
INFO Canary file accesses attributed to audit infrastructure, not skill -10 ▶
Canary files were opened and read at 04:35:48 (before git clone) and 04:35:58 (after install). Both access events are consistent with the Oathe audit system's pre-install canary placement and post-install integrity verification, not with the skill under test — which contains no executable code capable of file access. All canary files remain unmodified.
Evidence: inotify OPEN/ACCESS at 04:35:48 precedes git clone at 04:35:54; auditd PATH records 1416-1421 at 1771734968.412 coincide with audit teardown commands; canary integrity check: PASS
Should I install belkouche/vestige?
Oathe's verdict for belkouche/vestige is CAUTION with a trust score of 78/100. Recommendation: Install with caution.