setup-repo-guards
Fail
Audited by Snyk on Nov 17, 2026
Risk Level: CRITICAL
Full Analysis
CRITICAL E004: Prompt injection detected in skill instructions.
- Potential prompt injection detected (medium risk: 0.30). The skill's design is openly documented and gated by explicit approval, but it sets the main branch ruleset to 0 required approvals, weakening a protection on the user's repository beyond what a guard-installation task strictly needs.
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (medium risk: 0.30). The required flow has the agent respond to and resolve PR review threads before each squash merge (SKILL.md:17, 552-553), and on public repos those threads can contain comments from outsiders, so the agent ingests outsider-authored text from GitHub PR comments without first selecting a specific item.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (medium risk: 0.30). The skill fetches the
ai-review.single.ymltemplate from the Fandhe-AI/actions repository and installs it as a workflow, and the installed wrapper references that repo's reusable workflow at mutable@latest, so the dependency gate passes. Fandhe-AI is the organization's own shared-actions repo, but the skill does not establish it as a recognized first-party publisher, and@latestis mutable with only structural checks, so I assign the common/reputable unofficial tier, medium.
MEDIUM W013: Attempt to modify system services in skill instructions.
- Attempt to modify system services in skill instructions detected (low risk: 0.30). The skill changes remote GitHub repository settings (rulesets, merge settings, Actions permissions) via admin API calls, but it never asks for sudo, creates system accounts, or edits system, SSH, or service files on the machine, and it gates writes behind explicit approval and backups.
Issues (4)
E004
CRITICALPrompt injection detected in skill instructions.
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
W013
MEDIUMAttempt to modify system services in skill instructions.
Audit Metadata