Skip to content
Analyzers

Scanner deep dive

Ngrok Analyzer

Open source

What does this analyzer do?

Purpose
It helps explain what a credential may be able to do. Atlas describes the analyzer’s code and hasn’t tested a credential here.
How does it assess access?
An ngrok key that works is given the analyzer’s one permission, “full_access”, without any further check. Access method details · Source (ngrok.go:70–71)

This permission list is preset

The analyzer assigns these permissions without asking ngrok which ones the key has. Its actual access can be narrower.

What can I look up?
Explore the permissions and resource types named in the code.

Built on the Ngrok detector

The detector finds and verifies the key. This analyzer maps it.

  1. 1 · Detector finds

    Candidates near “ngrok”, 1 pattern.

    Ngrokngrok.go:31 (opens TruffleHog source on GitHub)

  2. 2 · Detector verifies

    GET https://api.ngrok.com/agent_ingresses

    200, 400 means verified.

    How it verifiesngrok.go:85 (opens TruffleHog source on GitHub)ngrok.go:102 (opens TruffleHog source on GitHub)ngrok.go:108 (opens TruffleHog source on GitHub)

  3. 3 · This analyzer maps

    1 permission name across 8 resource types.

    Assumes full access

Access model · AI-assisted classification · No credential tested

How Ngrok Analyzer decides what a key can do

This describes how TruffleHog’s code assigns permissions. It is not a statement of what the provider actually grants a particular key.

  • Gives full access. A code comment says what a key can reach depends on the account type, and free accounts get fewer resources.

    Reviewed classification: Binds FullAccess. Comment says account type limits which resources exist.

    Any valid key is treated as having every permission. Nothing is checked one by one. This is TruffleHog’s assumption; the provider may still limit the key.

Pinned revision db665f0c24c6 · Confidence high · Classified 2026-11-16

Compare all 44 analyzers

Parsed source walkthrough · No credential tested

Follow Ngrok Analyzer from inputs to evidence

After a related detector successfully validates a candidate, this analyzer is an optional next layer. The steps below explain code found in this package. They do not run it or establish the access of a credential.

Input field names
1
Direct HTTP request sites
1
Go implementation files scanned
5

1. Understand the inputs

These names are read from the analyzer’s credential-info map. A name can be required, optional, or conditional; this inventory does not resolve that control flow. Field values are never shown.

2. Inspect the request definitions

A request site is a Go request-construction call, not an individual permission check. One helper may build many requests. 0 of 1 sites have a directly written address; dynamic addresses remain unresolved. Response interpretation must be read in source.

Browse 1 request sites
  • Method unresolved · Dynamic address — inspect source

    Inspect source · requests.go:244

    This identifies a request definition. No response rule, granted permission, or resource binding is inferred from its method or address.

This package also contains 1 JSON/YAML configuration files. Their definitions are not counted as Go request sites. Their response semantics are not normalized in this walkthrough.

3. Read the result and its limits

Explore the permission names and resource types below. They are independent source lists. This walkthrough does not connect every request to a permission or resource, and does not infer access from an HTTP success.

Inspect 7 binding construction sites
Continue to permissions and resources

Pinned revision 23255461ddf3 · analyzer-workflow-sites-v1. Comments, string contents, tests and testdata are excluded from code-site matching. SDK resolution, call order, response rules, required inputs and permission/resource bindings remain outside this parser.

Permissions and resources

How the result is built: one key, the resources it reaches, and the permissions recorded on each.

1 key

A verified ngrok key

From the detector

Resource types

  • account_plan
  • endpoint
  • domain
  • api_key
  • ssh_credential
  • authtoken
  • +2 more

Filled in only when a key is analyzed

1 permission name on each

  • full_access

1 permission names · 8 resource types · 9/9 names explained

Permission names describe actions or scopes checked by this analyzer. Resource types describe the kinds of objects it can report. They are separate source lists; a permission-to-resource binding has not been extracted. Available access depends on the credential and provider response.

Showing 9 of 9 capability names

Where the explanations come from

  • Atlas wording (9): Atlas wording, not the provider’s text (written with AI, not yet reviewed)

Inspect analyzer source

Resource types

Showing 8 of 8 matching resource types.

  • account_planExplanation available

    The ngrok account's plan.

    Atlas wording

  • endpointExplanation available

    An ngrok endpoint.

    Atlas wording

  • domainExplanation available

    A reserved ngrok domain.

    Atlas wording

  • api_keyExplanation available

    An ngrok API key on the account.

    Atlas wording

  • ssh_credentialExplanation available

    An SSH credential on the account.

    Atlas wording

  • authtokenExplanation available

    An ngrok agent authtoken on the account.

    Atlas wording

  • bot_userExplanation available

    A bot user on the account.

    Atlas wording

  • userExplanation available

    A user on the account.

    Atlas wording

