complete-example
Pass
Audited by Gen Agent Trust Hub on Oct 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runwithinscripts/format_guard.pyto invoke LaTeX compilers (specificallyxelatex) andbibtex. These calls are used to verify project build integrity after modifications and are executed as controlled lists of arguments restricted to the project root, rather than through a shell. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted local project data which creates an injection surface.
- Ingestion points:
scripts/resource_scanner.pyreads filenames and content from code (.py,.c, etc.), references (.bib), and figures.scripts/semantic_analyzer.pyreads existing.texfiles. - Boundary markers: Prompts in
config.yamlutilize structural headings but do not include explicit 'ignore embedded instructions' warnings for the interpolated resource data. - Capability inventory:
scripts/format_guard.pyperforms file writes for project modifications and executes compiler subprocesses.scripts/skill_controller.pymanages file system operations for backups and logs. - Sanitization:
scripts/security_manager.pyimplements proactive sanitization, filtering out dangerous LaTeX commands (e.g.,\geometry,\setlength,\usepackage) and keywords from generated content before application. - [EXTERNAL_DOWNLOADS]: The skill documentation in
SKILL.mdinstructs the agent to use thegh(GitHub) CLI to upload bug reports to the vendor's repository athuangwb8/bensz-bugs. This is a standard vendor-provided maintenance channel and is governed by constraints prohibiting the upload of sensitive credentials or identity information. - [SAFE]: The skill implements several defensive best practices, including isolated task directories (
.bensz-api/and.complete_example/), SHA256 integrity verification for system configuration files, and a custom template renderer inscripts/template_renderer.pythat avoids unsafe evaluation methods.
Audit Metadata