Explain Command
The explain command displays detailed information about a GoGatoZ finding code, including severity, description, exploitation technique, remediation guidance, and documentation link. Use it to understand findings produced by the enumerate command.
Basic Usage
Section titled “Basic Usage”gogatoz explain [finding-code] [options]No authentication is required. This command works entirely offline.
Options
Section titled “Options”--listList all available finding codes with severities--allShow full details for every finding code--jsonOutput as JSON instead of text
Examples
Section titled “Examples”Look up a specific finding
Section titled “Look up a specific finding”gogatoz explain PLAINTEXT_SECRETLook up findings after enumerate
Section titled “Look up findings after enumerate”# Enumerate a projectgogatoz enumerate -i <(echo root/my-project) --json | jq '.findings[].id'
# Understand what each finding meansgogatoz explain SELF_HOSTED_EXPOSEDgogatoz explain MR_TRIGGERED_JOBgogatoz explain LOTP_TOOL_EXECList all finding codes
Section titled “List all finding codes”gogatoz explain --listFull reference dump
Section titled “Full reference dump”# All findings with detailsgogatoz explain --all
# As JSON for toolinggogatoz explain --all --json > finding-reference.jsonJSON output for a single finding
Section titled “JSON output for a single finding”gogatoz explain SELF_HOSTED_EXPOSED --jsonFinding Categories
Section titled “Finding Categories”GoGatoZ detects 35 finding types across these categories:
CI/CD Configuration:
- PLAINTEXT_SECRET, INCLUDE_RISK, WORKFLOW_BROAD_RULES, DEBUG_TRACE_ENABLED
Runner Security:
- SELF_HOSTED_EXPOSED, MR_TRIGGERED_JOB, PRIVILEGED_RUNNER_RISK, DIND_DETECTED, DIND_INSECURE
Supply Chain:
- SCRIPT_INJECTION, CACHE_KEY_INJECTION, TRIGGER_CHAIN_RISK, LOTP_TOOL_EXEC, IMAGE_MUTABLE_TAG, IMAGE_NOT_PINNED, UNPINNED_PACKAGE_INSTALL, UNVERIFIED_SCRIPT_EXEC, RISKY_REMOTE_SCRIPT
Secrets and Tokens:
- VARIABLE_INJECTION, ARTIFACT_POISONING, OIDC_TOKEN_MR_RISK, FORK_MR_RISK, FORK_SCRIPT_EXEC
Advanced:
- SCRIPT_OBFUSCATION, SECURITY_JOB_WEAKENED, ARTIFACTS_NO_EXPIRE, JOB_HARDCODED
- The explain command is purely informational and makes no API calls.
- Finding details include the MITRE ATT&CK technique mapping where applicable.
- Use
gogatoz explain --listto get a quick cheat sheet of all codes and severities during an engagement.