Self-Modification
- Category
- Rogue Agent
- Confidence
- 98% confidence
- Finding
The skill metadata explicitly allows 'update skill' to evolve its knowledge base, which is a self-modification pathway. Any mechanism that lets a skill alter files based on conversation content can be abused through prompt injection or social engineering to change future behavior and persistence.
- Content
md --- name: coding-prompt version: "1.1.0" description: AI coding prompt optimizer and coach. This skill should be used whenever the user is writing programming prompts or instructions to an AI during active coding sessions— including when starting new features, correcting AI's direction, reviewing code, or requesting tests. Trigger when: explicit request to optimize/improve/refine a prompt, the user activates this skill (激活编程提示词), or during coding tasks where instructions to AI are vague, missing constraints, missing acceptance criteria, or could benefit from prompt engineering best practices. Also trigger when the user says "更新技能" or "update skill" to evolve this skill's knowledge base. Do NOT trigger for non-coding prompts or general chat. --- # Coding Prompt — AI 编程提示词最佳实践
