Scanner deep dive
Mysql Analyzer
Open sourceWhat 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?
- The analyzer asks MySQL what the key can do, and reports what MySQL says. Access method details · Source (mysql.go:512)
- What can I look up?
- Explore the permissions and resource types named in the code.
Catalog coverage · maintainer view
- Vendor API links
- None yet
- Explanations
- 84 of 84 permission and resource names
- Access model
- Classified 2026-11-16
No detector is recorded for this analyzer.
Analyzers are joined to detectors only by recorded evidence, never by name matching.
Access model · AI-assisted classification · No credential tested
How Mysql 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.
Runs SHOW GRANTS.
Asks the provider what the key can do, from a response header, a token-info endpoint, a claim inside the token or a grants query.
Pinned revision db665f0c24c6 · Confidence high · Classified 2026-11-16
Compare all 44 analyzersParsed source walkthrough · No credential tested
Follow Mysql 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
- Go implementation files scanned
- 3
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.
connection_string
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 0 sites have a directly written address; dynamic addresses remain unresolved. Response interpretation must be read in source.
No supported direct net/http request-construction calls were found. SDK, database, local parsing, and helper operations are outside this inventory. Zero sites does not mean zero checks.
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 5 binding construction sites
These links point to Binding literals or BindAllPermissions helper calls. The permission-to-resource relationships and conditions have not been normalized.
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 MySQL key
From the detector
Resource types
- user
- database
- table
- column
- routine
Filled in only when a key is analyzed
79 permission names on each
- alter
- alter_routine
- allow_nonexistent_definer
- application_password_admin
- audit_abort_exempt
- audit_admin
- authentication_policy_admin
- backup_admin
- binlog_admin
- binlog_encryption_admin
- clone_admin
- connection_admin
- +67 more in the list below
79 permission names · 5 resource types · 84/84 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 84 of 84 capability names
Where the explanations come from
- Atlas wording (84): Atlas wording, not the provider’s text (written with AI, not yet reviewed)
Resource types
Showing 5 of 5 matching resource types.
userExplanation available
The MySQL account the key signed in as. The analyzer reports its grants here.
Atlas wording
databaseExplanation available
A database the account has privileges on.
Atlas wording
tableExplanation available
A table the account has privileges on, listed under its database.
Atlas wording
columnExplanation available
A column with column-level privileges, listed under its table.
Atlas wording
routineExplanation available
A stored procedure or function the account has privileges on.
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 “create” 7 names
createExplanation available
Create databases and tables. Can be granted at: server-wide, database, table level.
Atlas wording
create_roleExplanation available
Create roles. Server-wide only.
Atlas wording
create_routineExplanation available
Create stored procedures and functions. Can be granted at: server-wide, database level.
Atlas wording
create_tablespaceExplanation available
Create, change and drop tablespaces. Server-wide only.
Atlas wording
create_temporary_tablesExplanation available
Create temporary tables. Can be granted at: server-wide, database level.
Atlas wording
create_userExplanation available
Create, rename and drop user accounts. Server-wide only.
Atlas wording
create_viewExplanation available
Create views. Can be granted at: server-wide, database, table level.
Atlas wording
Name prefix “flush” 4 names
flush_optimizer_costsExplanation available
Reload the query optimizer's cost tables. Server-wide only. A dynamic privilege.
Atlas wording
flush_statusExplanation available
Reset status counters. Server-wide only. A dynamic privilege.
Atlas wording
flush_tablesExplanation available
Close and reopen tables (FLUSH TABLES). Server-wide only. A dynamic privilege.
Atlas wording
flush_user_resourcesExplanation available
Reset per-user resource counters. Server-wide only. A dynamic privilege.
Atlas wording
Name prefix “replication” 4 names
replication_applierExplanation available
Run replication as a channel's PRIVILEGE_CHECKS_USER account. Server-wide only. A dynamic privilege.
Atlas wording
replication_clientExplanation available
Ask where the source and replica servers are in replication (SHOW REPLICA STATUS and similar). Server-wide only.
Atlas wording
replication_slaveExplanation available
Read binary log events from this server as a replica. Server-wide only.
Atlas wording
replication_slave_adminExplanation available
Start, stop and configure replication on a replica. Server-wide only. A dynamic privilege.
Atlas wording
Name prefix “firewall” 3 names
firewall_adminExplanation available
Administer the MySQL Enterprise Firewall rules for any user. Server-wide only. A dynamic privilege.
Atlas wording
firewall_exemptExplanation available
Bypass the MySQL Enterprise Firewall. Server-wide only. A dynamic privilege.
Atlas wording
firewall_userExplanation available
Manage the user's own MySQL Enterprise Firewall rules. Server-wide only. A dynamic privilege.
Atlas wording
Name prefix “show” 3 names
show_databasesExplanation available
List all databases with SHOW DATABASES. Server-wide only.
Atlas wording
show_routineExplanation available
View the definitions of stored procedures and functions it does not own. Server-wide only. A dynamic privilege.
Atlas wording
show_viewExplanation available
See how views are defined (SHOW CREATE VIEW). Can be granted at: server-wide, database, table level.
Atlas wording
Name prefix “alter” 2 names
alterExplanation available
Change the structure of tables, such as adding or removing columns. Can be granted at: server-wide, database, table level.
Atlas wording
alter_routineExplanation available
Change or drop stored procedures and functions. Can be granted at: server-wide, database, routine level.
Atlas wording
Name prefix “audit” 2 names
audit_abort_exemptExplanation available
Let queries run even when an audit log filter would block them. Server-wide only. A dynamic privilege.
Atlas wording
audit_adminExplanation available
Configure the audit log. Server-wide only. A dynamic privilege.
Atlas wording
Name prefix “binlog” 2 names
binlog_adminExplanation available
Manage the binary log, such as purging log files. Server-wide only. A dynamic privilege.
Atlas wording
binlog_encryption_adminExplanation available
Turn binary log encryption on or off. Server-wide only. A dynamic privilege.
Atlas wording
Name prefix “drop” 2 names
dropExplanation available
Drop databases, tables and views. Can be granted at: server-wide, database, table level.
Atlas wording
drop_roleExplanation available
Drop roles. Server-wide only.
Atlas wording
Name prefix “group” 2 names
group_replication_adminExplanation available
Start, stop and manage Group Replication. Server-wide only. A dynamic privilege.
Atlas wording
group_replication_streamExplanation available
Connect as the account Group Replication uses for its own traffic. Server-wide only. A dynamic privilege.
Atlas wording
Name prefix “innodb” 2 names
innodb_redo_log_archiveExplanation available
Turn InnoDB redo log archiving on or off. Server-wide only. A dynamic privilege.
Atlas wording
innodb_redo_log_enableExplanation available
Turn InnoDB redo logging on or off. Server-wide only. A dynamic privilege.
Atlas wording
Name prefix “resource” 2 names
resource_group_adminExplanation available
Create and manage resource groups. Server-wide only. A dynamic privilege.
Atlas wording
resource_group_userExplanation available
Assign threads to resource groups. Server-wide only. A dynamic privilege.
Atlas wording
Name prefix “set” 2 names
set_any_definerExplanation available
Set any account as the definer of a stored object. Server-wide only. A dynamic privilege.
Atlas wording
set_user_idExplanation available
Set any account as a definer and skip some account-related checks. Server-wide only. A dynamic privilege.
Atlas wording
Name prefix “system” 2 names
system_userExplanation available
Mark the account as a system account, which ordinary admin accounts cannot change. Server-wide only. A dynamic privilege.
Atlas wording
system_variables_adminExplanation available
Change global system variables at runtime. Server-wide only. A dynamic privilege.
Atlas wording
Other names 40 names
allow_nonexistent_definerExplanation available
Create stored objects (views, routines, triggers, events) whose definer account does not exist. Server-wide only. A dynamic privilege.
Atlas wording
application_password_adminExplanation available
Manage the dual (secondary) passwords on the user's own account. Server-wide only. A dynamic privilege.
Atlas wording
authentication_policy_adminExplanation available
Override the server's authentication policy when creating or changing accounts. Server-wide only. A dynamic privilege.
Atlas wording
backup_adminExplanation available
Run backups with MySQL Enterprise Backup. Server-wide only. A dynamic privilege.
Atlas wording
clone_adminExplanation available
Copy a whole MySQL instance with the clone plugin. Server-wide only. A dynamic privilege.
Atlas wording
connection_adminExplanation available
Kill other users' connections and connect past some connection limits. Server-wide only. A dynamic privilege.
Atlas wording
deleteExplanation available
Delete rows from tables. Can be granted at: server-wide, database, table level.
Atlas wording
encryption_key_adminExplanation available
Rotate the InnoDB master encryption key. Server-wide only. A dynamic privilege.
Atlas wording
eventExplanation available
Create, change and drop scheduled events. Can be granted at: server-wide, database level.
Atlas wording
executeExplanation available
Run stored procedures and functions. Can be granted at: server-wide, database, routine level.
Atlas wording
fileExplanation available
Read and write files on the database server host, for example with LOAD DATA or SELECT ... INTO OUTFILE. Server-wide only.
Atlas wording
grant_optionExplanation available
Grant or revoke privileges the account holds to other accounts. Can be granted at: server-wide, database, table, routine, proxy level.
Atlas wording
Under the hoodSource facts, registration, field evidence and source changes
Start with the detector. Add the analyzer next.
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.
No explicit detector relationship is recorded.
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.
No linked detector evidence is available here. Inspect the source to establish the verification step.
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 capabilitiesStep 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 walkthroughDetailed 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 Mysql Analyzer can check
Counts below describe names found in analyzer source. They do not confirm access for a particular credential.
- Permission names
- 79
- Unique names recorded in this analyzer
- Resource types
- 5
- Kinds of objects, not a count of objects found
- Names needing explanation
- 0
- Names without a catalog summary
84 of 84 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.
- Whether this analyzer package contains an Analyze function.
Yes
- Self-discovery means the package runs after verify to list identity or permissions. Other means no Analyze function was extracted.
Self-discovery
- Related detectors
0
- Permission or scope strings declared in the analyzer Go. These are not a live grant.
79
- Resource names the analyzer source says it can list. These are not a live inventory.
5
- The GitHub repository this catalog was parsed from. This app reads trufflesecurity/trufflehog.
- trufflesecurity/trufflehog
- The Go file the parser read for this page. The link opens that file at the pinned catalog commit.
- pkg/analyzer/analyzers/mysql/mysql.go
- The last commit that changed this folder’s code (tests don’t count), when GitHub history was fetched. Otherwise it is the ingest commit that reparsed the folder. It can be older than the catalog pin.
- 0fa069c
Last commit that changed this folder’s code. Test-only changes don’t count.
- Active means this folder was still in the latest ingest. A folder that disappeared is dropped from the catalog.
Active
- The date of the ingest that still contained this folder. This is not the day the Go file was edited.
Nov 25, 2026
This folder was still in the catalog at this ingest.
- The date of the newest queued diff for this record. With no diff, this falls back to the ingest time.
Nov 25, 2026
- Whether a human still needs to look at a queued diff or an uncertain extracted field.
No queued diffs
What this analyzer does
Analyze() exists in source. 79 permission names are enumerated in source. Resource types in source: user, database, table, column, routine.
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.
- mysql
Parsed from analyzer registration
Related detectors and validation evidence
None joined. Analyzers are not prefix-matched onto detectors.
Roles
No role map extracted from this analyzer’s Go.
Package files
- mysql.go
- permissions.go
- permissions.yaml
- scopes.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. 79 permission names are enumerated in source. Resource types in source: user, database, table, column, routine.
Derived from parser flags. This sentence is not a source comment.
keyTypes · Unknown · unknown
None extracted
permissions · Extracted · high
alter, alter_routine, allow_nonexistent_definer, application_password_admin, audit_abort_exempt, audit_admin, authentication_policy_admin, backup_admin, binlog_admin, binlog_encryption_admin, clone_admin, connection_admin, create, create_role, create_routine, create_tablespace, create_temporary_tables, create_user, create_view, delete, drop, drop_role, encryption_key_admin, event, execute, file, firewall_admin, firewall_exempt, firewall_user, flush_optimizer_costs, flush_status, flush_tables, flush_user_resources, grant_option, group_replication_admin, group_replication_stream, index, innodb_redo_log_archive, innodb_redo_log_enable, insert, locking_tables, masking_dictionaries_admin, ndb_stored_user, passwordless_user_admin, persist_ro_variables_admin, process, proxy, references, reload, replication_applier, replication_client, replication_slave, replication_slave_admin, resource_group_admin, resource_group_user, role_admin, select, sensitive_variables_observer, service_connection_admin, session_variables_admin, set_any_definer, set_user_id, show_databases, show_routine, show_view, shutdown, skip_query_rewrite, super, system_user, system_variables_admin, table_encryption_admin, telemetry_log_admin, tp_connection_admin, transaction_gtid_tag, trigger, update, usage, version_token_admin, xa_recover_admin
resources · Extracted · high
user, database, table, column, routine
roles · Unknown · unknown
None extracted
files · Extracted · high
mysql.go, permissions.go, permissions.yaml, scopes.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.