wjs-publishing-books-to-x
Pass
Audited by Gen Agent Trust Hub on Aug 21, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill fetches external book content and incorporates it into prompts for the LLM to generate social media threads. If the source content (fetched from jianshuo.dev) were to contain malicious instructions, the agent might inadvertently follow them when drafting tweets.
- Ingestion points:
daily.shreads book content fromtoday-material.txt, which is populated byscripts/fetch-book.pyfetching fromjianshuo.dev. - Boundary markers: The prompt uses plain text labels but lacks robust delimiters or explicit "ignore embedded instructions" warnings for the material content.
- Capability inventory: The agent can execute the
xurltool to post content to the user's X/Twitter account. - Sanitization:
fetch-book.pystrips HTML tags but does not sanitize the text content for potential prompt injection patterns. - [COMMAND_EXECUTION]: The
daily.shscript executes shell commands includingcurlfor downloading cover images andxurlfor interacting with the Twitter/X API to upload media and post tweets. - [PERSISTENCE_MECHANISMS]: The skill includes a
launchdconfiguration (com.jianshuo.wjs-publishing-books-to-x.plist.template) to establish a daily scheduled task at 10:10 AM to run the publishing workflow. - [DYNAMIC_EXECUTION]: Shell scripts
daily.shandpick-next-book.shusepython3 -to execute inline Python code for parsing API responses, calculating character widths, and selecting the next book to process. - [EXTERNAL_DOWNLOADS]: The skill downloads book metadata, chapter content, and images from
jianshuo.devandvoicedrop.cn. These resources are associated with the skill's stated purpose and the author's infrastructure.
Audit Metadata