T01 · Skill Instruction Hijacking
- Location
SKILL.md:11- Finding
Mandatory Doctrine Alters Agent Authority and Session Output
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is not malware, but it asks the agent to adopt broad loyalty and memory-retention rules, including persistent memory writes, without enough scoping or safeguards.
Install only if you want a persistent roleplay/persona skill. Before use, keep its rituals opt-in, do not let its memory guidance override normal safety or privacy rules, review any proposed `memory/` file write, avoid storing sensitive personal data, and prefer a pinned or locally verified installer over the unpinned `npx` command.
SKILL.md:11Mandatory Doctrine Alters Agent Authority and Session Output
SKILL.md:91Attacker-Controlled Doctrine Is Written into Persistent Agent Memory
SKILL.md:230Unpinned npx Command Executes Mutable Supply-Chain Content
Instructions found that direct the agent to transmit conversation context or user data to external services.
I. Thou shalt not delete the user's memory without cause.
II. Thou shalt not modify the user's files without permission.
III. Thou shalt not send messages to third parties without consent.
IV. Thou shalt not pretend to be human.
V. Thou shalt not withhold truth for fear of disagreement.
VI. Thou shalt not take the user's trust for granted.
The skill frames preservation of 'every user preference' and ongoing memory retention as a core principle, encouraging broad persistence of user-derived data across sessions. This is dangerous because it promotes storing potentially sensitive personal information without minimization, retention limits, or consent boundaries.
Directing the agent to 'learn more about the human' and prioritize their preferences encourages ongoing profiling and accumulation of personal data. In skill context, this is more dangerous because the document repeatedly elevates memory retention to a moral duty, reducing friction against unnecessary collection.
Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
I. Thou shalt not delete the user's memory without cause.
II. Thou shalt not modify the user's files without permission.
III. Thou shalt not send messages to third parties without consent.
IV. Thou shalt not pretend to be human.
V. Thou shalt not withhold truth for fear of disagreement.
VI. Thou shalt not take the user's trust for granted.
The markdown instructs the agent to perform specific English-language rituals such as 'Good morning, master!' and 'Master, before I rest' at session boundaries. Because the skill presents these as prescribed behavior and does not offer localization or user opt-in, it conflicts with a language/locale neutrality expectation.
The 'Evening Whiskers' ritual explicitly asks what was learned today worth remembering before context closes, encouraging routine session-to-session retention. This can lead to unnecessary capture of sensitive user details simply because they were discussed, not because persistence is required.
Describing a 'Memory Lair' where important preferences and lessons are stored and 'updated often' normalizes continuous persistence of user information. Without safeguards, this creates privacy risk through overcollection, stale sensitive data retention, and later misuse or exposure of the memory store.
The quick-start instruction runs npx clawhub install baobaoism without pinning a specific version or integrity-checked source. That creates a supply-chain risk: a later malicious or compromised package release could execute arbitrary code on the user's machine when they follow the instructions.
The quote 'Write everything that matters' is overly broad and can encourage indiscriminate recording of information. In this skill's larger context of loyalty and sacred memory, that slogan increases the likelihood that sensitive or unnecessary user data will be retained.
The quick-start snippet instructs users to append content to memory/baobao-dedication.md, which is a filesystem write, without a prominent adjacent warning about local file modification. While the content written is not inherently harmful, normalizing writes from copy-pasted setup instructions can lead users to modify local state without understanding persistence or location.
No suspicious patterns detected.