conversation-json-to-md-cn
Pass
Audited by Gen Agent Trust Hub on Oct 2, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted chat data from external JSON files, which represents a potential surface for instructions embedded within chat logs.
- Ingestion points: The skill reads data from a user-specified path through the
--inputargument inscripts/convert_conversations.py. - Boundary markers: The script formats the output with Markdown headings (
##for questions,### 回答for answers) to distinguish fields, but it does not add explicit safety warnings for other tools that might later consume the generated files. - Capability inventory: The script has the ability to read JSON files, create directories, write Markdown files, and delete existing
.mdfiles in the target output directory usingpathlib.Path.unlink. - Sanitization: Filenames are sanitized to remove illegal system characters, and internal Markdown headings in assistant responses are automatically demoted to preserve document structure.
- [COMMAND_EXECUTION]: The skill operates by executing a local Python script via the command line.
- Evidence: The
SKILL.mdfile instructs the agent to runpython3 scripts/convert_conversations.pywith arguments for input, output, and optional directory cleaning.
Audit Metadata