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.py script implements an auto-responder that ingests messages from external Slack users and processes them through an AI agent session.\n
  • Ingestion points: slack_bridge.py listens for and captures message events via Slack Socket Mode in the handle_message function.\n
  • Boundary markers: Absent. The user-provided message is appended directly to the end of the system prompt in run_claude_code with a simple 'First message:' prefix.\n
  • Capability inventory: The bridge executes the claude CLI with the --dangerously-skip-permissions flag. 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 subprocess module to programmatically invoke the agent CLI and manage the bridge lifecycle.\n
  • Evidence: subprocess.run(cmd, ...) calls found in slack_bridge.py (to run the agent) and slack_skill.py (within the cmd_scan function).\n- [PRIVILEGE_ESCALATION]: The bridge component deliberately bypasses the agent platform's security controls by using the --dangerously-skip-permissions flag. 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
Risk Level
MEDIUM
Analyzed
Nov 22, 2026, 06:01 PM