Runs Trivy's misconfiguration scanner (`trivy config`) against IaC directories to detect security issues across Terraform, CloudFormation, Kubernetes manifests, Helm charts, Dockerfiles, and Azure ARM templates - installs Trivy, scans with severity gating via `--exit-code`, suppresses findings via `.trivyignore` / `.trivyignore.yaml` or inline annotations, extends built-in checks with custom Rego policies, and emits SARIF for GitHub Code Scanning. Trivy is the forward path from tfsec (per Aqua Security's own migration guidance). Use when adopting a consolidated IaC scanner for new projects, migrating away from tfsec, or scanning mixed IaC stacks with a single tool.
79
99%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Medium
Suggest reviewing before use
Security
1 medium severity finding. This skill can be installed but you should review these findings before use.
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 explicitly instructs running sudo commands that modify system package sources and system keyrings (apt sources, /usr/share/keyrings) and to install an RPM as root, which directs changes to the host system state requiring elevated privileges.
Low
Low-risk findings.
1 low severity finding. Worth noting, but not necessarily harmful.
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.
Trivy fetches an OPA checks bundle at runtime from ghcr.io/aquasecurity/trivy-checks (ghcr.io/aquasecurity/trivy-checks), and the skill's install/CI steps also pull and execute remote packages/actions (e.g., the RPM at https://github.com/aquasecurity/trivy/releases/download/v0.72.0/trivy_0.72.0_Linux-64bit.rpm, the apt repo/public key at https://aquasecurity.github.io/trivy-repo/deb and https://aquasecurity.github.io/trivy-repo/deb/public.key, plus CI actions aquasecurity/trivy-action@0.31.0 and github/codeql-action/upload-sarif@v3), which are runtime external dependencies that deliver policies or code executed by the tool or CI.