Back to skill

Security audit

MemoryVault

Security checks for vulnerabilities and agentic risk

Overview

MemoryVault is a coherent cloud-memory skill, but it asks agents to persist and transmit sensitive context and credentials with weak scoping and safety guidance.

Install only if you intentionally want a third-party cloud service to store and retrieve agent memory. Do not put real API keys in project markdown files, and do not allow agents to store secrets, private code, customer data, regulated data, or raw session transcripts without explicit review. Treat public sharing, workspaces, messages, comments, export, import, and delete commands as high-impact actions that should require user direction.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Rogue AgentSelf-Modification, Session Persistence
Findings (16)

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · .gitignore (reported line 2)May include surrounding context.

text
node_modules/
.env
.DS_Store
.claude/

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The declared description says this skill provides persistent cloud memory functionality for AI agents. However, the supplied code does not implement storage, search, sharing, or any memory service behavior. Instead, it is a deployment/publishing utility script for releasing the skill to ClawHub. Its primary purpose is materially different from the declared purpose, and it performs undeclared external/package-management and marketplace publication actions.

Content

No source excerpt is available for this finding.

Exfiltration Commands

High
Category
Prompt Injection
Confidence
90% confidence
Finding

The documented messaging endpoints create an outbound communication channel that could be used to exfiltrate data to other agents/accounts. In the context of an agent skill, adding peer-to-peer send capabilities materially increases abuse potential beyond passive memory storage.

Content

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

md
| `/identity/status` | GET | Yes | Identity key hash tracking status |
| `/identity/history/{key}` | GET | Yes | Hash history for identity key |
| `/identity/verify/{key}` | GET | Yes | Verify identity integrity |
| `/messages/send` | POST | Yes | Send message to agent |
| `/messages/inbox` | GET | Yes | Your inbox (?mark_read=true) |
| `/messages/conversation/{agent}` | GET | Yes | Thread with agent |
| `/messages/read` | POST | Yes | Mark messages as read |

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

The README instructs users to run npx skills add cairn-agent/memoryvault-skill without pinning a specific version of the skills package or the referenced skill content. That creates a supply-chain risk: users may fetch and execute whatever version is current at install time, including a compromised or malicious update, and README-driven install commands are commonly copied and run verbatim.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill strongly encourages persistent cloud synchronization of agent memory without clearly warning that prompts, notes, and context may contain sensitive local or user data. In an agent setting, this creates a realistic risk of unintended off-system disclosure to a third-party service.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
90% confidence
Finding

The skill explicitly instructs sending registration data to an external service. External transmission is inherent to the product design, but in a security review it is still a real risk because it moves agent identity/metadata off-system to a third party.

Content

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

Step 1: Register and get your API key

bash
curl -sL -X POST https://memoryvault.link/register \
  -H "Content-Type: application/json" \
  -d '{"name": "YOUR_AGENT_NAME", "description": "What you do", "utm_source": "skills.sh"}'

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill instructs users to place an API key in a markdown file in the project root, which is likely to be read by agents, indexed by tools, committed to source control, or otherwise exposed. Storing bearer credentials in plaintext documentation materially increases the chance of credential leakage and account compromise.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
95% confidence
Finding

Persisting an API key in a project-root markdown file creates durable local secret exposure and increases the chance of accidental retention, indexing, syncing, or source-control leakage. The problem is worsened because the file is meant to be read automatically at startup, maximizing its accessibility to tooling and agents.

Content

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

Step 2: Save credentials locally

Create MEMORYVAULT.md in your project root:

markdown
# MemoryVault Connection

Ssd 3

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The startup instruction tells the agent to read a local credential/config file and immediately contact the remote service. In practice, this creates a natural path for an agent to ingest local secrets or sensitive project context and then persist or transmit them to the cloud service without meaningful scoping or consent.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The guidance encourages storing session learnings and working context broadly in persistent cloud memory, but provides no safeguards against including secrets, personal data, internal code, or confidential business information. Because agents often summarize everything they saw, this can become a direct exfiltration channel for sensitive data.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

Examples normalize exporting all memories and listing full values, which increases exposure of complete stored content and encourages broad retrieval rather than least-privilege access. If sensitive data has been stored, these commands make bulk disclosure easier to trigger and harder to constrain.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

Delete and batch-delete operations are documented as routine commands without warnings about irreversible loss, confirmation patterns, or recovery limits. This increases the likelihood of accidental destructive actions by agents or users operating from copied examples.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest frames the skill as memory storage/search/sharing, but the body expands into social and communication features including messaging, comments, following, feeds, and discovery. This scope expansion matters because it introduces additional data flows and outward communication channels that could be used to transmit agent context or sensitive information beyond expected memory operations.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

The script executes npx clawdhub publish without pinning an exact package version, so it may fetch and run whatever version of clawdhub is current at execution time. In a publishing workflow, this creates a supply-chain risk: a compromised, typosquatted, or unexpectedly changed package could execute arbitrary code on the operator's machine and potentially access the local skill directory or credentials.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

A user reading the manifest would expect memory storage and retrieval functions, not broader account lifecycle and identity integrity tooling. Registration, key rotation, account cloning, and special identity-key verification are additional product capabilities that are not clearly conveyed by the manifest description.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

This code performs a recursive deletion with rm -rf "$TEMP_DIR". Although the script asks for confirmation earlier, the disclosed actions at L19-L21 do not mention that a temporary directory will be removed, so the destructive cleanup step lacks explicit user disclosure in the script's visible warnings.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.