Find, verify, and analyze leaked credentials
This report summarizes scanner evidence for trufflesecurity/trufflehog, a Go project with 28,792 GitHub stars. SynthScan examined 529,152 lines of code across 3547 source files, recording 405 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 0.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 247 finding(s).
Are imports declared and package/API names verified? 156 finding(s).
Are wrappers, guards, and repeated structures necessary? 3 finding(s).
Which changes need focused human review? 405 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 405 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | examples/generic_config_secrets.yml | 36 | - "placeholder" | CODE |
| LOW | pkg/sources/json_enumerator/json_enumerator_test.go | 173 | "AndroidManifest.xml": "placeholder", | CODE |
| LOW | pkg/sources/json_enumerator/json_enumerator_test.go | 174 | "classes.dex": "placeholder", | CODE |
| LOW | pkg/sources/gitlab/gitlab.go | 445 | user = "placeholder" | CODE |
| LOW | pkg/sources/gitlab/gitlab.go | 994 | // Not setting "placeholder" as s.user on purpose in case any downstream services rely on a "" value for s.user. | COMMENT |
| LOW | pkg/sources/gitlab/gitlab.go | 997 | user = "placeholder" | CODE |
| LOW | pkg/sources/gitlab/gitlab.go | 1140 | // Not setting "placeholder" as s.user on purpose in case any downstream services rely on a "" value for s.user. | COMMENT |
| LOW | pkg/sources/gitlab/gitlab.go | 1143 | user = "placeholder" | CODE |
| LOW | pkg/detectors/salescookie/salescookie.go | 49 | payload := strings.NewReader(`{"date":"2021-07-04T02:47:42.1442597Z","uniqueId":"id-123","revenue":1.3,"profit":-2.5, | CODE |
| LOW | pkg/detectors/salescookie/salescookie.go | 49 | payload := strings.NewReader(`{"date":"2021-07-04T02:47:42.1442597Z","uniqueId":"id-123","revenue":1.3,"profit":-2.5, | CODE |
| LOW | pkg/detectors/jiratoken/v1/jiratoken_test.go | 281 | verified, err := VerifyJiraToken(context.Background(), client, "user@example.com", "example.atlassian.net", validToke | CODE |
| LOW | pkg/detectors/composio/composio_test.go | 58 | {name: "placeholder", input: "COMPOSIO_API_KEY=ak_test", want: []string{}}, | CODE |
| LOW | pkg/engine/postman_test.go | 23 | Token: "dummy_key", | CODE |
| LOW | pkg/engine/ahocorasick/ahocorasickcore_test.go | 239 | Lorem ipsum dolor sit met, consectetur dipiscing elit. Sed uctor, | CODE |
| LOW | pkg/engine/ahocorasick/ahocorasickcore_test.go | 283 | Lorem ipsum dolor sit met, consectetur dipiscing elit. Sed uctor, | CODE |
| LOW | pkg/handlers/apk_content_detection_test.go | 35 | _, err = w.Write([]byte("placeholder")) | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 2 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 2 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 3 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 3 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 4 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 4 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 5 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 5 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 6 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 6 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 7 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 7 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 8 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 8 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 9 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 9 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 10 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 10 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 11 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 11 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 12 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 12 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 13 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 13 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 14 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 14 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 15 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 15 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 16 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 16 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 17 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 17 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 18 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 18 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 19 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 19 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 20 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 20 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 22 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| LOW⚡ | pkg/handlers/testdata/nonarchive.txt | 22 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, a | CODE |
| 92 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/sources/sources.go | 556 | // NOTE: This method should be used over SetProgressComplete when the source does | COMMENT |
| LOW | pkg/detectors/exchangerateapi/exchangerateapi_test.go | 30 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/elasticemail/elasticemail_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/databrickstoken/databrickstoken_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/campayn/campayn_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/envoyapikey/envoyapikey_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/cashboard/cashboard_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/capsulecrm/capsulecrm_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/conversiontools/conversiontools_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/dwolla/dwolla_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/duply/duply_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/closecrm/close_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/calendlyapikey/calendlyapikey_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/confluent/confluent_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/discordbottoken/discordbottoken_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/cexio/cexio_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/courier/courier_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | …/detectors/digitaloceantoken/digitaloceantoken_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | …ctors/cloudflareapitoken/v1/cloudflareapitoken_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/diggernaut/diggernaut_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/docusign/docusign_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/deepai/deepai_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/calorieninja/calorieninja_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/ethplorer/ethplorer_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/currencylayer/currencylayer_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/cannyio/cannyio_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/coinlib/coinlib_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/enigma/enigma_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/clickhelp/clickhelp_test.go | 30 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/docparser/docparser_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/coinapi/coinapi_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/droneci/droneci_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/chatbot/chatbot_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/exchangeratesapi/exchangeratesapi_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/currentsapi/currentsapi_test.go | 30 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/codeclimate/codeclimate_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/debounce/debounce_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/clockworksms/clockworksms_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/cloudflarecakey/cloudflarecakey_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/dnscheck/dnscheck_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/circleci/v1/circleci_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/circleci/v2/circleci_test.go | 30 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/commodities/commodities_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/censys/censys_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/copper/copper_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/convertkit/convertkit_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/dronahq/dronahq_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/detectify/detectify_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/datagov/datagov_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/deepgram/deepgram_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/diffbot/diffbot_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/discordwebhook/discordwebhook_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/discordwebhook/discordwebhook_test.go | 41 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/documo/documo_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/doppler/doppler_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/column/column_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/edamam/edamam_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/clearbit/clearbit_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/demio/demio_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| LOW | pkg/detectors/checkout/checkout_test.go | 20 | password: $DB_PASS # IMPORTANT: Do not share this password publicly | CODE |
| 73 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/checksecretparts/main.go | 1 | // checksecretparts is a static analysis tool that finds detector packages | COMMENT |
| LOW | hack/snifftest/snifftest.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/test/detect_changed_detectors.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/test/detect_changed_detectors.sh | 21 | # between the two refs. A detector imported at HEAD but not at BASE is new. | COMMENT |
| LOW | .github/workflows/release.yml | 41 | - name: Cosign install | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | pkg/ssrf/ssrf.go | 1 | // Package ssrf guards outbound connections whose destinations are taken from | COMMENT |
| LOW | pkg/ssrf/ssrf.go | 121 | // To4() normalization in IsNonPublicIP, not by a CIDR here, because a | COMMENT |
| LOW | pkg/pb/source_metadatapb/source_metadata.pb.go | 3661 | // *MetaData_Ecr | COMMENT |
| LOW | pkg/pb/source_metadatapb/source_metadata.pb.go | 3681 | // *MetaData_GoogleDrive | COMMENT |
| LOW | pkg/verificationcache/metrics_reporter.go | 21 | COMMENT | |
| LOW | pkg/verificationcache/metrics_reporter.go | 41 | // FromData(verify=true) pass, including its regex pass: detectors that do not implement detectors.ResultVerifier, | COMMENT |
| LOW | pkg/verificationcache/verification_cache.go | 61 | // FromData is a cache-aware facade in front of the provided detector's FromData method. | COMMENT |
| LOW | pkg/custom_detectors/custom_detectors.go | 21 | "github.com/trufflesecurity/trufflehog/v3/pkg/pb/custom_detectorspb" | COMMENT |
| LOW | pkg/custom_detectors/custom_detectors.go | 161 | // Find all submatches for each regex. | COMMENT |
| LOW | pkg/custom_detectors/custom_detectors.go | 301 | result.SecretParts[key] = secret | COMMENT |
| LOW | pkg/gitparse/gitparse.go | 41 | // The hashes are fed in on stdin rather than as arguments, so a group is not | COMMENT |
| LOW | pkg/gitparse/gitparse.go | 261 | global []string | COMMENT |
| LOW | pkg/gitparse/gitparse.go | 381 | // nothing else. It returns them in groups, so patch generation can start before the | COMMENT |
| LOW | pkg/gitparse/gitparse.go | 501 | "--notes", | COMMENT |
| LOW | pkg/iobuf/bufferedreaderseeker.go | 21 | COMMENT | |
| LOW | pkg/output/sarif.go | 21 | sarifSchemaURI = "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json" | COMMENT |
| LOW | …annelmetrics/metrics_collector/prometheus/collector.go | 21 | var ( | COMMENT |
| LOW | pkg/decoders/escaped_unicode.go | 21 | //https://unicode.org/standard/principles.html | COMMENT |
| LOW | pkg/decoders/escaped_unicode.go | 81 | COMMENT | |
| LOW | pkg/decoders/escaped_unicode.go | 301 | // result := input | COMMENT |
| LOW | pkg/decoders/escaped_unicode.go | 321 | // break | COMMENT |
| LOW | pkg/decoders/html.go | 21 | COMMENT | |
| LOW | pkg/decoders/utf8.go | 81 | // This includes letters, digits, punctuation, and symbols, but excludes control characters. | COMMENT |
| LOW | pkg/decoders/html_test.go | 21 | // | COMMENT |
| LOW | pkg/decoders/escaped_unicode_test.go | 121 | want: &sources.Chunk{ | COMMENT |
| LOW | pkg/sources/job_progress.go | 21 | EndEnumerating(JobProgressRef, time.Time) | COMMENT |
| LOW | pkg/sources/sources.go | 61 | COMMENT | |
| LOW | pkg/sources/sources.go | 301 | Endpoint string | COMMENT |
| LOW | pkg/sources/sources.go | 581 | // This level of synchronization is only necessary when multiple concurrent | COMMENT |
| LOW | pkg/sources/sources.go | 641 | // -/sub-unit-resumption----------------------------------------------------------- | COMMENT |
| LOW | pkg/sources/s3/checkpointer.go | 21 | // The checkpointer maintains state for the current page of objects (up to 1000) using a boolean array | COMMENT |
| LOW | pkg/sources/s3/checkpointer.go | 41 | // | COMMENT |
| LOW | pkg/sources/s3/checkpointer.go | 141 | // and maintains fine-grained resumption checkpoints. It uses a conservative tracking | COMMENT |
| LOW | pkg/sources/s3/s3.go | 341 | startAfter string // The last processed object key within the bucket | COMMENT |
| LOW | pkg/sources/github_experimental/object_discovery.go | 21 | COMMENT | |
| LOW | pkg/sources/filesystem/filesystem.go | 281 | // check if the full path is not matching any pattern in include | COMMENT |
| LOW | pkg/sources/filesystem/filesystem_resume_test.go | 21 | // | COMMENT |
| LOW | pkg/sources/filesystem/filesystem_test.go | 681 | assert.False(t, scannedFiles["file2.txt"], "file2.txt should have been skipped (the resume point itself)") | COMMENT |
| LOW | pkg/sources/github/permission_error.go | 41 | type credentialKind int | COMMENT |
| LOW | pkg/sources/github/installation_grants.go | 1 | package github | COMMENT |
| LOW | pkg/sources/github/installation_grants.go | 21 | // issues and leaves out the pull requests. | COMMENT |
| LOW | pkg/sources/github/pagination_test.go | 21 | COMMENT | |
| LOW | pkg/sources/github/connector_app.go | 81 | return connector, nil | COMMENT |
| LOW | pkg/sources/github/connector.go | 41 | // api.github.com, NOT the GHES /api/v3/ layout. | COMMENT |
| LOW | pkg/sources/github/github.go | 801 | ctx.Logger().V(1).Info("Scanning repos", "org_members", len(s.memberCache)) | COMMENT |
| LOW | pkg/sources/github/github.go | 2101 | return nil | COMMENT |
| LOW | pkg/sources/github/github.go | 2121 | // already prefixed with what's missing, and is reported after the run. | COMMENT |
| LOW | pkg/sources/github/pagination.go | 21 | // GitHub list endpoints don't all paginate the same way, and the differences | COMMENT |
| LOW | pkg/sources/github/pagination.go | 81 | // walkPages fetches the first page with first (a typed go-github call that | COMMENT |
| LOW | pkg/sources/github/pagination.go | 181 | // walkUpdatedSince walks an endpoint in update-time order, and gets past | COMMENT |
| LOW | pkg/sources/github/pagination.go | 261 | // of retries before the walk reports it as an error. | COMMENT |
| LOW | pkg/sources/github/pagination.go | 281 | // retry a failed round trip a few times with short backoff, so this is a | COMMENT |
| LOW | pkg/sources/jenkins/jenkins.go | 161 | if s.user != "" && s.token != "" { | COMMENT |
| LOW | pkg/sources/jenkins/jenkins.go | 181 | // "name": "hon-test", | COMMENT |
| 40 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | examples/generic_config_secrets.yml | 39 | - "your_api_key" | CODE |
| HIGH⚡ | examples/generic_config_secrets.yml | 40 | - "your-api-key" | CODE |
| HIGH⚡ | examples/generic_config_secrets.yml | 41 | - "yourapikey" | CODE |
| HIGH | pkg/decoders/html_test.go | 547 | {"template placeholder entity-encoded", `<YOUR_API_KEY>`, false}, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pkg/writers/buffered_file_writer/bufferedfilewriter.go | 220 | // By implementing this method, BufferedFileWriter can leverage optimized data transfer mechanisms provided | COMMENT |
| MEDIUM | pkg/iobuf/bufferedreaderseeker.go | 36 | // transparently, providing a seamless reading and seeking experience regardless | COMMENT |
| MEDIUM | pkg/iobuf/bufferedreaderseeker.go | 266 | // to utilize the temporary file exclusively, simplifying | COMMENT |
| MEDIUM | pkg/sources/git/git.go | 1767 | // TODO: Develop a more robust mechanism to ensure consistent timeout behavior between the command execution | COMMENT |
| MEDIUM | pkg/detectors/hasura/hasura_test.go | 116 | // For a more robust comparison, load the results into maps to ignore order. | COMMENT |
| MEDIUM | …/salesforceoauth2/salesforceoauth2_integration_test.go | 150 | // Since the order of results can vary with maps, we use a more robust comparison. | COMMENT |
| MEDIUM | …efreshtoken/salesforcerefreshtoken_integration_test.go | 159 | // Since the order of results can vary with maps, we use a more robust comparison. | COMMENT |
| MEDIUM | pkg/engine/engine.go | 396 | // they're set to reasonable default values. It makes the engine robust to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | hack/bench/versions.sh | 15 | # Create a temporary folder to clone the repository | COMMENT |
| MEDIUM | hack/bench/versions.sh | 53 | # Initialize the variable to store the sum of user times | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/custom_detectors/CUSTOM_DETECTORS.md | 194 | except Exception: | CODE |
| MEDIUM | pkg/custom_detectors/CUSTOM_DETECTORS.md | 177 | def do_POST(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | action.yml | 51 | # Check if jq is installed, if not, install it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/output/plain.go | 121 | // To have the "UNKNOWN_POSTMAN = 0" value be assigned correctly to the field, we need to check if the Postman workspac | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/sources/gitlab/gitlab.go | 1102 | // TODO: Handle error returned from UnitErr. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/detectors/lob/lob_test.go | 54 | input: "def test_calculate_total_price_with_tax_rate():", | CODE |