iac
Skill by visa
Finds infrastructure-as-code and deployment misconfigurations in Terraform, Dockerfiles, Kubernetes and Helm, compose, CloudFormation, Ansible, and CI pipelines. Intended for security reviewers and developers auditing deployment code.
Install iac
Built from the published package, never by AI.
git clone --depth 1 https://github.com/visa/visa-vulnerability-agentic-harness /tmp/visa-vulnerability-agentic-harness && mkdir -p ~/.claude/skills && cp -r /tmp/visa-vulnerability-agentic-harness/vvaharness/skills/iac ~/.claude/skills/iacRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/visa/visa-vulnerability-agentic-harness /tmp/visa-vulnerability-agentic-harness && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/visa-vulnerability-agentic-harness/vvaharness/skills/iac ~/.gemini/antigravity-cli/skills/iacAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The iac skill hunts for misconfigurations in infrastructure-as-code and deployment files. It covers Terraform, Dockerfiles, Kubernetes and Helm, compose, CloudFormation, Ansible, and CI pipelines. The focus is on over-permissive IAM, exposed services, container escape, secrets in manifests, unpinned supply chain, and disabled controls.
The skill ships probe.sh, which lists the platforms present in a repository and greps each one for known-bad directives, reporting file and line. The assistant then applies judgement that a grep cannot make, such as checking CI trust boundaries and whether a finding has a concrete attack path. Each finding must cite the resource, step, or directive and the security property it violates.
Written from the project's SKILL.md and checked against it.
What it can do
- Platform inventoryLists which infrastructure-as-code and deployment platforms exist in the repository before any review.
- Known-bad directive scanRuns probe.sh to grep each detected platform for known-bad directives, reported as file:line sections.
- Absent control detectionFlags missing controls such as USER directives, NetworkPolicy, and audit logging as findings.
- CI trust boundary checkVerifies pull_request_target, PR head checkout, and code execution together before reporting CI risk.
- Secret exposure reviewChecks secrets in manifests, Kubernetes data fields, and Ansible Vault key placement.
- Base image pinning reviewJudges each FROM line for digest pinning versus latest or moving tags.
What you need
- sh shell to run probe.sh
Try asking
- Audit the Terraform files in this repo for over-permissive IAM
- Check our GitHub workflows for pull_request_target injection risks
- Review the Dockerfiles and Kubernetes manifests for root containers
Good to know
- Grep results alone are not enough; judgement checks are needed before reporting.
- Vendor defaults that match the platform baseline are not findings.
- Best-practice items with no concrete attack path are rated LOW.
- Self-hosted runner risk applies only to public repos without per-job isolation.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: vvaharness/skills/iac/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
probe.sh8 KB
Alternatives to iac
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
iac: common questions
Does this skill report every missing security setting?
No. Findings must name a concrete attack path and a violated property such as least privilege or secret hygiene. Best-practice items without one are rated LOW.
Will it flag every use of secrets in a workflow?
No. A secrets reference is only a finding if the step runs untrusted code or the secret is written to env or outputs where it could be logged.
What does probe.sh do?
It inventories which platforms exist in the given root and then prints labelled file:line sections of known-bad directives for each platform, plus TLS and credential literals.
How do I install iac?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is iac free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is iac safe to use?
It scores 80 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to iac?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
