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 --input argument in scripts/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 .md files in the target output directory using pathlib.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.md file instructs the agent to run python3 scripts/convert_conversations.py with arguments for input, output, and optional directory cleaning.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 2, 2026, 03:30 PM