tools-file-ops
Pass
Audited by Gen Agent Trust Hub on Jul 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The module utilizes
subprocess.run()to executegit rev-parse --show-toplevel. This is a benign operation used to resolve the project's base directory for path construction. The command uses fixed arguments, preventing injection vulnerabilities. - [PROMPT_INJECTION]: The skill ingests untrusted data through markdown metadata parsing and JSONL storage helpers, creating a surface for indirect prompt injection if the files contain malicious instructions processed by a downstream agent.
- Ingestion points: Markdown parsing in
parse_markdown_metadataand JSONL reading inread_jsonandread_jsonlacrossscripts/file_ops.pyandscripts/jsonl_store.py. - Boundary markers: None identified.
- Capability inventory: The skill performs file system writes via
atomic_write_file, creates directories withensure_directory, and copies trees withcopy_tree. - Sanitization: None; data processing relies on standard string operations and
json.loadswithout additional content filtering.
Audit Metadata