The guide provides Gitleaks patterns, pre-commit and CI configurations, and TypeScript examples for scanning files, validating environment variables, and monitoring secret usage. It also covers responding to leaked credentials, enabling GitHub secret scanning, and reducing future risk through secret-management practices.
77%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Medium
Suggest reviewing before use
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/secrets-scanner/SKILL.mdDetected a prompt injection in the skill instructions. The skill contains hidden or deceptive instructions that fall outside its stated purpose and attempt to override the agent’s safety guidelines or intended behavior.
The skill is a legitimate secrets-scanning guide with no covert or malicious content, but its remediation checklist includes an unscoped `git push --force --all` that rewrites shared history, a potentially careless destructive step, which under the recall-first override warrants a medium rating.
The skill handles credentials insecurely by requiring the agent to include secret values verbatim in its generated output. This exposes credentials in the agent’s context and conversation history, creating a risk of data exfiltration.
The main scanning path prints matched text, truncated to 50 characters, into console output, which places credential values such as AWS and GitHub tokens into the model's context when it runs the scanner.
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 scanner reads the user's own repository files under ./src and CI checks out the PR branch, so outsider-contributed code could be read, but only as regex-matched snippets (at most 50 characters) and not as free-text instructions the agent is required to process.
The skill prompts the agent to compromise the security or integrity of the user’s machine by modifying system-level services or configurations, such as obtaining elevated privileges, altering startup scripts, or changing system-wide settings.
The skill's pre-commit hook installation and CI workflow setup change persistent repository automation, but the only irreversible step (git history rewriting with force-push and gc pruning) affects version-control content, not operational state, so the answer is low.
sathishssj3/Stereix-Engine
1e0ee85
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.