secrets-gitleaks
Scan Repositories for Hardcoded Secrets
Hardcoded credentials can expose systems and fail compliance checks. This skill guides Gitleaks scans, configurations, hooks, CI pipelines, triage, and remediation.
Stop for confirmation before installing.
Review the plan and obtain explicit user consent before changing files.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "secrets-gitleaks" from https://skillstore.io/skills/agentsecops-secrets-gitleaks.md and its manifest at https://skillstore.io/api/skills/agentsecops-secrets-gitleaks/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "secrets-gitleaks". Review this repository for exposed credentials.
Expected outcome:
Scan complete: three findings require review. The summary lists affected files, rule names, confidence, and rotation priorities without secret values.
Using "secrets-gitleaks". Reduce false positives without weakening production coverage.
Expected outcome:
The proposed allowlist targets two verified fixture paths and one exact placeholder. Documentation and source directories remain scanned.
Using "secrets-gitleaks". Prepare a secure GitHub Actions integration.
Expected outcome:
The workflow uses immutable dependencies, full history, redacted output, restricted artifacts, and a blocking pull-request check.
Security Audit
High RiskMost static alerts are false positives caused by Markdown formatting, detector examples, placeholders, and expected CI secret references. Three static findings are confirmed, and semantic review found unredacted CI outputs, broad allowlists, mutable dependencies, and unsafe cleanup guidance. No prompt injection or live credentials were found.
Confirmed security concerns (5)
Capability review items (3)
These are real local capabilities that may be expected for this skill, so they require review but are not counted as confirmed malicious behavior.
Risk Factors
๐ Env variables (35)
๐ Network access (26)
โ๏ธ External commands (50)
๐ Filesystem access (9)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/agentsecops-secrets-gitleaks/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/agentsecops-secrets-gitleaks?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/agentsecops-secrets-gitleaks?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/agentsecops-secrets-gitleaks/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/agentsecops-secrets-gitleaks.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
AgentSecOps. (2026). secrets-gitleaks security audit report (audit version 9) [Author version 0.1.0]. Skillstore. https://skillstore.io/skills/agentsecops-secrets-gitleaks/audits/9BibTeX citation
@techreport{agentsecops-agentsecops-secrets-gitleaks-2026,
author = {AgentSecOps},
title = {secrets-gitleaks security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/agentsecops-secrets-gitleaks/audits/9},
note = {Author version 0.1.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "secrets-gitleaks security audit report (audit version 9)"
version: "0.1.0"
type: report
authors:
- name: "AgentSecOps"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/agentsecops-secrets-gitleaks/audits/9"
identifiers:
- type: other
value: "skillstore:agentsecops-secrets-gitleaks:audit:9"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: MediumWhat You Can Build
Audit a repository
Run a redacted full-history scan, classify findings, and prepare a prioritized remediation summary.
Prevent secret commits
Configure a pre-commit control and focused allowlists for a development team.
Add a CI security gate
Adapt a pipeline template to block new secrets and retain protected evidence.
Try These Prompts
Scan this repository with Gitleaks. Use redaction, inspect current files and git history, then summarize findings without revealing secret values.
Design a Gitleaks pre-commit setup for this repository. Keep allowlists narrow, explain prerequisites, and provide a safe validation procedure.
Adapt the Gitleaks CI template for this platform. Pin dependencies, redact reports, restrict artifacts, and fail only on verified new findings.
Create a Gitleaks rollout plan using baselines, custom rules, review ownership, remediation deadlines, protected reporting, and measurable compliance evidence.
Best Practices
- Use redaction for terminal output, reports, artifacts, and notifications.
- Rotate exposed credentials before removing them from current code or history.
- Review every allowlist entry and test that representative real secrets remain detectable.
Avoid
- Do not publish complete findings files or detected values in CI logs.
- Do not exclude entire source, documentation, or test trees without documented review.
- Do not treat history cleanup as a substitute for credential rotation.
Frequently Asked Questions
Does this skill install Gitleaks?
Can Gitleaks prove that a credential is active?
Should scan reports be stored as CI artifacts?
When should a finding be allowlisted?
Does removing a secret from git history resolve exposure?
Does this skill guarantee regulatory compliance?
Developer Details
Author
AgentSecOpsLicense
MIT
Author version
v0.1.0
Skillstore revision
r2
Repository
https://github.com/AgentSecOps/SecOpsAgentKit/tree/main/skills/devsecops/secrets-gitleaksRef
181fdefcafd96b041926e61c4b2e306ca7e7820e
Maintenance freshness
7/24/2026
Usage
5 downloads ยท 225 views
File structure
๐ assets/
๐ .gitkeep
๐ config-balanced.toml
๐ config-custom.toml
๐ config-strict.toml
๐ github-action.yml
๐ gitlab-ci.yml
๐ references/
๐ detection_rules.md
๐ EXAMPLE.md
๐ false_positives.md
๐ remediation_guide.md
๐ SKILL.md