secrets-management
/secrets-management
Znajduje i zabezpiecza wyciekłe sekrety, ustawia bezpieczne przechowywanie, rotację i skanowanie GitHub z blokadą push.
- Autor
- IbrahimCodeur ↗
- Repozytorium
- saas-blind-security ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 07.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 07.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Znajduje i zabezpiecza wyciekłe sekrety, ustawia bezpieczne przechowywanie, rotację i skanowanie GitHub z blokadą push.
Oryginalny opis (EN)
Find, contain and prevent exposed secrets — API keys, tokens, passwords, private keys and environment files — and set up proper storage, rotation and GitHub secret scanning with push protection. Use when secrets are found, when configuring environments or CI, or during audits.
Jak działa
- Objectives
- Steps
- Security rules
- Validation criteria
Podgląd SKILL.md
---
name: secrets-management
description: Find, contain and prevent exposed secrets — API keys, tokens, passwords, private keys and environment files — and set up proper storage, rotation and GitHub secret scanning with push protection. Use when secrets are found, when configuring environments or CI, or during audits.
---
# Secrets management
Part of saas-blind-security — created and maintained by IbrahimCodeur.
## Objectives
- No secret in source code, git history, logs, images, client bundles or reports.
- Secrets are stored in the environment / secret manager, scoped, rotated and revocable.
## Steps
1. **Detect.** `$SBS/scripts/security-check.sh --only builtin,semgrep` (rules `sbs-builtin-hardcoded-secret`,
`sbs-known-token-format`, `sbs-hardcoded-credential-assignment`), GitHub secret scanning alerts, review of
`.env*`, config files, Docker build args, CI files, frontend bundles (`NEXT_PUBLIC_*`, `VITE_*`,
`NUXT_PUBLIC_*` are public by design — they must not contain secrets).
2. **History.** If git history is available, check whether the secret was ever committed
(`git log -p -S '<prefix>'` with a non-secret prefix only). Removing it from HEAD is not enough.
3. **Contain (with the user).** A committed secret must be considered compromised: revoke/rotate it at the
provider first, then remove it from the code, then optionally purge history (`git filter-repo`) — history
rewriting requires the user's explicit approval and coordination.
4. **Store properly.** Environment variables loaded at runtime, `.env` git-ignored with a `.env.example`
containing placeholders only; GitHub Actions secrets / environments for CI; a secret manager (cloud provider
or Vault) for production; least-privilege, per-environment keys; separate test and live keys.
5. **Prevent.** Enable GitHub secret scanning + push protection (`$SBS/scripts/configure-github-security.sh`),
`.gitignore` for `.env*`, no secrets in Docker images (use runtime env or BuildKit secrets), no secrets
in logs/error trackers (scrub), CI uses `${{ secrets.X }}` and never echoes them.
6. **Application secrets.** Laravel `APP_KEY`, Django `SECRET_KEY`, JWT signing keys, session secrets: unique
per environment, long and random, rotated with a plan (rotation invalidates sessions/tokens).
## Security rules
- Never display, copy, test or transmit a discovered secret. Report file:line and `[REDACTED]`.
- Never commit realistic fake secrets in tests; generate them at runtime.
- Do not rewrite git history or rotate production keys yourself without explicit approval.
## Validation criteria
- [ ] Secret scanners clean, or every finding classified (rotated + removed, or false positive).
- [ ] `.env` ignored; `.env.example` contains placeholders only.
- [ ] Push protection enabled (or documented as unavailable for the plan).
- [ ] Rotation performed or explicitly handed over to the owner for each exposed secret.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · IbrahimCodeur/saas-blind-security | 100 | MIT |
| nikospavlopoulos/devops-mutant-powers | 100 | MIT |
| rootcastleco/rei-skills | 100 | MIT |
| ILIV007/prime-skill | 100 | MIT |
| OKHP3/skillz | 100 | MIT |
| nimadorostkar/Claude-Skills-collection | 100 | MIT |
| thisiskurubaran/DevSecOps | 100 | MIT |
| claude-dev-suite/claude-dev-suite | 100 | MIT |
| wshobson/agents | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki a98feb64b9d5 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90secrets-management-audit
Szuka wyciekłych sekretów w kodzie, historii gita, logach i konfiguracji oraz audytuje ich przechowywanie, rotację i minimalne uprawnienia. - 100scanning-for-secrets
Wykrywa ujawnione sekrety, klucze API i poświadczenia w kodzie przy audycie wycieków. - 100scanning-for-secrets
Wykrywa ujawnione sekrety, klucze API i poświadczenia w kodzie przy audycie wycieków. - 90secrets-management-audit
Skanuje kod pod kątem zakodowanych na sztywno sekretów i słabej obsługi kluczy oraz sprawdza rotację kluczy i miejsca przechowywania haseł. - 90Secret Scanning
Wyszukuje zakodowane na sztywno dane uwierzytelniające i wyciekłe klucze w kodzie źródłowym oraz historii gita podczas przeglądu white-box. - 100secret-scanning
Konfiguruje skanowanie sekretów w GitHub, blokadę push i własne wzorce oraz obsługuje związane z tym alerty.