edit
Pass
Audited by Gen Agent Trust Hub on Sep 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill enables the modification of files on the local filesystem using strings provided to the
runfunction. If the agent is instructed to perform edits based on untrusted external data, this could lead to unauthorized file modifications or code injection. - Ingestion points: The
path,old_str, andnew_strarguments in therunfunction withinsrc/edit/__init__.py. - Boundary markers: No specific delimiters or instructions to ignore embedded commands are present in the skill body or logic.
- Capability inventory: The skill has full read and write access to files accessible by the agent, including the ability to expand user directories (e.g.,
~/.ssh) viapathlib.Path.expanduser()insrc/edit/__init__.py. - Sanitization: The implementation does not include sanitization, escaping, or validation of the
new_strcontent before writing it to the target file.
Audit Metadata