lit-and-monaco-editor

Pass

Audited by Gen Agent Trust Hub on Sep 27, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [SAFE]: The skill provides instructional content and boilerplate code for a web component. It utilizes well-known and trusted libraries for its functionality.
  • [INDIRECT_PROMPT_INJECTION]: The CodeEditor component described in the skill provides a surface for ingesting content from child elements to populate an editor instance. This is a common pattern for code editor components.
  • Ingestion points: The getCode() and getLang() methods in code-editor.ts extract content directly from the component's child elements (this.children[0].innerHTML) or the code attribute.
  • Boundary markers: The implementation does not use explicit boundary markers or delimiters for the ingested code content.
  • Capability inventory: The extracted content is rendered within a Monaco Editor instance for user interaction.
  • Sanitization: Content is processed using .trim() but otherwise is not sanitized, which is the expected behavior for a code editor component designed to handle raw source code.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 27, 2026, 08:22 PM