Back to skill

Security audit

龙虾记忆大师

Security checks for vulnerabilities and agentic risk

Overview

This skill is a persistent-memory tool, but it stores and reuses user/project history broadly and automatically without clear consent, retention, or deletion controls.

Install only if you intentionally want a Chinese-language persistent-memory system. Before use, decide what may be stored, avoid secrets or regulated personal data, inspect the workspace memory files regularly, and add your own deletion/retention controls before enabling cron or autonomous learning.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/archive-memory.js:10
Finding

Plaintext Persistence of Potentially Sensitive Conversation Data

Content
View full analysis
\n${buffer}`; fs.appendFileSync(archiveFile, archiveContent); ``` ```javascript fs.writeFileSync(BUFFER_FILE, `# Working Buffer\n\n**Status:** CLEARED\n**Cleared At:** ${timestamp}\n`); ``` The documented data flow is defined in `SKILL.md:30-33, 59-63, 117-121` and `references/memory-system-guide.md:19-22, 47-52`. It instructs the memory system to retain conversation summaries, user preferences, project state, and key decisions in Markdown files and to load those files in later sessions. ### Technical Analysis The archive operation reads content from `memory/working-buffer.md` and appends it directly to a dated Markdown archive. No encryption, sensitive-data filtering, explicit consent check, restrictive permission configuration, or retention limit is applied before persistence. Clearing the working buffer does not delete the archived information. It only overwrites the buffer after its previous contents have been copied into `memory/YYYY-MM-DD.md`. Consequently, sensitive information may remain indefinitely in dated archives. The files are created using the process's default mode subject to the active `umask`. The implementation does not explicitly require owner-only permissions such as `0600` for files or `0700` for the memory directory. Security therefore depends on external workspace permissions and runtime configuration. ### Attack Path 1. A conversation contains sensitive user preferences, p ...[truncated 1340 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (13)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill instructs automatic archival into persistent files and modification of session state when context exceeds a threshold, without user notice or consent. This is dangerous because it can silently write conversation content into long-term storage and alter workspace files, creating privacy, compliance, and integrity risks.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

Automatically recording user preferences, decisions, project progress, and learning activity creates a durable profile of the user without any visible privacy warning or consent flow. This can expose sensitive personal or business information over time and normalize hidden retention of data the user may not expect to be stored.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The file uses Chinese for the displayed skill name and most instructional content, while not stating that the skill is intentionally limited to Chinese-speaking users or offering an alternative language. This can constitute a language policy issue when a skill implicitly forces a language without user opt-in.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The activation conditions are extremely broad, covering ordinary topics like prior work, dates, people, and preferences, so the skill may trigger in many normal conversations and begin memory operations without clear user intent. In a persistence-focused skill, overbroad activation materially increases the chance of collecting, retaining, or surfacing sensitive data unexpectedly.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The instructions direct the agent to persist and archive conversation details and user-related information into long-term memory files. In this skill context, that is especially dangerous because the stated purpose is persistent memory, so the behavior is central and likely to occur frequently, increasing the chance of storing sensitive or regulated data and later re-exposing it.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The workflow instructs the agent to search prior memory files and answer from them, which can surface private or stale information from previous sessions. This is risky because retrieval from long-term stores can disclose more than the user intended in the current conversation, especially when memories include people, dates, decisions, or preferences.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

Autonomous daily learning and rotating logs create ongoing accumulation of user and project information without a clear boundary on what is collected or how long it is retained. Continuous background retention amplifies privacy and data governance risk, particularly in a skill designed to make the assistant stateful over long periods.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The guide explicitly instructs persistent storage of user information, preferences, decisions, and project state across multiple files, including automatic archival, but provides no user consent flow, retention notice, minimization guidance, or deletion policy. In a memory-management skill, this is especially risky because the capability is designed to normalize ongoing collection of potentially sensitive personal and work data, increasing privacy, compliance, and unauthorized-retention exposure.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The document describes scheduled autonomous actions such as daily archival, cleanup, learning, and reporting at fixed times without any user warning or approval model. Autonomous background behavior in a memory skill is dangerous because it can modify persisted records, derive new data, or generate reports without contemporaneous user awareness, reducing transparency and increasing the chance of unwanted data processing.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The file header and all user-facing console messages are written in Chinese, which imposes a specific language on users without any opt-in or indication that the skill is intentionally limited to a Chinese-speaking context. This matches the policy category for language or locale constraints that are not optional or clearly justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The entire guide is written in Chinese and does not indicate that other languages are supported or that language choice is user-selectable. Under the stated policy, forcing a specific language without opt-in can be a natural-language policy violation unless the locale restriction is clearly documented and justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
86% confidence
Finding

The script's user-facing output and comments are entirely in Chinese, including status messages shown during execution. This can violate a language/locale policy when a skill imposes one language without offering opt-in, selection, or documenting a justified region-specific constraint.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.