---
name: betterleaks
description: "Use when adopting Betterleaks to assess this standard: Block new credentials in source"
---

# Apply Betterleaks

Scan changed files for credential-shaped values. Triage findings with redaction enabled and keep narrowly scoped exceptions for known test fixtures.

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by Betterleaks.
2. Use Betterleaks in this repository to meet this standard: Block new credentials in source. Scan changed files for credential-shaped values. Triage findings with redaction enabled and keep narrowly scoped exceptions for known test fixtures. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://github.com/betterleaks/betterleaks) for configuration and prerequisites.
