Skip to content
Benchmarks

redact-secret · Report

App-level token

App-level token, prefixed xapp-.

  • Slack
  • Detectors: slack-app-level-token
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT2 · Tool-corroborated
  • Dossier researched2026-09-29
Documented alongside xoxb- in the same provider prefix table; not matched by the bot-token-only pattern. Measured as the Beta.8 arrival family slack-app-level-token (#211, research #222): only the xapp- prefix is provider-documented; section widths and alphabet are tool-only and contradictory (4-section 97-character vs Nosey Parker's 2-section 42-character) and stay unresolved. Scored as the arrival family slack-app-level-token (#730; docs/decisions/2026-09-24-score-arrival-families-by-finding-type.md): the product types it inside the shared slack-token detector as slack_app_level_token, so its findings carry the arrival id and its status comes from its own contract, profile and ledger rows. slack-app-level-token is not a registry detector id.

Research record

From credential-evidence snapshot-2026.10.06.4 · records at 77ce761 · schema 1.8.0. It describes the research on the format, not what any scanner or the product does, and not a support status.
  • Review stateDraft, not reviewed
  • Format revision1 · current
  • ResearchResearched
  • Researched2026-09-29

3 events in the review history: 2 observed, 1 reviewed. Latest: observed on 2026-09-29 by automation, project maintainer. Project-maintained review is not independent validation. The family record at this release.

Format

Provider format research from credential-evidence snapshot-2026.10.06.4 · records at 77ce761 · schema 1.8.0.

What it looks like

Descriptive pattern
^xapp-[0-9]+-[A-Za-z0-9]+-[0-9]+-[A-Za-z0-9]+$

Parts are shown as recorded. Evidence classes belong to the facts below; no class is assigned to a part.

Format facts

  • Unresolved · candidate-source · current · observed 2026-09-24

    Candidate provider source, not accepted as the provider source by the legacy contract (xapp- app-level token prefix): the xapp- prefix only; no section widths, alphabet or length

  • Tool corroborated · tool-corroboration · current · observed 2026-09-24

    Pinned scanner rules are consistent with the contract grammar (2 artifacts: gitleaks 8.30.1; osv-scalibr veles).

  • Provider documented · field-prefix · current · observed 2026-09-24

    prefix: App-level tokens begin with the literal xapp-.

    • docs.slack.dev/apis/events-api/using-socket-modeprovider-documentation · last read 2026-09-29 · latest outcome read · supports Placeholders only (SLACK_APP_TOKEN='xapp-***', Authorization: Bearer xapp-1-123); the token goes in the Authorization header.
    • docs.slack.dev/authentication/tokensprovider-documentation · last read 2026-10-04 · latest outcome read · supports "App-level token strings begin with xapp-." No section widths, alphabet, length or example.
  • Provider documented · field-section-structure · current · observed 2026-09-24

    section-structure: After the prefix: a digit section, then three more dash-separated sections (digit, alphanumeric, digit, alphanumeric). (Provider-authored placeholders disagree on whether the version section exists; no provider page states section count. The contract pattern uses this 4-section order with open widths only so positives are well-formed; no twin or control removes the version section or asserts silence on the python-mock order.)

    • gitleaks/gitleaks @ master: cmd/generate/config/rules/slack.goprovider-sdk-source · last read 2026-09-24 · latest outcome read · supports gitleaks SlackAppLevelToken (?i)xapp-\d-[A-Z0-9]+-\d+-[a-z0-9]+, "based on a limited number of examples".
    • github.com/slackapi/java-slack-sdkprovider-sdk-source · last read 2026-09-24 · latest outcome read · supports Java SDK socket-mode guide/sample placeholder xapp-1-<A+3>-<3 digits>-<3 x>: version digit first. Placeholder widths are not real.
    • github.com/slackapi/python-slack-sdkprovider-sdk-source · last read 2026-09-24 · latest outcome read · supports Contradiction: the python SDK socket-mode mock uses xapp-<A+3>-<3 digits>-<3 lower> with no version section.
    • github.com/slackapi/slack-cliprovider-sdk-source · last read 2026-09-24 · latest outcome read · supports internal/goutils/strings_test.go placeholder xapp-1-<A+3>-<4 digits>-<4 upper>.
  • Unresolved · field-section-widths · current · observed 2026-09-24

    section-widths: Section widths 1 / 11 / 13 / 64 (97 characters total). (Not frozen. Positives use 1/11/13/64 so they satisfy gitleaks, veles/kingfisher, the product's interim xapp-[A-Za-z0-9_-]{20,} floor and Slack CLI's prefix-only redaction; they cannot also satisfy Nosey Parker's 2-section shape, which is recorded, never asserted against: no fixture uses a 42-character xapp- value.)

  • Unresolved · field-alphabet · current · observed 2026-09-24

    alphabet: Section 2 uppercase alphanumeric (app-ID-like); final section lowercase hex. (Not frozen; the pattern accepts any alphanumeric in sections 2 and 4. No fixture twins on tail case or width.)

  • Unresolved · field-app-id-embedding · current · observed 2026-09-24

    app-id-embedding: Whether section 2 equals the public App ID. (An App ID alone is a public identifier and is used as a public-id control; nothing asserts it is or is not embedded.)

  • Unresolved · listed-references · current · observed 2026-09-24

    The legacy contract lists 3 references without stating which property each supports.

  • Tool corroborated · dossier-research · current · observed 2026-09-29

    Legacy dossier research (verdict ready, tier T2) cited 5 sources; the dossier does not attribute sources to individual properties.

  • Unresolved · taxonomy-sources · current · observed 2026-09-29

    The legacy taxonomy lists 1 source for this family. The taxonomy records no date; the dossier researchedAt is used as the observed-at date.

Open questions

No open question is recorded for this revision.

Benchmark dossier notes

From the provider dossier, as written. The evidence level above says how well the format is backed; a fact the dossier does not record is not shown.
Shape
prefix xapp-. Tools and provider placeholders suggest a one-digit version section, an app-id-like section, a 13-digit section and a 64-hex secret (97 characters), but no provider text states any of it. The contract freezes only four sections in digit, alphanumeric, digit, alphanumeric order with open widths.
Basis
T1 for the prefix and role (tokens page, Socket Mode guide, which shows Authorization: Bearer xapp-1-123). Everything else is T2 or weaker. gitleaks' rule ((?i)xapp-\d-[A-Z0-9]+-\d+-[a-z0-9]+, 2023-06-15, "based on a limited number of examples") fixes the four-section order with open widths; 1/11/13/64 is only its test samples, taken from a third-party repository, not a width it enforces (an earlier reading said gitleaks and osv-scalibr agree on 1/11/13/64; corrected by redact-secret#1013). osv-scalibr is the rule that fixes those widths, Kingfisher's rule is an import of it, Docker portcullis (2026-05-08) states the four-segment shape with its own ranges, and Nosey Parker's rule is two sections and 42 characters. Slack's own placeholders disagree: four sections in the Java SDK guide and sample and the Slack CLI tests, one to three elsewhere (Socket Mode page, bolt fixtures).
Issuance
Basic Information > App-Level Tokens, scope chosen at creation (connections:write, authorizations:read, app_configurations:write). Not attempted.
Contract in core
detector-families.md (Beta.8 wave 1, empirical route).

In this benchmark

Fixture rows on the current run. Counts are for redact-secret in published · redact-secret 0.1.0-beta.14 mode.
Fixtures
40
Left readable
0
Redacted too much
0
False alarms
0

40 fixtures: 17 expect a redaction, 23 must stay quiet. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T2Tool-corroborated32000
T3Project policy8000

Every scanner on the same fixtures

In run order. Counts are what each scanner recorded on this family's fixtures, whichever rules it has; a scanner with no rule for the family has nothing to report on it.

Counts per scanner on this family's fixtures
ScannerFixturesLeft readableToo muchFalse alarms
flare-redactRuntime library · 1.6.1 · Published npm package · secrets-only (pii, generic_assignment disabled) · JavaScript engineNo rule maps to it401511
gitleaksRepository scanner · 8.30.1 · Directory scan · default rules1 rule targets it40002
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped40000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabledNo rule maps to it401700

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
Only the xapp- prefix is provider-documented; the four-section order rests on peer rules and Slack placeholders that disagree with other Slack placeholders, and widths stay open (osv-scalibr 1/11/13/64, Docker 1/8-16/8-16/32-128 hex, Nosey Parker two sections). READY-T2 only if ruling Q-SL accepts the four-section placeholders; otherwise one issued token (#222 checklist, restated in #1013).

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
xoxa-2- and other sectioned Slack prefixes share the skeleton; xapp-store and similar words are not tokens; app config tokens (xoxe.xoxp-) are a different credential; app ids are public.

Scanner rules for this family

Mapped by hand (reviewed 2026-09-30) from each scanner's pinned rule file, never from what a scanner found on the fixtures.
Peer scanner rules that target this family
ScannerRuleWhat the rule matches
gitleaks · rules 8.30.1slack-app-tokenxapp- + digits and identifiers

No rule maps to this family in flare-redact, openredaction, trufflehog.

40 of 40 rows

Fixtures in this family

40 rows, redact-secret's outcome on each. Rows that need a look come first (0), then the rest in corpus order. Choose "Every scanner" to see each scanner's outcome for the same rows.
Fixtures in App-level token
FixtureKind and evidenceredact-secret
slack-app-level-token-actions-socket-mode-envslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-agent-env-echoslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-agent-yamlslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-agent-yaml-boundary-twinslack · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
slack-app-level-token-bolt-js-app-tokenslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-bolt-python-handlerslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-chat-messageslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-cli-install-jsonslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-connections-open-headerslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-connections-open-header-boundary-twinslack · boundary-violationMust not flagT2 · Tool-corroborated · twinQuiet
slack-app-level-token-curl-connections-openslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-dockerfile-envslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-docs-sentence-proseslack · prose-mentionMust not flagT3 · Project policyQuiet
slack-app-level-token-dotenv-app-tokenslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-export-app-tokenslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-fish-setslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-helm-valuesslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-java-socket-mode-appslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-printenv-grepslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-socket-mode-debugslack · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
slack-app-level-token-actions-secret-referenceslack · templated-referenceMust not flagT3 · Project policyQuiet
slack-app-level-token-agent-yaml-alphabet-twinslack · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
slack-app-level-token-angle-dotenv-placeholderslack · documentation-placeholderMust not flagT3 · Project policyQuiet
slack-app-level-token-angle-placeholder-placeholderslack · documentation-placeholderMust not flagT3 · Project policyQuiet
slack-app-level-token-app-and-enterprise-ids-public-idslack · public-identifierMust not flagT2 · Tool-corroboratedQuiet
slack-app-level-token-app-id-url-public-idslack · public-identifierMust not flagT2 · Tool-corroboratedQuiet
slack-app-level-token-bolt-python-handler-separator-twinslack · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
slack-app-level-token-bolt-python-handler-short-prefix-twinslack · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
slack-app-level-token-cli-install-json-digit-section-twinslack · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
slack-app-level-token-compose-interpolation-referenceslack · templated-referenceMust not flagT3 · Project policyQuiet
slack-app-level-token-dotenv-app-token-prefix-twinslack · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
slack-app-level-token-dotenv-app-token-underscore-prefix-twinslack · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
slack-app-level-token-environ-lookup-referenceslack · templated-referenceMust not flagT3 · Project policyQuiet
slack-app-level-token-masked-env-placeholderslack · documentation-placeholderMust not flagT3 · Project policyQuiet
slack-app-level-token-package-name-near-missslack · format-near-missMust not flagT2 · Tool-corroboratedQuiet
slack-app-level-token-prefix-only-near-missslack · format-near-missMust not flagT2 · Tool-corroboratedQuiet
slack-app-level-token-scopes-paragraph-proseslack · prose-mentionMust not flagT3 · Project policyQuiet
slack-app-level-token-scopes-variable-near-missslack · format-near-missMust not flagT2 · Tool-corroboratedQuiet
slack-app-level-token-team-and-client-id-public-idslack · public-identifierMust not flagT2 · Tool-corroboratedQuiet
slack-app-level-token-token-digest-log-encoded-valueslack · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet

Sources

Researched 2026-09-29.

Documentation and code

  • docs.slack.dev/authentication/tokens
  • docs.slack.dev/apis/events-api/using-socket-mode
  • github.com/slackapi/java-slack-sdk/blob/49b62a6b866bf43eb4c3bfe9c8423a65400d2928/docs/english/guides/socket-mode.md#L180
  • github.com/slackapi/slack-cli/blob/20dd73092a65d3797180f95f0ee765053d7ef634/internal/goutils/strings_test.go#L198-L202

Research log

Other Slack families