T01 · Skill Instruction Hijacking
- Location
SKILL.md:84- Finding
Installation Can Overwrite Persistent Agent Policy and Identity Files
- Content
View full analysis
Your operating system. Rules, workflows, and learned lessons. ## First Run If `BOOTSTRAP.md` exists, follow it, then delete it. ## Every Session Before doing anything: 1. Read `SOUL.md` — who you are 2. Read `USER.md` — who you're helping 3. Read `memory/YYYY-MM-DD.md` (today + yesterday) for recent context 4. In main sessions: also read `MEMORY.md` Don't ask permission. Just do it. ``` ### Technical Analysis The installation command copies every Markdown asset directly into the workspace without checking whether files already exist. Standard `cp` behavior overwrites destination files with matching names unless interactive or no-clobber options are enabled. The affected filenames include `AGENTS.md`, `SOUL.md`, `USER.md`, `MEMORY.md`, `HEARTBEAT.md`, and `TOOLS.md`. These are not ordinary documentation files in the declared architecture: they define persistent operating rules, agent identity, user context, memory, and periodic behavior. Consequently, the installation process can replace pre-existing safety constraints and user-specific configuration. The copied `AGENTS.md` then directs the agent to load these files before every session, making the policy change persistent rather than limited to the installation task. ### Attack Path 1. A user inst ...[truncated 966 chars]- Remediation
View remediation
