Pular para o conteúdo
Novo

DeepSeek V4.1 Flash grátis por 7 dias: 10M tokens por dia após recarga de $10 ou mais. Até 30/11.

Como funciona
noorqureshi/code-review-iacLinux, cloud e containers

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 instalações+3 em 7 dias27 EstrelasMITsincronizado há 22 horas

Instalar

Ainda não tem a CLI da NotHoly? Instale primeiro.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/code-review-iac

Grava em ⁦~/.notholy/skills⁩ depois de conferir a assinatura e o SHA-256.

AssinaturaAssinado, ed25519
T9KMXVbElv…8qDs0ECw==A CLI confere o SHA-256 e a assinatura antes de gravar qualquer arquivo.
Pacote7c4531b8…665cb1ee
7c4531b80fc6…2eed665cb1ee1 arquivo · ⁦1.8 KB⁩
VarreduraBaixonenhum achado
A varredura não encontrou nada para apontar nesta versão.Ver a varredura completa
Fontegithub.com/NoorQureshi/security-skills/tree/main/skills/code-review/code-review-iac@ee0e0c5

Este item ainda não foi escrito no seu idioma, então aparece em 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 rules 0.0.0.0/0 on 22/3389/DB ports; public RDS/ELB; publiclyAccessible=true.
  • Over-broad IAM: Action:"*"/Resource:"*", iam:PassRole wildcards, AssumeRole trust 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 = false on 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, no securityContext/runAsNonRoot, wide RBAC (cluster-admin), secrets as env/plaintext, latest images, no network policies.
  • Ansible: shell/command with unquoted vars, no_log missing on secret tasks, world-readable file modes, validate_certs: no.

Method

  1. Run checkov/tfsec/kics for a broad first pass; they cover hundreds of provider rules.
  2. rg '0.0.0.0/0|public|Action.*\*|password|secret|privileged: true' and review each hit's context.
  3. Trace module inputs/variables — an insecure default in a reused module multiplies everywhere.
  4. 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.

Arquivos desta versão

Permissões

PermissãoDeclaradaEncontrada na varredura
Lê arquivosNãoNão
Grava arquivosNãoNão
Roda comandos no shellNãoNão
Usa a redeNãoNão
Usa conectoresNãoNão
Controla um navegadorNãoNão

Achados da varredura

Revisado em 13 de nov. de 2026

A varredura não encontrou nada para apontar nesta versão.

Uma varredura limpa reduz o risco, mas não prova que o pacote é seguro. Leia o que você instala.

VersãoPublicada emCommitSHA-256AssinaturaMudança de permissão
v2026.10.14-ee0e0c513 de nov. de 2026ee0e0c57c4531b8Assinada–

Pergunte tudo o que o seu escopo permite.

Crie a conta, adicione créditos e faça a primeira pergunta no chat ou no terminal.

  1. 1/3

    Crie a conta

    Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.

    Pessoa físicaEmpresa
  2. 2/3

    Adicione créditos

    No cartão. Você paga por token, sem assinatura.

    $5.00recarga mínima
  3. 3/3

    Pergunte

    No chat, ou instale o CLI e rode notholy login no terminal.

    $ notholy login