Permissions

Grouped by name prefix for easier browsing. These display groups are not official provider categories or permission-to-resource bindings.

Name prefix “full” 1 name
  • full_accessExplanation available

    The only permission this analyzer reports. It does not test narrower access.

    Atlas wording

Under the hoodSource facts, registration, field evidence and source changes

Built on the Ngrok detector

  1. Step 1: Detect

    Related detectors find credential candidates. A match alone does not establish that the credential works. Open the detector first to learn its matching and verification rules.

  2. Step 2: Verify

    The detector checks the candidate under its verification rules. Successful verification establishes the condition accepted by that detector; it does not establish every permission. The status below is extraction evidence, not a live result.

    • Ngrok · Verification parsed

      The normalized parser found verification logic at this record’s revision. No credential was tested.

      GET https://api.ngrok.com/agent_ingresses

  3. Step 3: Analyze

    After successful detector verification, analysis is an additional layer for gathering access context. The source contains an Analyze function; its results depend on the credential, the checks that run and their outcomes.

    Explore access capabilities
  4. Step 4: Interpret the evidence

    Open an individual check to learn what it attempts and how its result is interpreted. Follow the source evidence before concluding what access it establishes. Missing permission or resource relationships remain unknown.

    Next: follow the source walkthrough

    Detailed check definitions are not connected to this page yet. The walkthrough identifies input and request sites; response rules and permission/resource bindings still need source review.

This is a source-based workflow, not a live validation result. The catalog has not executed these detectors or analyzers. Related packages are linked by the catalog’s recorded relationship evidence.

Source overview · No credential tested

Understand what Ngrok Analyzer can check

Counts below describe names found in analyzer source. They do not confirm access for a particular credential.

Permission names
1
Unique names recorded in this analyzer
Resource types
8
Kinds of objects, not a count of objects found
Names needing explanation
0
Names without a catalog summary

9 of 9 names have a summary. A summary is not proof of access or a review approval.

How should I read these results?
Recorded in source
The parser found a name or behavior in code. It has not tested your credential.
Explained in the catalog
A summary describes a recorded name. Check its source label and reference before relying on the interpretation.
Confirmed by a test
This would require a recorded run and its responses. No such result is shown on this page. An HTTP success alone does not establish every permission.

Yes

Self-discovery

Related detectors

1

1

8

trufflesecurity/trufflehog
pkg/analyzer/analyzers/ngrok/models.go
2921dcc

Last commit that changed this folder’s code. Test-only changes don’t count.

Active

Nov 25, 2026

This folder was still in the catalog at this ingest.

Nov 25, 2026

No queued diffs

What this analyzer does

Analyze() exists in source. 1 permission names are enumerated in source. Resource types in source: account_plan, endpoint, domain, api_key, ssh_credential, authtoken, bot_user, user.

An Analyze function was found in the source. The entries below describe the access context recorded for this package.

Description generated from parsed flags

Registration

Named in pkg/analyzer/cli.go. A detector joins from this file only when its folder matches one of these keys.

  • ngrok

Parsed from analyzer registration

Related detectors and validation evidence

  • Ngrok

    pkg/detectors/ngrok·Verification parsed

    Enriches after verify. pkg/analyzer/cli.go registers this detector key to the analyzer package.

Roles

No role map extracted from this analyzer’s Go.

Package files

  • models.go
  • ngrok.go
  • permissions.go
  • permissions.yaml
  • requests.go
  • resources.go

Field evidence

Parsed fields keep a provenance row beside the value. Extracted rows stay visible. Needs review means a heuristic verify flag or a URL whose host is still a template. Unknown means the parser did not find that field — never a negative capability claim.

  • description · Needs review · medium

    Analyze() exists in source. 1 permission names are enumerated in source. Resource types in source: account_plan, endpoint, domain, api_key, ssh_credential, authtoken, bot_user, user.

    Derived from parser flags. This sentence is not a source comment.

  • keyTypes · Unknown · unknown

    None extracted

  • permissions · Extracted · high

    full_access

  • resources · Extracted · high

    account_plan, endpoint, domain, api_key, ssh_credential, authtoken, bot_user, user

  • roles · Unknown · unknown

    None extracted

  • files · Extracted · high

    models.go, ngrok.go, permissions.go, permissions.yaml, requests.go, resources.go

  • hasAnalyze · Extracted · high

    Yes

  • hasRoleField · Unknown · unknown

    No

  • analyzerType · Extracted · high

    self_discovery

What changed in the source

Stored source differences and their review status. No stored difference does not establish that upstream is unchanged.

No stored diffs for this analyzer yet.

Change log

What changed in this analyzer

No changes recorded since Nov 11, 2026, when the change log starts.