integrate
Pass
Audited by Gen Agent Trust Hub on Jun 13, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runwithinlib/integrator.pyto perform Git operations such asgit add,git commit, andgit revert. These calls use list-based arguments rather than shell strings, which effectively prevents shell injection vulnerabilities. Execution is limited to the plugin's root directory and is used for core functionality like version control of changes and rollback support. - [DATA_EXPOSURE & EXFILTRATION]: The skill implements a
_validate_pathmethod and_is_path_withinchecks inlib/integrator.pyto ensure all file operations are confined to the target plugin's directory. It specifically checks for and rejects symlinks that point outside the authorized root to prevent directory traversal attacks. File writes use an atomic temp-and-replace strategy to maintain filesystem integrity. - [INDIRECT_PROMPT_INJECTION]: The skill modifies agent instructions by ingesting and inserting protocol templates. It mitigates injection risks through several layers:
- Ingestion points: Processes markdown files (
.md,.markdown) andplugin.jsonwithin the user-specified plugin path. - Boundary markers: Utilizes explicit sentinel markers (
<!-- BEGIN/END MNEMONIC PROTOCOL -->) to isolate the injected memory protocol from the rest of the plugin's instructions. - Capability inventory: Possesses capabilities for file read/write, directory globbing, and Git command execution via subprocess.
- Sanitization: The
lib/template_validator.pymodule scans templates for executable patterns such as shell command substitutions ($() andevalstatements before allowing them to be integrated. - [EXTERNAL_DOWNLOADS]: The skill lists
ruamel.yamlandPyYAMLas optional dependencies inREADME.mdfor enhanced YAML processing. These are well-known, standard libraries for configuration management and do not pose a security risk in this context.
Audit Metadata