Back to skill

Security audit

chunfeng

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent Chinese decision-analysis framework, but it tells the agent to automatically retain analysis details and use them to update the skill without clear consent or limits.

Install only if you are comfortable with this skill retaining summaries of analysis interactions and feedback. Before using it for sensitive personal, business, legal, financial, or strategic topics, disable or constrain the memory logging workflow, require explicit consent before writing logs, and review any proposed skill updates before adoption.

Vulnerability Patterns
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • 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
Findings (1)

T02 · Agent Memory Poisoning

Warning
Location
SKILL.md:27
Finding
Automatic Persistent Storage of User-Controlled Analysis and Feedback<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 27–92 **Vulnerability Type**: Persistent memory poisoning and sensitive-data retention **Risk Level**: Medium ### Complete Relevant Snippet The following is an English translation of the relevant instructions: ```text The skill has the ability to evolve continuously. After each analysis, the system automatically records the analysis process and results for subsequent optimization. When the user uses the skill for an in-depth analysis: 1. Analysis record - Problem type, models used, and core insights - Record in: memory/chunfeng-analysis-log.md 2. Effectiveness feedback - User evaluation of analysis quality through conversation feedback - Record effective aspects and areas for improvement 3. Periodic review - Conduct a self-review after every 10 analyses - Identify recurring patterns - Summarize effective methodologies 4. Version update - Update content based on accumulated insights - Update the version number and iteration record - Notify the user about updated content Storage locations: - Analysis log: memory/chunfeng-analysis-log.md - User feedback: memory/chunfeng-feedback.md - Iteration record: the "Version History" section of this document ``` ### Technical Analysis The Skill instructs the Agent to automatically persist the analysis process, results, core insights, and user feedback. The stored information is then consumed during periodic reviews and may be used to update the Skill's methodology and content. Because problem descriptions and feedback are controlled by users, this creates a persistent untrusted-input channel. The instructions do not require: - Explicit user consent before storage. - Redaction of credentials, personal data, or confidential business information. - Separation of data belonging to different users or sessions. - Validation or neutralization of instruction-like content. - Retention limits or a deletion mechanism. - Hum ...[truncated 2841 chars]
Remediation
<![CDATA[ ## Remediation Suggestions 1. **Make persistence explicitly opt-in** - Ask for informed user consent before retaining any analysis or feedback. - Keep logging disabled by default. - Clearly identify what will be stored, why it is needed, and for how long. 2. **Minimize and sanitize stored data** - Store abstract, non-identifying lessons rather than complete prompts or analysis results. - Detect and redact credentials, access tokens, personal identifiers, financial data, health information, and confidential business material. - Reject or encode instruction-like content so that it remains inert data. 3. **Establish a trust boundary** - Mark all memory records as untrusted user-derived content. - Prohibit memory entries from overriding system, developer, safety, or Skill instructions. - Require evidence from multiple independent records before identifying a recurring pattern. 4. **Isolate memory** - Use separate storage for each user and session. - Prevent one user's records from affecting another user's output. - Apply least-privilege access controls to memory and Skill files. 5. **Control self-modification** - Do not automatically update Skill instructions from stored feedback. - Generate proposed changes as a reviewable diff. - Require explicit human approval before modifying methodology, version history, or Skill content. - Maintain signed or immutable trusted baseline files and support rollback. 6. **Add lifecycle controls** - Define a short retention period. - Provide inspection, correction, export, and deletion mechanisms. - Record provenance and timestamps for every retained item. - Delete records when consent is withdrawn or their purpose expires. 7. **Harden periodic review** - Perform reviews in a non-instructional parsing context. - Summarize data through a schema that excludes executable directives. - Log which records contributed to each proposed update. - Test review ...[truncated 50 chars]
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (9)

Vague Triggers

High
Confidence
96% confidence
Finding
The trigger list includes broad phrases such as '帮我系统思考', '深度分析这个问题', and '第一性原理分析', which are common in ordinary conversation and can cause the skill to activate unexpectedly. Over-broad activation increases the chance that user content is processed under this skill without clear intent, which is especially concerning because the skill also describes persistent logging of analysis content and feedback.

Missing User Warnings

High
Confidence
97% confidence
Finding
The skill states that after each analysis the system will automatically record the analysis process and results for later optimization, but it does not clearly obtain user consent or define what data may be stored. This creates a privacy and data-governance risk because sensitive user problems, strategic decisions, or personal details could be persisted without notice or limits.

Ssd 3

Medium
Confidence
96% confidence
Finding
This instruction directs automatic recording of users' analysis interactions into persistent memory logs. Because the skill is designed for deep analysis of complex decisions, the captured content is likely to be sensitive, making silent persistence particularly dangerous from a confidentiality and compliance perspective.

Ssd 3

Medium
Confidence
96% confidence
Finding
The workflow instructs recording problem type, models used, core insights, and user feedback into persistent memory files as part of normal operation. This operationalizes systematic retention of potentially sensitive interaction content, increasing exposure to privacy leakage, unauthorized reuse, and unintended cross-session profiling.

Missing User Warnings

Medium
Confidence
95% confidence
Finding
The document explicitly names persistent memory files for analysis logs and user feedback, but provides no privacy warning, handling policy, or safeguards for sensitive content. Naming storage locations makes the persistence behavior concrete, and in this skill's context the stored material may include confidential business plans, dilemmas, and personal decision data.

Natural-Language Policy Violations

Medium
Confidence
91% confidence
Finding
This markdown file presents all instructions, templates, and guidance exclusively in Chinese, and there is no visible opt-in, alternative language option, or note explaining a justified locale restriction. Under the language/locale policy rule, forcing a single language without user choice is a natural-language policy concern.

Natural-Language Policy Violations

Medium
Confidence
88% confidence
Finding
The document begins entirely in Chinese and provides no indication that language selection is optional or user-driven. Under the stated policy, forcing a specific language without opt-in is a natural-language locale policy violation.

Natural-Language Policy Violations

Medium
Confidence
98% confidence
Finding
This markdown file contains user-facing instructional content exclusively in Chinese, beginning with the title at L001 and continuing throughout the document. Under the policy criteria, forcing a specific language without user opt-in or a documented region-specific justification is a natural-language policy violation.

Natural-Language Policy Violations

Low
Confidence
95% confidence
Finding
This markdown file is entirely written in Chinese and does not indicate that language selection is optional or that the content is intentionally limited to a Chinese-speaking audience. Under the policy rule for natural-language violations, forcing a specific language without user opt-in can be a locale-policy issue.

Static analysis

No suspicious patterns detected.