Intent-Code Divergence
Medium
- Confidence
- 96% confidence
- Finding
- The skill recommends Mermaid initialization with `securityLevel: 'loose'` as a normal HTML rendering option, but does not explain that this relaxes Mermaid's built-in protections around rendered content and interactions. In a skill explicitly focused on generating/rendering diagrams, users are likely to paste untrusted Mermaid text, so normalizing the unsafe setting increases the chance of scriptable or unsafe content being rendered in downstream HTML contexts.
