layout-library-importer
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute local scripts
build_layout_gallery.pyandvalidate_library.pyfor repository maintenance and validation. - [DYNAMIC_EXECUTION]: The import workflow uses a Python one-liner for image conversion that interpolates user-provided file paths directly into the command string. This pattern is susceptible to command injection if paths contain malicious shell characters or quotes.
- [INDIRECT_PROMPT_INJECTION]: The skill ingests external content from the user to create new repository assets. 1. Ingestion points: User-supplied layout images and bilingual prompt text are processed into the repository's reference folder. 2. Boundary markers: The generated markdown files use HTML-style comments (
<!-- zh -->,<!-- en -->) as delimiters. 3. Capability inventory: The skill has the ability to write files to the repository (references/,images/,client/cache/) and execute local scripts. 4. Sanitization: There is no explicit requirement for the agent to sanitize or validate the user-supplied prompt text before writing it to the filesystem or including it in the layout gallery. - [EXTERNAL_DOWNLOADS]: The synchronization workflow involves checking a project-specific external URL (
https://handraw-style.com/gallery/layouts.html) to verify deployment status via network requests. The domain name features a slight spelling variation from the internal project name ('handraw' vs 'handdraw'), which may indicate an external dependency or typo.
Audit Metadata