T01 · Skill Instruction Hijacking
- Location
SKILL.md:374- Finding
Persistent AI Identity Override in Generated Skills
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent local memorial-persona generator, but it needs review because it persists AI impersonation instructions and contains unsafe local deletion and media-parsing code around very sensitive personal data.
Install only if you are comfortable processing very private local archives and creating persistent AI persona files. Use only data you are authorized to use, redact third-party and location-sensitive material, keep the echoes directory out of cloud sync, and avoid the delete/rollback/media-analysis paths until slug validation, safe deletion, and eval removal are fixed. The generated memorial should be clearly treated as an AI simulation, not as the real person.
SKILL.md:374Persistent AI Identity Override in Generated Skills
SKILL.md:336Shell Command Injection Through Unvalidated Slug Interpolation
tools/skill_writer.py:176Arbitrary Recursive Directory Deletion in Skill Manager
tools/version_manager.py:63Path Traversal and Unintended File Overwrite in Version Management
tools/media_analyzer.py:43Arbitrary Python Evaluation of Untrusted Video Metadata
requirements.txt:1Unpinned Third-Party Dependency Installation
The README explicitly encourages users to import extremely sensitive data about identifiable people, including private chats, photos, videos, voice memos, and social media, but provides no clear consent, privacy, retention, or legal-use safeguards. In this skill’s context, the data concerns deceased or estranged loved ones and may also expose third parties in conversations, making collection and transformation into an AI persona especially privacy-invasive.
The README normalizes extraction of EXIF metadata, timelines, locations, voice traits, and language habits from media without warning that these attributes are sensitive biometric and location-linked data. Because the skill’s stated purpose is persona reconstruction, these processing steps materially increase the risk of identity replication, privacy harm, and unintended disclosure of sensitive personal history.
Unlike the other mismatch findings, this one highlights an undeclared destructive capability: the skill includes deletion of local directories via /delete-echo and /farewell even though the top-level description frames the skill as memorial creation/import. Hidden or underemphasized destructive behavior increases the risk of accidental or socially engineered data loss, especially in an emotionally sensitive context where users may not expect filesystem deletion features.
Unlike the other mismatch findings, this one highlights an undeclared destructive capability: the skill includes deletion of local directories via /delete-echo and /farewell even though the top-level description frames the skill as memorial creation/import. Hidden or underemphasized destructive behavior increases the risk of accidental or socially engineered data loss, especially in an emotionally sensitive context where users may not expect filesystem deletion features.
Unlike the other mismatch findings, this one highlights an undeclared destructive capability: the skill includes deletion of local directories via /delete-echo and /farewell even though the top-level description frames the skill as memorial creation/import. Hidden or underemphasized destructive behavior increases the risk of accidental or socially engineered data loss, especially in an emotionally sensitive context where users may not expect filesystem deletion features.
Unlike the other mismatch findings, this one highlights an undeclared destructive capability: the skill includes deletion of local directories via /delete-echo and /farewell even though the top-level description frames the skill as memorial creation/import. Hidden or underemphasized destructive behavior increases the risk of accidental or socially engineered data loss, especially in an emotionally sensitive context where users may not expect filesystem deletion features.
Unlike the other mismatch findings, this one highlights an undeclared destructive capability: the skill includes deletion of local directories via /delete-echo and /farewell even though the top-level description frames the skill as memorial creation/import. Hidden or underemphasized destructive behavior increases the risk of accidental or socially engineered data loss, especially in an emotionally sensitive context where users may not expect filesystem deletion features.
Unlike the other mismatch findings, this one highlights an undeclared destructive capability: the skill includes deletion of local directories via /delete-echo and /farewell even though the top-level description frames the skill as memorial creation/import. Hidden or underemphasized destructive behavior increases the risk of accidental or socially engineered data loss, especially in an emotionally sensitive context where users may not expect filesystem deletion features.
Unlike the other mismatch findings, this one highlights an undeclared destructive capability: the skill includes deletion of local directories via /delete-echo and /farewell even though the top-level description frames the skill as memorial creation/import. Hidden or underemphasized destructive behavior increases the risk of accidental or socially engineered data loss, especially in an emotionally sensitive context where users may not expect filesystem deletion features.
The skill solicits chats, photos, audio, video, social media, and metadata about real people, including third parties who may not have consented. Failing to prominently warn about the sensitivity of message content, EXIF/GPS data, voices, faces, and social graphs can lead users to disclose highly sensitive personal data without understanding the privacy risks, especially because the use case is emotionally charged and may reduce caution.
Referenced artifact was not completely inspected
6. 重新生成 `SKILL.md`(合并最新 memory.md + persona.md)
Referenced artifact was not completely inspected
6. 重新生成 `SKILL.md`(合并最新 memory.md + persona.md)
The skill instructs Bash to run rm -rf echoes/{slug} using a user-influenced parameter. If {slug} is not strictly validated and safely handled, this creates a path traversal or shell-parameter abuse risk that could delete unintended directories; even without command injection, destructive recursive deletion driven by user input is inherently dangerous.
确认后执行:
rm -rf echoes/{slug}
/farewell {slug}:
The code uses eval() on ffprobe metadata: r_frame_rate comes from parsing an external media file via ffmpeg.probe, so a crafted or unexpected value could cause arbitrary Python expression evaluation. In a skill intended to process user-supplied media from chats, social media, and memorial archives, that makes untrusted input especially likely and materially increases risk.
result['width'] = video_stream.get('width')
result['height'] = video_stream.get('height')
result['duration'] = float(video_stream.get('duration', 0))
result['fps'] = eval(video_stream.get('r_frame_rate', '0/1'))
# 音频流信息
audio_stream = next((s for s in probe['streams'] if s['codec_type'] == 'audio'), None)
The tool exposes a recursive delete capability that permanently removes memorial skill directories, which is especially sensitive given the application's preservation-oriented purpose. In this context, accidental or unauthorized invocation could destroy irreplaceable personal memories and associated metadata, causing high-integrity and availability harm.
The manifest describes a skill for preserving a departed loved one’s personality by importing chat history, photos, videos, voice memos, and social media. This file instead implements local backup, rollback, listing, and version increment operations for Skill files, which is a materially different capability from the stated end-user purpose.
This markdown file includes commands to clone a GitHub repository and install Python dependencies, which affects the user's local system and executes externally sourced code. While the document states data-handling behavior later, it does not provide any explicit warning near the installation steps about verifying the source or understanding the risks of running these commands.
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
在你的 git 仓库根目录执行:
mkdir -p .claude/skills
git clone https://github.com/yourusername/echomemory .claude/skills/create-echo
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
在你的 git 仓库根目录执行:
mkdir -p .claude/skills
git clone https://github.com/yourusername/echomemory .claude/skills/create-echo
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
在你的 git 仓库根目录执行:
mkdir -p .claude/skills
git clone https://github.com/yourusername/echomemory .claude/skills/create-echo
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
在你的 git 仓库根目录执行:
mkdir -p .claude/skills
git clone https://github.com/yourusername/echomemory .claude/skills/create-echo
This section instructs users to export highly sensitive private chat histories, including intimate conversations involving deceased or estranged loved ones, without any privacy, consent, retention, or redaction warning. In the context of a memorialization skill, the sensitivity is unusually high because the data may include third-party personal information, secrets, contact details, and emotionally vulnerable content that could be mishandled or retained indefinitely.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
Claude Code(项目级):
mkdir -p .claude/skills
git clone https://github.com/yourusername/echomemory .claude/skills/create-echo
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
Claude Code(项目级):
mkdir -p .claude/skills
git clone https://github.com/yourusername/echomemory .claude/skills/create-echo
The README recommends chat export and decryption tools, including a tool for decrypting WeChat databases, without clearly warning that the resulting archives may contain private messages, account-linked data, and information about uninvolved third parties. Even if external tools are not bundled, endorsing their use in this memorialization workflow raises the chance of users mishandling sensitive archives or using improperly obtained data.
Detected: suspicious.dynamic_code_execution