Skip to content
Detectors

Scanner deep dive

Overview

Jira is a proprietary issue tracking product developed by Atlassian that allows bug tracking and agile project management. Jira tokens can be used to authenticate and interact with Jira's API. Jira tokens can be used to authenticate API requests.
From the detector’s Description() in source

Needs a person to check

Provider and detector details

Summary

Jira (Atlassian)Project ManagementDraft: not yet checked by a person

Jira is Atlassian's tool for planning and tracking work. Atlassian API tokens let scripts call Jira's REST APIs in place of a password.

Website Credential docs

Runs on any connection. Triggered by keywords in the content, after decoding.How TruffleHog works

About Atlassian Jira

issue tracking and collaboration. Products: Jira, Confluence, Atlassian Cloud.

A verified token authenticated GraphQL me.user.name on an Atlassian host. Project or admin access is unknown from the detector alone.

POST /gateway/api/graphql with Basic Auth. HTTP 200 is not enough without a user name in the body. Joined to the Jira analyzer by explicit alias.

Provider documentation

Draft provider notes, not yet checked by a person. Not read from source.

How detection works

One matching rule looks for 24-character strings of letters, digits and “-” near “atlassian”, “confluence” or “jira”.

Matching rules and source
Keywords
  • atlassian
  • confluence
  • jira

