{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "yelp-detect-secrets--audit-and-tune-secret-findings-with-detect-secrets",
 "repo": "Yelp/detect-secrets",
 "repo_url": "https://github.com/Yelp/detect-secrets",
 "repo_slug": "yelp-detect-secrets",
 "title": "Audit findings and cut false positives",
 "page_title": "How to audit findings and cut false positives with Detect Secrets",
 "summary": "Label baseline results as real or false, then tune plugins and exclusions to raise signal to noise.",
 "who": "A security analyst drowning in high-entropy string alerts.",
 "problem": "Noisy scanners get ignored, so real leaks slip through.",
 "outcome": "A labeled baseline, a report of real secrets to migrate, and a quieter scan.",
 "steps": [
  "Label results with `detect-secrets audit .secrets.baseline`",
  "Print a report of findings with the audit --report option, adding --only-real to list real secrets",
  "List plugins with `detect-secrets scan --list-all-plugins` and disable noisy ones with `detect-secrets scan --disable-plugin KeywordDetector --disable-plugin AWSKeyDetector`",
  "Skip known patterns, for example `detect-secrets scan --exclude-files '.*\\.signature$'`"
 ],
 "agent_prompt": "Using Yelp/detect-secrets, audit <my .secrets.baseline> with `detect-secrets audit .secrets.baseline`, then propose plugin and exclude settings that remove the false positives you labeled.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "This is not a sure-fire solution; the README says only developer education truly prevents secrets in code.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "",
 "requirements": [
  "Python with pip (`pip install detect-secrets`) or Homebrew (`brew install detect-secrets`)",
  "A git repository to scan",
  "Optional: the pre-commit framework for the hook"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/yelp-detect-secrets/audit-and-tune-secret-findings-with-detect-secrets/",
 "md": "https://dedupedai.com/use-cases/yelp-detect-secrets/audit-and-tune-secret-findings-with-detect-secrets/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/yelp-detect-secrets--audit-and-tune-secret-findings-with-detect-secrets.json",
 "api_version": "v1"
}
