Skip to main content
NEW · Blast Radius: a field playbook for leaked API keys on AWS, GCP and Azure
Scan Source

Slack channel scanning

Scan selected, accessible Slack channels and thread replies for credential patterns on a schedule.

Key Features

  • Public and accessible private channels selected as scan targets
  • Channel messages and thread replies
  • Supported file attachments, subject to size and content limits
  • Initial 30-day lookback and scheduled follow-up scans

Requirements

  1. 1Permission to approve the Slack OAuth connection and requested scopes
  2. 2Access to the channels you intend to scan
  3. 3A Cremit Platform account with scan-source configuration access

Step-by-step setup guide

Review the steps needed to configure this integration.

What is in scope?

Cremit discovers Slack public and private channels that the connected token can access. You choose which discovered channels are enabled as scan targets. A private channel that the connection cannot read will not be covered. The current target-discovery path does not include direct messages or group direct messages, even though the OAuth request includes scopes for them. Do not treat those scopes as proof of DM scanning.

For an enabled channel, the worker reads available messages and thread replies and inspects supported attachments. File size, content type, Slack retention, permissions and API errors can leave items unscanned; review the source and target results. A pattern match is a lead to investigate. Issuer-side validity checks apply only to supported credential types.

How far back does the first scan go?

The current first-pass window begins 30 days before the scan. The worker processes a bounded number of messages per job and resumes unfinished work in later jobs. Subsequent scans use a saved cursor. This is scheduled scanning, not an event stream with a guaranteed detection time. Older messages outside the initial window need a separate review. Slack may also limit the history available to the connected token.

Connect and verify

In Cremit Platform, create a Slack scan source and complete the OAuth approval. Review the requested channel and file scopes in Slack. After connection, inspect the discovered target list, enable only the intended channels, and confirm that private channels you need are accessible to the connection. Check the latest scan time and any skipped or failed items before relying on a result.

For a safe check, place a nonworking example string in a channel that is enabled for scanning, run or wait for the scheduled scan, and confirm a finding without using a real credential. If nothing appears, check target enablement, the scan window, token permissions, retention and the scan result. A clean scan covers only what was actually read.

Respond to a finding

Record the message or file location without copying the secret into a ticket. Confirm its issuer, supported verification result and owner. If exposure is confirmed, the owner replaces or revokes the credential at the issuer and checks dependent workloads and available activity. Removing the Slack message alone does not invalidate the credential.

Documentation

Slack conversations.history access and limits

Slack OAuth scope reference

Cremit scanning scope

Get started now

Review the setup steps and required permissions for the Slack (Messages) integration.

Slack (Messages) Integration