slack-skill
Warn
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: MEDIUMINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONPRIVILEGE_ESCALATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The
slack_bridge.pyscript implements an auto-responder that ingests messages from external Slack users and processes them through an AI agent session.\n - Ingestion points:
slack_bridge.pylistens for and captures message events via Slack Socket Mode in thehandle_messagefunction.\n - Boundary markers: Absent. The user-provided message is appended directly to the end of the system prompt in
run_claude_codewith a simple 'First message:' prefix.\n - Capability inventory: The bridge executes the
claudeCLI with the--dangerously-skip-permissionsflag. The system prompt explicitly instructs the agent that it has 'full access' to the workspace, including sensitive files like Obsidian vaults and various system tools.\n - Sanitization: Absent. There is no escaping or validation of the Slack message content before it is interpolated into the agent's prompt.\n- [COMMAND_EXECUTION]: The skill relies on the
subprocessmodule to programmatically invoke the agent CLI and manage the bridge lifecycle.\n - Evidence:
subprocess.run(cmd, ...)calls found inslack_bridge.py(to run the agent) andslack_skill.py(within thecmd_scanfunction).\n- [PRIVILEGE_ESCALATION]: The bridge component deliberately bypasses the agent platform's security controls by using the--dangerously-skip-permissionsflag. This configuration allows the agent to execute any tool or command without human-in-the-loop confirmation, which significantly elevates the impact of a successful indirect prompt injection attack.
Audit Metadata