A documentation skill sounds like a low-risk addition to an AI agent. It reads code, proposes an outline, and helps write documentation.
But those activities cross security boundaries. The skill reads repository content that someone else may control, carries context between sessions, and asks an agent to write files. Its safety depends on both its instructions and the permissions available to the agent.
We evaluated scaffold-docs , an existing documentation-writing skill, against the OWASP Agentic Skills Top 10 . We then implemented a limited set of improvements and checked whether its original workflow still worked.
The most useful finding was not a hidden malicious command.…