# Installer detect-secrets avec Homebrew, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de detect-secrets pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:detect-secrets
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install detect-secrets
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#detect-secrets
```

  Preuve: nixpkgs package indexes: detect-secrets from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## Faits du paquet

- **Clé du paquet:** brew:detect-secrets
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.5.0
- **Résumé source:** Enterprise friendly way of detecting and preventing secrets in code
- **Page d'accueil:** <https://github.com/Yelp/detect-secrets>
- **Dépôt:** <https://github.com/Yelp/detect-secrets>
- **Dernière mise à jour:** 2026-05-20T12:50:03Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- detect-secrets (alias)
- detect-secrets-hook (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.5.0
## Historique du projet et usages

detect-secrets is Yelp's open-source command-line scanner for finding secrets in code and, more importantly, preventing newly introduced secrets from entering a repository. Its README describes the baseline workflow as a way to accept existing findings while blocking new ones.

### Historique du projet

The GitHub repository was created in December 2017, and the README presents the tool as enterprise-friendly secret detection. Its changelog shows continued 1.x releases through 2024, including new detectors for GitLab, Telegram, PyPI, OpenAI, and IP addresses, plus support for newer Python versions.

### Historique d'adoption

detect-secrets was designed for large repositories where immediately removing every old secret-like value may be impractical. The baseline model helped it fit pre-commit hooks and CI workflows: teams generate .secrets.baseline, audit it, and then use detect-secrets-hook or scans to catch new findings.

### Modes d'utilisation

The standard package-manager workflow is to install the CLI, run detect-secrets scan into .secrets.baseline, and wire detect-secrets-hook into staged-file or tracked-file checks. The README also documents auditing the baseline and tuning detectors and filters for local policy.

### Pourquoi les passionnés de paquets s'y intéressent

Package nerds care about detect-secrets because it is a practical DevSecOps CLI with a persistent config artifact rather than a one-shot grep-like scanner. It sits alongside pre-commit, GitHub secret scanning, trufflehog-style tools, and policy-driven CI checks.

### Chronologie

- 2017: GitHub repository created for Yelp/detect-secrets.
- 2020: 0.14.x releases continued the pre-1.0 series.
- 2022: 1.2.0 added CI and release-pipeline work plus new token detectors.
- 2024: 1.5.0 added OS-agnostic baseline support and more modern token detectors.

### Related projects

- The project is commonly used with pre-commit-style hooks, CI pipelines, and other secret-scanning tools that enforce repository hygiene.

### Sources

- <https://github.com/Yelp/detect-secrets>
- <https://github.com/Yelp/detect-secrets/blob/master/README.md>
- <https://github.com/Yelp/detect-secrets/blob/master/CHANGELOG.md>
- <https://api.github.com/repos/Yelp/detect-secrets>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour detect-secrets. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .secrets.baseline
## Autres enregistrements de gestionnaires de paquets

- Nix - detect-secrets: normalized package name match | nixpkgs package indexes: detect-secrets from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix


## Combined YAML source

View the package source record on GitHub. [combined/detect-secrets.yml](https://github.com/mxcl/pkgdb/blob/main/combined/detect-secrets.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
