# GitHub Security Lab releases gh-secure to prevent secret leaks in repositories

> Original title: Just one command can help you stop leaking secrets into your public code.

- Source: GitHub
- Published: 2026-10-01T17:05:23.000Z
- Bad Influence: https://badinfluence.news/items/vfebtj1ur7c7y510ufoa2k8fr
- Original: https://x.com/github/status/2105705650688778588

## Summary

GitHub Security Lab has released gh-secure, a tool that gives repositories basic security hygiene with a single command to help stop secrets from leaking into public code. It can be installed and used in the Copilot app, Copilot CLI, or GitHub CLI.

## Post

Just one command can help you stop leaking secrets into your public code.

Give your repositories essential security hygiene with gh-secure from the GitHub Security Lab. ✅ 

Install and use it in the Copilot app, Copilot CLI, or GitHub CLI.
https://gh.io/gh-secure

[Video](https://badinfluence.news/api/img-proxy?u=https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FHTj4HP3XYAAxSqQ.jpg&mode=thumb&exp=1795737600&sig=43b6ced7d6b3dee9)
