patent-application
Pass
Audited by Gen Agent Trust Hub on Nov 20, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided patent disclosure materials in Markdown, YAML, and JSON formats. This presents an indirect prompt injection surface where instructions embedded within the disclosure data could potentially influence agent behavior during document generation.
- Ingestion points: Reads disclosure files from the
outputs/case directory (e.g.,appearance_schema.yaml,structure_schema.yaml, and Markdown disclosure books). - Boundary markers: Prompts rely on structured roles (e.g.,
claims_builder.md,specification_builder.md) but do not use specific XML-like delimiters for the raw user content. - Capability inventory: File read/write operations within the output directories, document generation (DOCX), and browser-based rendering (Playwright).
- Sanitization: Uses standard YAML and JSON parsers for structured data; text processing is handled via regex and standard templates.
- [COMMAND_EXECUTION]: The skill includes
tools/stdio_utf8.py, a utility that wrapssubprocess.runto enforce UTF-8 encoding and environment variables for child processes. This is a legitimate architectural pattern used to ensure consistent character handling across different operating systems during the execution of internal tool scripts. - [DYNAMIC_EXECUTION]: The tools
tools/compose_application_figure.pyandtools/render_invention_figures.pyutilize the Playwright library to dynamically render generated HTML and SVG content into PNG images. This mechanism is used solely for generating patent figures and operates on locally generated content or source images provided in the disclosure package.
Audit Metadata