substack-publish
Pass
Audited by Gen Agent Trust Hub on Sep 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes
bashvia theexectool to perform a configuration check at the start of a session. It verifies the existence of the~/.secrets/substack.envfile and ensures that the required configuration keys are present usinggrep. This usage is restricted to setup verification. - [INDIRECT_PROMPT_INJECTION]: The skill processes content from Substack posts, drafts, and comments, which represents an ingestion surface for potentially untrusted data.
- Ingestion points: External data enters the agent context via tools such as
substack-list_posts,substack-get_draft, andsubstack-get_post_comments(as referenced in SKILL.md). - Boundary markers: The instructions do not define specific delimiters or "ignore" instructions for the agent when processing retrieved content to mitigate potential command injection from Substack metadata or comments.
- Capability inventory: The skill possesses capabilities to write to the local filesystem (during setup), execute shell commands, and create or publish content on Substack.
- Sanitization: The instructions recommend converting ProseMirror JSON to markdown or plain text for presentation to the user, which provides a level of structural validation but does not explicitly include security sanitization for instructions.
Audit Metadata