Back to skill

Security audit

Memento Database

Security checks for vulnerabilities and agentic risk

Overview

Database changes require approval, but setup can execute unchecked downloaded code and introduce broader agent changes without specific consent.

Review setup before installing. Use an independently verified CLI version and approve its local changes separately. OOMOL mediates database access and manages the service credentials. To prevent the current CLI's documented automatic skill synchronization, set OO_SKILLS_SYNC_DISABLED=1 before invoking it. Remote installer contents and hosted runtime behavior were not verified.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied code installs external software rather than performing Memento Database operations. Although dependency installation can be a supporting implementation detail, the provided chunk establishes no relationship between this installer and the declared database functionality. The downloaded script's contents are not supplied, so its further behavior cannot be determined.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
84% confidence
Finding

The supplied chunk only invokes a CLI login command; it shows no Memento Database integration or data operations. Authentication could be a supporting implementation detail if this CLI were established as part of the Memento integration, but the supplied content provides no such connection.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping an unpinned HTTPS response directly into Bash executes whatever the endpoint serves without prior integrity verification or review. Although the endpoint is consistent with the documented CLI dependency and there is no evidence of malicious intent, compromise of that distribution path could expose local files, credentials, and the user's environment; this overlaps the fallback-installation finding.

Content

Scanner excerpt · SKILL.md (reported line 62)May include surrounding context.

Fallback installation executes remote scripts without warning about system changes or third-party code execution.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The missing-CLI fallback directs installation through immediate execution of downloaded shell or PowerShell code without explicit approval for system changes or verification of the script. A compromised distribution endpoint could execute arbitrary code with the invoking user's privileges; limiting this to first-time setup reduces exposure but does not remove the risk.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 83)May include surrounding context.

md
- **`OOMOL_INSUFFICIENT_CREDIT`** — OOMOL billing stop. Recharge at `https://console.oomol.com/billing/token-recharge` before retrying.

- **HTTP 402 without `OOMOL_INSUFFICIENT_CREDIT`** — the third-party account itself has no active plan or credit. Report the provider error message as is; do not ask the user to recharge OOMOL.

## Resources