de-ai-writing
Pass
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted user-supplied drafts (e.g.,
article.md) which may contain embedded instructions designed to influence the agent's behavior during the rewriting process. - Ingestion Points:
scripts/scan_writing.pyandscripts/compare_claims.pyread external files provided as arguments. - Boundary Markers: The skill instructions (Section 1.1) provide explicit guidance on keeping instructions and editorial findings separate from the article body.
- Capability Inventory: The agent is empowered to rewrite text and execute local Python scripts for analysis.
- Sanitization:
scripts/scan_writing.pyincludes amask_markupfunction that blanks out frontmatter, code blocks, and comments to prevent them from influencing the linguistic scan. - [COMMAND_EXECUTION]: The skill instructs the agent to execute its own local Python scripts (
scan_writing.py,render_review.py, andcompare_claims.py) to perform its primary function. The test suite also utilizessubprocess.runto verify CLI behavior, which is a safe and standard practice in this context. - [DYNAMIC_EXECUTION]: The
scripts/writing_rules.pymodule compiles regular expressions at runtime based on patterns defined in the skill's Markdown reference tables (references/rules-zh.mdandreferences/rules-en.md). This is the intended and safe mechanism for the tool's rule-based engine.
Audit Metadata