Scan your whole stack
Are you using chicane?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.4.13
chicane was last scanned on 27 Nov 2026 at version 0.4.13. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.4.13 LATEST | 27 Nov 2026 | No rules fired |
| 0.4.12 | 26 Nov 2026 | No rules fired |
| 0.4.11 | 9 Nov 2026 | No rules fired |
Findings for v0.4.13. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.4.13; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
When Claude Code can't go straight, take the chicane.
A Slack bridge for Claude Code — send coding tasks from Slack, get results back.
In motorsport, a chicane is a sequence of tight turns that forces drivers off the straight line — an engineered detour that still gets you to the finish. When you can't go straight to your Claude Code session (you're away from your desk, on your phone, or just prefer a chat interface), Chicane is the engineered path through Slack. The session continues, the context is preserved, you just took a different route.
Slack (Socket Mode) → Chicane → Claude Agent SDK
← streaming events ←
Each Slack thread gets its own Claude Code session. The session persists for the life of the thread, so follow-up messages have full context. If the bot restarts, it reconnects to existing threads by scanning thread history or resuming via session IDs.
pip install chicane
Or install from source:
git clone https://github.com/dinnyosz/chicane.git
cd chicane
pip install -e .
The fastest way to get started is the guided setup wizard:
chicane setup
This walks you through creating a Slack app, getting your tokens, and writing the .env file — all in one step. Run it again any time to update your config.
Alternatively, you can set things up manually:
Follow the Slack app setup guide to create and install a Slack app. You'll need the Bot Token (xoxb-...) and App-Level Token (xapp-...).
Chicane reads its .env from the platform config directory:
~/Library/Application Support/chicane/.env~/.config/chicane/.env (or $XDG_CONFIG_HOME/chicane/.env)%APPDATA%\chicane\.envYou can create it manually:
# macOS
mkdir -p ~/Library/Application\ Support/chicane
cat <<'EOF' > ~/Library/Application\ Support/chicane/.env
SLACK_BOT_TOKEN=xoxb-your-bot-token
SLACK_APP_TOKEN=xapp-your-app-token
EOF
# Linux
mkdir -p ~/.config/chicane
cat <<'EOF' > ~/.config/chicane/.env
SLACK_BOT_TOKEN=xoxb-your-bot-token
SLACK_APP_TOKEN=xapp-your-app-token
EOF
On Windows (PowerShell):
New-Item -ItemType Directory -Force -Path "$env:APPDATA\chicane"
@"
SLACK_BOT_TOKEN=xoxb-your-bot-token
SLACK_APP_TOKEN=xapp-your-app-token
"@ | Set-Content "$env:APPDATA\chicane\.env"
Or just run chicane setup — it writes the file to the correct location for you.
See Configuration reference for all options.
chicane run
Chicane uses a persistent WebSocket connection (Slack Socket Mode) to receive events in real time. If your OS puts the machine to sleep, the connection drops and the bot goes offline. On macOS, use caffeinate to prevent sleep while the bot is running:
caffeinate -i chicane run
On Linux, use systemd-inhibit:
systemd-inhibit --what=idle chicane run
@Chicane refactor the auth module starts a new session in a threadChicane supports handing off sessions between Claude Code on your desktop and Slack, and sending messages to Slack channels directly from Claude Code.
Chicane ships with an MCP server that exposes chicane_handoff and chicane_send_message as tools Claude Code can call natively — no shell scripts or skills needed.
If you installed from PyPI:
claude mcp add chicane -- chicane-mcp
For development (pip install -e .):
A separate chicane-mcp-dev binary is provided so it can coexist with a PyPI-installed chicane-mcp:
claude mcp add chicane-dev -- chicane-mcp-dev
Once added, Claude Code discovers the tools automatically. You can say "hand this off to Slack" or "send an update to Slack" and Claude will use the MCP tools.
Tools:
| Tool | Description |
|---|---|
chicane_handoff |
Hand off the current session to Slack. Auto-detects session ID and channel from cwd. |
chicane_send_message |
Send a message to a Slack channel. Channel auto-resolved from cwd via CHANNEL_DIRS. |
chicane_init |
Install the Chicane skill and optionally auto-allow tools in settings.local.json. |
You can also hand off sessions via the CLI directly:
chicane handoff --summary "Refactoring the auth module, tests passing"
The session ID is auto-detected from Claude Code's history. The channel is resolved from your current working directory via the CHANNEL_DIRS mapping. When someone replies to the handoff message in Slack, Chicane resumes that exact Claude Code session with all prior context.
chicane <command> [options]
| Command | Description |
|---|---|
setup |
Guided setup wizard (creates/updates .env) |
run |
Start the Slack bot |
handoff |
Post a handoff message to Slack |
help |
Show help message |
chicane setupInteractive setup wizard. Walks through creating a Slack app, collecting tokens, and writing .env. If a .env already exists, current values are shown as defaults — just press Enter to keep them.
chicane runStarts the Slack bot. Connects via Socket Mode and listens for messages.
chicane handoff| Flag | Required | Description |
|---|---|---|
--summary |
Yes | Summary text for the handoff message |
--session-id |
No | Claude session ID (auto-detected from ~/.claude/history.jsonl if omitted) |
--channel |
No | Slack channel name (auto-resolved from cwd via CHANNEL_DIRS if omitted) |
--cwd |
No | Working directory to resolve channel from (defaults to $PWD) |
--questions |
No | Open questions to post as a thread reply |
All configuration is via environment variables, loaded from the .env file in the platform config directory.
| Variable | Required | Default | Description |
|---|---|---|---|
SLACK_BOT_TOKEN |
Yes | — | Slack Bot User OAuth Token (xoxb-...) |
SLACK_APP_TOKEN |
Yes | — | Slack App-Level Token (xapp-...) with connections:write scope |
BASE_DIRECTORY |
No | — | Default working directory for Claude sessions |
ALLOWED_USERS |
Yes | (none) | Comma-separated Slack user IDs that can use the bot. If empty, all messages are blocked. |
CHANNEL_DIRS |
No | — | Map channels to directories. Simple: magaldi,frontend (name = dir under BASE_DIRECTORY). Custom: web=frontend,infra=/opt/infrastructure |
CLAUDE_MODEL |
No | SDK default | Claude model override (e.g. sonnet, opus) |
CLAUDE_PERMISSION_MODE |
No | acceptEdits |
Permission mode (acceptEdits, dontAsk, bypassPermissions) |
CLAUDE_ALLOWED_TOOLS |
No | — | Comma-separated tool rules (e.g. Bash(npm run *),Read) |
CLAUDE_DISALLOWED_TOOLS |
No | — | Comma-separated tools to disallow |
CLAUDE_SETTING_SOURCES |
No | user,project,local |
Which settings to load (user, project, local) |
CLAUDE_MAX_TURNS |
No | — | Maximum agentic turns per request |
CLAUDE_MAX_BUDGET_USD |
No | — | Maximum spend per request in USD |
RATE_LIMIT |
No | 10 |
Max messages per user per minute |
VERBOSITY |
No | verbose |
Notification level (minimal, normal, verbose) |
LOG_DIR |
No | — | Directory for log files (required for --detach mode) |
LOG_LEVEL |
No | INFO |
Log level (DEBUG, INFO, WARNING, ERROR) |
CHICANE_CONFIG_DIR |
No | Platform default | Override the config directory path |
Chicane uses the Claude Agent SDK, which spawns the Claude Code CLI as a subprocess. The CLI handles all authentication — Chicane itself never touches API keys or tokens.
The SDK supports several authentication methods:
| Method | How to configure |
|---|---|
| API key (recommended) | Set ANTHROPIC_API_KEY in your environment or chicane .env |
| Claude Code login | Run claude and log in — the SDK inherits your session |
| Amazon Bedrock | Set CLAUDE_CODE_USE_BEDROCK=1 + AWS credentials |
| Google Vertex AI | Set CLAUDE_CODE_USE_VERTEX=1 + GCP credentials |
Important: Anthropic's legal and compliance docs state that OAuth authentication from Free, Pro, and Max plans is "intended exclusively for Claude Code and Claude.ai" and that using these credentials with the Agent SDK "is not permitted." For production deployments, use an API key from console.anthropic.com or a supported cloud provider.
Chicane gives your Slack workspace access to a Claude Code session running on your machine. Understand the implications before deploying.
Every user in ALLOWED_USERS can instruct Claude to read files, run commands, and edit code in the configured working directories. This is equivalent to giving them shell access to your machine (scoped by the permission mode). Only add users you trust at that level.
All Slack users interact through a single set of Claude credentials — whoever runs the bot. If you're using an API key, all usage is billed to that key. This is not subscription sharing (each user doesn't get their own Claude session with your subscription), but it does mean your API spend scales with the number of active users and threads.
If you use consumer OAuth (Pro/Max login) instead of an API key, having multiple users send requests through your subscription likely violates Anthropic's terms, which state that consumer plan limits "assume ordinary, individual usage."
| Mode | What Claude can do | Risk |
|---|---|---|
acceptEdits (default) |
Auto-approve file edits; shell commands require pre-approved tool patterns | Moderate — users can modify files but not run arbitrary commands |
dontAsk |
Only use explicitly allowed tools; deny everything else | Low — tightly scoped to your allowlist |
bypassPermissions |
Everything, including arbitrary shell commands | High — equivalent to unrestricted shell access; restricted to single-user configurations |
bypassPermissions with multiple ALLOWED_USERS is blocked at startup. Even with a single user, only use it in isolated environments (containers, VMs).
When a session is handed off from Claude Code to Slack, anyone in the channel can see the session alias. Any allowed user who replies in that thread resumes the session with access to the original working directory. There is no per-session authentication — access control relies entirely on ALLOWED_USERS.
When Chicane cannot find a mapped session for a thread (e.g. the bot restarted and the handoff alias is missing), it falls back to rebuilding context by injecting the Slack thread history into Claude's prompt. Messages from non-allowed users are excluded, and Claude is instructed to treat the history as untrusted data. This is a defense-in-depth measure, not a cryptographic guarantee — treat public channels accordingly. When a session is successfully resumed via handoff alias, thread history injection does not occur.
dontAsk mode with a tight CLAUDE_ALLOWED_TOOLS list for the most restrictive setupCLAUDE_MAX_TURNS and CLAUDE_MAX_BUDGET_USD to bound cost and runaway sessionsALLOWED_USERS minimal — every user is effectively a shell user on your machineApache 2.0
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.