Use when a team needs open-source secret scanning on commits and in CI, or is adopting it on a repo with existing leaks: gitleaks git, dir and stdin scans, custom rules and allowlists in .gitleaks.toml, pre-commit and GitHub Action setup, baselines, and TruffleHog live verification.
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
The required workflow runs gitleaks against a local repository or directory the user selects, and the report can carry commit messages and file contents that outsiders may have authored through external PRs or forks, so exposure exists only if the agent reads that text after actively choosing to scan those sources.
The skill fetches instructions or code from an external URL at runtime, and the fetched content directly controls the agent’s prompts or executes code. This dynamic dependency allows the external source to modify the agent’s behavior without any changes to the skill itself.
The decisive boundary is the setup-time `docker pull`/`docker run` of the mutable `zricethezav/gitleaks:latest` image, which is executed code from an individually owned Docker Hub namespace (the maintainer's personal account, not the official gitleaks organization), so it is a common/reputable unofficial dependency (medium), while the other fetched sources (gitleaks source clone, pre-commit hook and action, TruffleHog install script, image, and action) are first-party official publishers and do not raise the tier.
zricethezav/gitleaks:latest
dependency · 2 sites
The plugin instructs users to pull and run the Docker image 'zricethezav/gitleaks:latest' from a personal Docker Hub namespace (zricethezav), not the official gitleaks organization, making it an unverifiable external dependency.
SKILL.md
57
docker pull zricethezav/gitleaks:latest
SKILL.md
58
docker run -v ${PWD}:/path zricethezav/gitleaks:latest git /path