plugins/secure/skills/third-party-action-risk-assessment/SKILL.md
Structured framework for evaluating GitHub Actions security before adoption. Trust tiers, risk assessment checklist, and decision tree for action evaluation.
npx skillsauth add adaptive-enforcement-lab/claude-skills third-party-action-risk-assessmentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Trust but verify. Every third-party action you adopt into your workflows executes with access to your secrets, code, and deployment infrastructure. Know what you're trusting.
The Risk
Third-party actions run arbitrary code inside your CI/CD pipeline with full access to repository secrets, cloud credentials, and source code. A malicious or compromised action can exfiltrate everything, deploy backdoors, or modify your codebase.
See the full implementation guide in the source documentation.
Always SHA pin third-party actions: Tag references can be mutated. SHA pins are immutable.
# Bad - tag reference
- uses: community/action@v2
# Good - SHA pinned with version comment
- uses: community/action@a1b2c3d4e5f6... # v2.1.0
Review action source code before first use: Never trust based on stars or README alone. Read the actual implementation.
Fork critical actions to organization control: Removes dependency on external maintainer. Gives you control over updates.
Monitor for action updates: Use Dependabot to track new versions. Review changelogs before updating.
Minimize permissions: Grant actions only what they need. Use job-level scoping to limit scope.
Isolate high-risk workflows: Run untrusted actions in separate jobs with minimal permissions and no secret access.
Audit action usage quarterly: Review which actions are in use. Re-assess risk as threat landscape evolves.
Have an exit strategy: Know how to replace or remove every action if it becomes compromised or unmaintained.
See examples.md for code examples.
See reference.md for complete documentation.
documentation
Workload Identity Federation implementation guide. GKE setup, IAM bindings, ServiceAccount configuration, migration from service account keys, and troubleshooting patterns.
development
Secure GitHub Actions trigger patterns for pull requests, forks, and reusable workflows. Preventing privilege escalation and code injection through trigger misconfiguration.
testing
Securely store GitHub App credentials across different environments. GitHub Actions secrets, external CI, Kubernetes, and automated rotation patterns.
testing
Understanding the threat model for self-hosted GitHub Actions runners. GitHub-hosted vs self-hosted comparison and secure deployment patterns.