novel-reader
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze long-form text from user-provided files. This content is untrusted and could contain adversarial instructions ("prompt injections") disguised as novel content.
- Ingestion points: The
read_novel.pyscript reads arbitrary file content provided via thefilepathargument. - Boundary markers: The script uses a simple bracketed metadata footer (
[start:..., end:...]) but does not implement robust delimiters or instructions for the agent to treat the novel text strictly as data. - Capability inventory: The agent is instructed to write and update files (
大纲.txt,角色/*.txt, etc.) and execute shell commands based on its analysis of the content. - Sanitization: No sanitization or filtering is performed on the input text before it is presented to the LLM for analysis.
- [COMMAND_EXECUTION]: The skill relies on executing a local Python script (
read_novel.py) to access the file system. It also provides instructions for the agent to usepython3 -cone-liners to calculate file metrics, which involves direct execution of Python code via the shell.
Audit Metadata