skill-hygiene
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes multiple shell scripts and binary commands to inventory local skills and manage filesystem state.
bin/skill-scan.shperforms recursive directory walks and metadata extraction from other installed skills.lib/cleanup-macos.mjsusesspawnSyncto invokegit,ditto, andcpfor transactional moves and state recovery.lib/runtime-adapters.mjsexecutes agent binaries such ascodex,claude, andcursor-agentwith diagnostic arguments to verify their runtime configuration.- [DYNAMIC_EXECUTION]: The skill implements a sophisticated runtime compilation and execution pattern on macOS.
lib/cleanup-macos.mjsincludes logic to locate the system's C compiler (clang) viaxcrunand compile a bundled helper source file (native/cleanup-macos-helper.c) into a temporary binary.- This compiled helper is used to perform atomic, race-free filesystem operations (e.g.,
renameatx_np) and security metadata verification. - This behavior is consistent with the skill's purpose as a system-level governance utility and is applied exclusively to the skill's own internal components.
- [INDIRECT_PROMPT_INJECTION]: The skill serves as a high-privilege ingestion point for data from other skills.
- Ingestion points:
bin/skill-scan.shreads and parsesSKILL.mdfiles from any directory on the system recognized as an agent skill path. - Boundary markers: The scanner uses
jqto strictly serialize extracted metadata into JSON, reducing the risk of schema confusion or downstream injection. - Capability inventory: The skill has broad capabilities including file deletion (via quarantine), directory creation, and network probing (of local agent binaries).
- Sanitization: The scanner redacts potential secrets and restricts promoted source claims to well-known domains like GitHub.
Audit Metadata