Regexes

  • v1 regex 1tokenPatjiratoken.go:50 (opens TruffleHog source on GitHub)Placed by its version number

    \b([a-zA-Z-0-9]{24})\b

    Matches 24-character strings of letters, digits and “-”.

    Show as a diagram

    Must appear near: “atlassian”, “confluence” or “jira”

  • v1 regex 2domainPatjiratoken.go:51 (opens TruffleHog source on GitHub)Placed by its version number

    \b((?:[a-zA-Z0-9-]{1,24}\.)+[a-zA-Z0-9-]{2,24}\.[a-zA-Z0-9-]{2,16})\b
    Show as a diagram

    Must appear near: “atlassian”, “confluence” or “jira”

  • v1 regex 3emailPatjiratoken.go:52 (opens TruffleHog source on GitHub)Placed by its version number

    \b((?i)(?:[a-z0-9!#$%&'*+/=?^_\x60{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_\x60{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\]))\b

    Must appear near: “atlassian”, “confluence” or “jira”

jiratoken.go:50 (opens TruffleHog source on GitHub)jiratoken.go:51 (opens TruffleHog source on GitHub)jiratoken.go:52 (opens TruffleHog source on GitHub)jiratoken.go:146 (opens TruffleHog source on GitHub)jiratoken.go:234 (opens TruffleHog source on GitHub)jiratoken.go:241 (opens TruffleHog source on GitHub)jiratoken.go:269 (opens TruffleHog source on GitHub)
Detector-wide rules and behavior

How it works

  1. Finds the parts each variant needs and pairs them. Across variants these are token, domain and email; which variant uses which isn’t parsed.
  2. Values are trimmed before use.
  3. Reports each remaining match as a possible Jira Token credential. It isn’t known to work until it’s verified.
Prefix regex
Several partstoken, domain and email
Guards against false matches
Not found in source
Not found in source
  • rotation_guide
  • version
Pairing and normalization
  • token, domain, email are combined from match sets
  • values are trimmed before use

How it behaves

What this detector does at each step of the TruffleHog pipeline.

pkg/detectors/jiratoken/v1 · Scanner

Keywords

Any one of these in the decoded text wakes the detector.

  • atlassian
  • confluence
  • jira

jiratoken.go line 147 (opens TruffleHog source on GitHub)

Behavior

Multi-part
Yes, pairs two parts such as an ID and a secret
jiratoken.go line 26 (opens TruffleHog source on GitHub)
Custom endpoints
Yes, can verify against your own server
jiratoken.go line 27 (opens TruffleHog source on GitHub)
Cloud endpoint
https://api.atlassian.com
jiratoken.go line 44 (opens TruffleHog source on GitHub)
Randomness check
None in this detector's own code
False-positive check
The shared word lists

Verification. When a scan allows it, TruffleHog tests a match by calling the provider. A scan can turn this off for every detector or for this one. Atlas only describes this; it never tests credentials. How the verify decision works

Analyzer.Jira Analyzer

In short

  • v1: Wakes on “atlassian”, “confluence” or “jira”, reads 1024 bytes around each hit to pair two parts and tests matches with the provider. A default scan runs it.
  • v2: Wakes on “atlassian”, “confluence” or “jira”, reads 1024 bytes around each hit to pair two parts and tests matches with the provider. A default scan runs it.

How verification works

Each variant checks a found key its own way. Compare their requests and how answers are judged below.

Open Source + Enterprise support detection and verification for this credential type. Edition source.

Does checking a key change anything at the provider?

Probably not, but not certain: the source declares no changes, and many checks use POST only to read. POST can change data, so check the source if it matters.

Source says: POST of GraphQL me { user { name } }; mutating side effects not declared

Files
v1/jiratoken.go
Request
POSThttps://api.atlassian.com/gateway/api/graphqljiratoken.go:234 (opens TruffleHog source on GitHub)
Key is sent as
HTTP Basic Authenticationjiratoken.go:241 (opens TruffleHog source on GitHub)
How answers are judged
Troubleshoot this check

If a result looks wrong, work through these steps. They’re built from the request and status rules above. The Atlas doesn’t send anything.

1. Send the same request yourself

Each variant checks keys its own way. Use the one that matches your key’s format (see Detection above).

  • v1

    No command for this check. The check sends a POST request with a body the Atlas doesn't record, so a command might get a different answer and might not be read-only.

    Rule: not-get. Key placement as recorded: HTTP Basic Authentication.

  • v2

    No check is tied to this variant’s files in what was read from source.

2. Likely causes

  • The scanner couldn't reach the provider. The scanner needs outbound HTTPS access to api.atlassian.com. A firewall, proxy or DNS problem is reported as an error, not a rejection, and the key can be checked again.
  • The provider rejected the key. TruffleHog counts these as not verified (v1: 401 and 403): usually a revoked, expired or mistyped key. A 403 can also mean the key is real but isn't allowed to call this endpoint.
  • The provider changed its API. If the provider answers differently from the table above, its API may have changed since this check was written. Compare against the provider's docs.

3. Check the provider’s docs

4. Still stuck

Report it to TruffleHog

Include the status code and response you got. Never include the key.

Errors, timeouts and rate limits
Not found in source
HTTP 429
SetVerificationError; HTTP 5xx; unexpected status code: %d

HTTP 200 is verified only if GraphQL me.user.name is set. 401 and 403 are not verified.

transport errors return a verification error

All URLs found in source

  • https://community.atlassian.com/forums/Jira-Product-Discovery-questions/Authorization-issues-with-GRAPHQL/qaq-p/2640943
  • https://howtorotate.com/docs/tutorials/atlassian/
  • https://developer.atlassian.com/platform/atlassian-graphql-api/graphql/#authentication
  • https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/

Verified findings

Open Source · Standard output (stdout)

The CLI prints verified findings to stdout. Use --json for structured output.

Example scan output · credential redacted

✅ Found verified result 🐷🔑
Detector Type: JiraToken
Decoder Type: PLAIN
Raw result: [redacted]
Terminal printer source
CI formats

With --github-actions, GitHub Actions displays this workflow command as a warning on the indicated file and line.

::warning file=config/example.env,line=8,endLine=8::Found verified JiraToken result 🐷🔑
GitHub Actions printer source

Legacy compatibility. --json-legacy writes pre-v3 JSON for Git, GitLab, and GitHub sources only.

Enterprise alerts

When Enterprise verifies that a secret is live, a configured notifier can alert your team. The finding is also available through the Enterprise API.

A notifier that displays rotation guides can include this link with the alert.

Open rotation guide

Optional analysis

What the analyzer checks

In Open Source, run trufflehog analyze separately from the scan. Enterprise runs enabled self-discovery analyzers on first discovery of a supported live secret.

Joined by an explicit credential-type map.

How it works

  1. Runs after the detector reports the match as verified.
  2. Evaluates what the credential may be able to access using the analyzer’s own checks or rules.
  3. Reports what it finds. Its source lists 44 permissions in 1 group.

Rotation resources

Token types

TruffleHog’s source looks for 1 token type, by prefix. It doesn’t name them.

Token types: from TruffleHog’s source, and what the vendor says
PrefixVariant
ATATTv2
Pages TruffleHog’s source links to (3)

Coverage in other scanners

4 scanners have a confirmed match.

Changes

No changes to Jira Token since Sep 18, 2026, when Atlas started recording.

When TruffleHog changes this detector, the changed fields, the pull request and the source diff appear here for review.

Browse all changesSource history on GitHub

Source

Every fact on this page was parsed from trufflesecurity/trufflehog at 2325546, unless a row below says otherwise.

2325546
2921dcc
Parser
trufflehog-detectors-analyzers-v12
Extraction
intel-detector-v7

3 of 23 evidence rows need attention

Evidence rows that need attention
FieldStatusValueSource
lastSeenAt2026-11-25T16:33:44.855ZNo citation
timeoutNone extractedFile
verification.expectedStatuses.verified{"statuses":[200],"names":["200+graphql.me.user.name"],"outcome":"verified"}Parser confidence: mediumFile
All 23 evidence rows
All evidence rows
FieldStatusValueSource
descriptionJira is a proprietary issue tracking product developed by Atlassian that allows bug tracking and agile project management. Jira tokens can be used to authenticate and interact with Jira's API.File
keywordsatlassian, confluence, jiraFile
detectorTypesJiraTokenFile
filesv1/jiratoken.go, v2/jiratoken_v2.goFile
patterns\b([a-zA-Z-0-9]{24})\b, \b((?:[a-zA-Z0-9-]{1,24}\.)+[a-zA-Z0-9-]{2,24}\.[a-zA-Z0-9-]{2,16})\b, \b((?i)(?:[a-z0-9!#$%&'*+/=?^_\x60{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_\x60{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\]))\b, \b(ATATT[A-Za-z0-9+/=_-]+=[A-Za-z0-9]{8})\b, \b((?:[a-zA-Z0-9-]{1,24}\.)+[a-zA-Z0-9-]{2,24}\.[a-zA-Z0-9-]{2,16})\b, \b((?i)(?:[a-z0-9!#$%&'*+/=?^_\x60{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_\x60{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\]))\bFile
patternTypeprefix_regexFile
statusactiveFile
lastSeenAt2026-11-25T16:33:44.855ZNo citation
rotationGuidehttps://howtorotate.com/docs/tutorials/atlassian/File
verify.hasVerifyYesFile
verify.httpMethodsPOSTFile
verify.statusCodesOK, Unauthorized, Forbidden, TooManyRequestsFile
timeoutNone extractedFile
rateLimitHTTP 429File
errorHandlingSetVerificationError; HTTP 5xx; unexpected status code: %dFile
verify.urlshttps://community.atlassian.com/forums/Jira-Product-Discovery-questions/Authorization-issues-with-GRAPHQL/qaq-p/2640943, https://howtorotate.com/docs/tutorials/atlassian/, https://developer.atlassian.com/platform/atlassian-graphql-api/graphql/#authentication, https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/File
detection.keywordsatlassian, confluence, jiraLines 146–146
detection.keywordsatlassian, confluence, jiraLines 50–50
verification.endpointhttps://api.atlassian.com/gateway/api/graphqlLines 234–234
verification.httpMethodPOSTLines 234–234
verification.authenticationMethodHTTP Basic AuthenticationLines 241–241
verification.expectedStatuses.verified{"statuses":[200],"names":["200+graphql.me.user.name"],"outcome":"verified"}Parser confidence: mediumFile
verification.expectedStatuses.not_verified{"statuses":[401,403],"names":["StatusUnauthorized","StatusForbidden"],"outcome":"not_verified"}Lines 269–269
Parser completeness
  • Field status: Extracted
  • Field status: Extracted
  • Field status: Extracted
  • Field status: Extracted
  • Field status: Unknown
  • Field status: Unknown
  • Field status: Extracted
  • Field status: Extracted
  • Field status: Extracted
  • Field status: Extracted
  • Field status: Not scanned
Package files (2)
  • v1/jiratoken.go
  • v2/jiratoken_v2.go