code-review-iac
Security review of infrastructure-as-code — Terraform, CloudFormation, Ansible, Kubernetes/Helm manifests. Load when reviewing IaC in a repo/PR, on .tf/.yaml/.yml infra files, or "review our Terraform". Signals: *.tf, cloudformation/*.yaml, playbooks, k8s manifests, Helm charts, module registries.
v2026.10.14-ee0e0c53 установки+3 за 7 дней27 ЗвездыMITсинхронизировано 22 часа назад
Установка
Ещё нет NotHoly CLI? Сначала установите её.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install noorqureshi/code-review-iacПишет в ~/.notholy/skills после проверки подписи и SHA-256.
ПодписьПодписано, ed25519
Пакет7c4531b8…665cb1ee
7c4531b80fc6…2eed665cb1ee1 файл · 1.8 KBПроверкаНизкийзамечаний нет
Источникgithub.com/NoorQureshi/security-skills/tree/main/skills/code-review/code-review-iac@ee0e0c5
Эта запись еще не переведена на русский, поэтому показан текст на другом языке: English.
На странице
When it applies
Reviewing the code that provisions cloud/infra. IaC misconfigurations become real, exploitable
exposure the moment they apply — a single line can make a bucket public or an SG world-open — so
this pairs directly with the offensive cloud-* skills.
Why it works
IaC is declarative and repeatable: the same insecure default gets deployed everywhere it's
referenced. Scanning the definitions catches the exposure before it exists, and the patterns
(public access, 0.0.0.0/0, plaintext secrets, missing encryption/logging) are consistent across
providers.
Sinks & patterns (scan, then reason about blast radius)
- Public exposure: S3/GCS/Blob
acl = "public-read"/ public access blocks disabled; security groups / firewall rules0.0.0.0/0on 22/3389/DB ports; public RDS/ELB;publiclyAccessible=true. - Over-broad IAM:
Action:"*"/Resource:"*",iam:PassRolewildcards,AssumeRoletrust to"*", admin-equivalent managed policies attached broadly. - Secrets in code: hardcoded keys/passwords/tokens in
.tf/vars/playbooks; secrets committed in state or plan output;sensitive = falseon secret outputs. - Missing protections: encryption at rest/in transit off (EBS/S3/RDS/SNS), logging/audit disabled (CloudTrail, flow logs, GCP audit), no MFA-delete/versioning, public snapshots/AMIs.
- Kubernetes/Helm:
privileged: true,hostNetwork/hostPID, nosecurityContext/runAsNonRoot, wide RBAC (cluster-admin), secrets as env/plaintext,latestimages, no network policies. - Ansible:
shell/commandwith unquoted vars,no_logmissing on secret tasks, world-readable file modes,validate_certs: no.
Method
- Run
checkov/tfsec/kicsfor a broad first pass; they cover hundreds of provider rules. rg '0.0.0.0/0|public|Action.*\*|password|secret|privileged: true'and review each hit's context.- Trace module inputs/variables — an insecure default in a reused module multiplies everywhere.
- Check state handling (remote, encrypted, access-controlled) and CI that applies it (
code-review-cicd).
Gotchas
- A finding's severity depends on blast radius — a public dev sandbox ≠ a public prod data store.
- Scanners miss cross-resource logic (an SG that's fine until paired with a public subnet) — reason about the whole graph.
- Secrets belong in a manager (Vault/SSM/KMS), never in variables or state — flag any inline secret.
References
CIS Benchmarks (AWS/Azure/GCP/Kubernetes); Checkov/tfsec/KICS rule sets; provider well-architected security pillars.
Файлы этой версии
- SKILL.md3.1 KB
Права
| Право | Заявлено | Найдено проверкой |
|---|---|---|
| Читает файлы | Нет | Нет |
| Пишет файлы | Нет | Нет |
| Выполняет команды shell | Нет | Нет |
| Ходит в сеть | Нет | Нет |
| Использует коннекторы | Нет | Нет |
| Управляет браузером | Нет | Нет |
Замечания проверки
Проверено 13 нояб. 2026 г.
Проверка не нашла в этой версии ничего подозрительного.
Чистая проверка снижает риск, но не доказывает, что пакет безопасен. Читайте то, что ставите.
| Версия | Опубликована | Коммит | SHA-256 | Подпись | Изменение прав |
|---|---|---|---|---|---|
| v2026.10.14-ee0e0c5 | 13 нояб. 2026 г. | ee0e0c5 | 7c4531b8 | Подписана | – |
Ещё от NoorQureshi
Всё от этого издателяЕще в категории «Linux, облака и контейнеры»
Вся категория- detecting-aws-credential-exposure-with-trufflehogmukul975/detecting-aws-credential-exposure-with-trufflehog5
- cloud-gcpnoorqureshi/cloud-gcp4
- container-image-hardeningsecurityskills/container-image-hardening3
- performing-cloud-incident-containment-proceduresmukul975/performing-cloud-incident-containment-procedures3
- implementing-taxii-server-with-opentaxiimukul975/implementing-taxii-server-with-opentaxii3
- detecting-cryptomining-in-cloudmukul975/detecting-cryptomining-in-cloud3
Спрашивайте обо всём, что позволяет ваш скоуп.
Создайте аккаунт, пополните баланс и задайте первый вопрос в чате или в терминале.
- 1/3
Создайте аккаунт
Личный или для компании. Позже можно перейти на аккаунт компании без потери баланса и ключей.
ЛичныйКомпания - 2/3
Пополните баланс
Картой. Оплата за токены, без подписки.
$5.00минимальное пополнение - 3/3
Спрашивайте
В чате, или установите CLI и выполните notholy login в терминале.
$ notholy login