Skip to content
Back to skills

Baseline And Review Repository Secret Findings With Detect Secrets

ASecurity

Scan a repository for secrets, keep an auditable baseline, and review only newly introduced findings during commits or CI checks.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentspythongobashgitsecuritydocumentation

Works with

  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill baseline-and-review-repository-secret-findings-with-detect-secrets --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Baseline And Review Repository Secret Findings With Detect Secrets?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Baseline And Review Repository Secret Findings With Detect Secrets
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-baseline-and-review-repository-secret-findings-wit/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-baseline-and-review-repository-secret-findings-wit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Baseline and Review Repository Secret Findings with detect-secrets"
slug: "baseline-and-review-repository-secret-findings-with-detect-secrets"
description: "Scan a repository for secrets, keep an auditable baseline, and review only newly introduced findings during commits or CI checks."
github_stars: 4482
verification: "security_reviewed"
source: "https://github.com/Yelp/detect-secrets"
author: "Yelp"
publisher_type: "organization"
category: "Security & Verification"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "Yelp/detect-secrets"
  github_stars: 4482
---

# Baseline and Review Repository Secret Findings with detect-secrets

Scan a repository for secrets, keep an auditable baseline, and review only newly introduced findings during commits or CI checks.

## Prerequisites

Python, detect-secrets CLI, git repository

## Installation

Use the upstream install or setup path that matches your environment:
- $ pip install detect-secrets
- $ brew install detect-secrets
- $ pip install detect-secrets[word_list]
- $ pip install detect-secrets[gibberish]

Requirements and caveats from upstream:
- python
- Specify path to custom filter. May be a python module
- is great for non-structured secrets, but may require tuning to adjust the scanning precision.

Basic usage or getting-started notes:
- Create a baseline of potential secrets currently found in your git repository.
- bash
- $ detect-secrets scan > .secrets.baseline

- Source: https://github.com/Yelp/detect-secrets
- Extracted from upstream docs: https://raw.githubusercontent.com/Yelp/detect-secrets/HEAD/README.md

## Documentation

- https://github.com/Yelp/detect-secrets

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/baseline-and-review-repository-secret-findings-with-detect-secrets/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.