claude-migrate-memory-to-doc
Pass
Audited by Gen Agent Trust Hub on Sep 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONMETADATA_POISONINGPERSISTENCE
Full Analysis
- [COMMAND_EXECUTION]: The skill provides complex shell scripts intended for the agent to execute. These scripts manage file system operations such as creating symlinks (
ln -s), modifying configuration files (sed,grep,tee), and executing an external AI tool (codex exec). While functional for the stated migration purpose, these represent significant local execution capabilities that should be monitored. - [INDIRECT_PROMPT_INJECTION]: The skill's primary workflow involves reading and classifying "memory" files from
~/.claude/projects/*/memory/. These files, which contain past user interactions and feedback, act as an ingestion point for untrusted data. If these historical logs contain malicious instructions, they could influence the agent's behavior during the migration process. - Ingestion points:
~/.claude/projects/*/memory/(documented inSKILL.mdandreferences/diagnosis_and_scoping.md). - Boundary markers: Absent. The skill does not instruct the agent to use specific delimiters or ignore embedded instructions when reading memory content.
- Capability inventory: File read/write, directory creation (
mkdir), and shell command execution viafind,grep,sed,ln,rm, andcodex exec(documented inreferences/review_and_verification.mdandreferences/tool_agnostic_migration.md). - Sanitization: Absent. The skill relies on multi-agent review to verify migration accuracy but provides no mechanisms to filter or sanitize the content of the memory files being processed.
- [METADATA_POISONING]: The skill includes a file titled
.security-scan-passedwhich claims the skill has passed various security scans (gitleaks, pattern-based validation). This is a self-referential safety attestation that attempts to influence the judgment of security analyzers and should not be considered authoritative. - [PERSISTENCE]: The skill implements persistent changes to the user's environment to maintain its tool-agnostic architecture. It modifies the local
~/.codex/config.tomlto increase document processing limits and creates a persistent symlink~/.codex/AGENTS.mdpointing to~/.claude/CLAUDE.md, ensuring its configurations remain active across sessions.
Audit Metadata