Skip to content

ThomasMoreAI/legal-skills-open / br/data-protection/skills/lgpd-enterprise-auditor-brunolagoa

lgpd-enterprise-auditor-brunolagoa

Flagged

Auditoria de conformidade LGPD (Lei nº 13.709/2018) orientada a evidências, com ECA Digital e plataformas digitais — checklist em 17 domínios, severidade, score 0–100 e relatório com plano de adequação. Use quando o usuário pedir auditoria, diagnóstico ou adequação à LGPD/ANPD de um sistema, SaaS, site, app mobile, pipeline DevSecOps ou sistema de IA/LLM.

FileKindSize
.agents/lgpd-enterprise-auditor/README.mdmarkdown4.3 KB
.agents/lgpd-enterprise-auditor/ai-llm/llm-audit.mdmarkdown6.1 KB
.agents/lgpd-enterprise-auditor/appsec/owasp-api.mdmarkdown7.9 KB
.agents/lgpd-enterprise-auditor/cloud/cloud-audit.mdmarkdown7.2 KB
.agents/lgpd-enterprise-auditor/core/auditor-core.mdmarkdown5.9 KB
.agents/lgpd-enterprise-auditor/core/evidence-engine.mdmarkdown5.7 KB
.agents/lgpd-enterprise-auditor/core/reporting-engine.mdmarkdown7.2 KB
.agents/lgpd-enterprise-auditor/core/scoring-engine.mdmarkdown14.5 KB
.agents/lgpd-enterprise-auditor/core/severity-model.mdmarkdown5.6 KB
.agents/lgpd-enterprise-auditor/devsecops/ci-cd-security.mdmarkdown3.2 KB
.agents/lgpd-enterprise-auditor/governance/dpo-framework.mdmarkdown9.6 KB
.agents/lgpd-enterprise-auditor/legal/anpd-guidelines.mdmarkdown8.0 KB
.agents/lgpd-enterprise-auditor/legal/children-adolescents.mdmarkdown4.4 KB
.agents/lgpd-enterprise-auditor/legal/eca-digital.mdmarkdown25.0 KB
.agents/lgpd-enterprise-auditor/legal/international-transfer.mdmarkdown5.2 KB
.agents/lgpd-enterprise-auditor/legal/legal-bases-engine.mdmarkdown15.5 KB
.agents/lgpd-enterprise-auditor/legal/lgpd-legal-framework.mdmarkdown2.1 KB
.agents/lgpd-enterprise-auditor/legal/plataformas-digitais.mdmarkdown23.6 KB
.agents/lgpd-enterprise-auditor/legal/rights-of-data-subject.mdmarkdown6.9 KB
.agents/lgpd-enterprise-auditor/mobile/mobile-storage.mdmarkdown4.3 KB
.agents/lgpd-enterprise-auditor/orchestrator/activation-matrix.mdmarkdown1.7 KB
.agents/lgpd-enterprise-auditor/orchestrator/full-audit.mdmarkdown1.8 KB
.agents/lgpd-enterprise-auditor/orchestrator/manifests/ai-llm.manifest.mdmarkdown372 B
.agents/lgpd-enterprise-auditor/orchestrator/manifests/appsec.manifest.mdmarkdown528 B
.agents/lgpd-enterprise-auditor/orchestrator/manifests/cloud.manifest.mdmarkdown412 B
.agents/lgpd-enterprise-auditor/orchestrator/manifests/core.manifest.mdmarkdown418 B
.agents/lgpd-enterprise-auditor/orchestrator/manifests/devsecops.manifest.mdmarkdown368 B
.agents/lgpd-enterprise-auditor/orchestrator/manifests/eca-digital.manifest.mdmarkdown2.1 KB
.agents/lgpd-enterprise-auditor/orchestrator/manifests/governance.manifest.mdmarkdown533 B
.agents/lgpd-enterprise-auditor/orchestrator/manifests/legal.manifest.mdmarkdown965 B
.agents/lgpd-enterprise-auditor/orchestrator/manifests/mobile.manifest.mdmarkdown363 B
.agents/lgpd-enterprise-auditor/orchestrator/manifests/plataformas-digitais.manifest.mdmarkdown2.0 KB
.agents/lgpd-enterprise-auditor/orchestrator/router.mdmarkdown6.7 KB
.agents/lgpd-enterprise-auditor/reports/compliance-report.mdmarkdown2.0 KB
.agents/lgpd-enterprise-auditor/reports/executive-report.mdmarkdown941 B
.agents/lgpd-enterprise-auditor/reports/html-report-template.htmlother61.6 KB
.agents/lgpd-enterprise-auditor/reports/html-report.mdmarkdown12.3 KB
.agents/lgpd-enterprise-auditor/reports/risk-matrix.mdmarkdown790 B
.agents/lgpd-enterprise-auditor/reports/technical-report.mdmarkdown1.7 KB
.agents/lgpd-enterprise-auditor/templates/age-assurance-checklist.mdmarkdown6.1 KB
.agents/lgpd-enterprise-auditor/templates/cookie-policy-template.mdmarkdown462 B
.agents/lgpd-enterprise-auditor/templates/dpa-template.mdmarkdown1.9 KB
.agents/lgpd-enterprise-auditor/templates/dpo-appointment-template.mdmarkdown1.4 KB
.agents/lgpd-enterprise-auditor/templates/eca-transparency-report-template.mdmarkdown6.1 KB
.agents/lgpd-enterprise-auditor/templates/incident-response-template.mdmarkdown914 B
.agents/lgpd-enterprise-auditor/templates/lia-template.mdmarkdown1.4 KB
.agents/lgpd-enterprise-auditor/templates/privacy-policy-template.mdmarkdown2.7 KB
.agents/lgpd-enterprise-auditor/templates/retention-policy-template.mdmarkdown1.6 KB
.agents/lgpd-enterprise-auditor/templates/ripd-template.mdmarkdown1.3 KB
.agents/lgpd-enterprise-auditor/templates/ropa-template.mdmarkdown1.4 KB
.agents/lgpd-enterprise-auditor/validation/parity-checklist.mdmarkdown12.9 KB
.agents/lgpd-enterprise-auditor/validation/traceability-matrix.mdmarkdown2.9 KB
.claude/settings.jsonconfig83 B
.github/ISSUE_TEMPLATE/atualizacao-normativa.ymlconfig2.5 KB
.github/ISSUE_TEMPLATE/bug.ymlconfig2.6 KB
.github/ISSUE_TEMPLATE/config.ymlconfig499 B
.github/ISSUE_TEMPLATE/feature.ymlconfig1.4 KB
.github/pull_request_template.mdmarkdown1.2 KB
.github/workflows/attribution.ymlconfig1.4 KB
.github/workflows/framework.ymlconfig763 B
.github/workflows/html-report.ymlconfig381 B
.github/workflows/install.ymlconfig1.6 KB
.github/workflows/release.ymlconfig1.5 KB
.github/workflows/versions.ymlconfig496 B
.gitignoreother9 B
CHANGELOG.mdmarkdown23.8 KB
CLAUDE.mdmarkdown38.8 KB
CODE_OF_CONDUCT.mdmarkdown6.0 KB
CONTRIBUTING.mdmarkdown6.1 KB
LICENSEother1.0 KB
README.en.mdmarkdown15.6 KB
README.mdmarkdown16.2 KB
SECURITY.mdmarkdown2.0 KB
SKILL.mdskill md47.1 KB
commands/lgpd-ai-llm.mdmarkdown2.4 KB
commands/lgpd-devsecops.mdmarkdown2.0 KB
commands/lgpd-eca-digital.mdmarkdown3.8 KB
commands/lgpd-full-audit.mdmarkdown2.2 KB
commands/lgpd-mobile.mdmarkdown2.4 KB
commands/lgpd-plataformas-digitais.mdmarkdown3.7 KB
commands/lgpd-saas.mdmarkdown2.4 KB
commands/lgpd-web.mdmarkdown3.0 KB
examples/README.mdmarkdown4.5 KB
examples/saas-demo/.env.exampleother398 B
examples/saas-demo/.github/workflows/ci.ymlconfig662 B
examples/saas-demo/.gitignoreother180 B
examples/saas-demo/README.mdmarkdown2.5 KB
examples/saas-demo/api/index.jsscript1.5 KB
examples/saas-demo/db/schema.sqlother1.3 KB
examples/saas-demo/docs/lgpd/politica-de-privacidade.mdmarkdown1.0 KB
examples/saas-demo/package.jsonmanifest597 B
examples/saas-demo/public/index.htmlother2.5 KB
examples/saas-demo/public/js/agendar.jsscript1.1 KB
examples/saas-demo/public/js/consent.jsscript973 B
examples/saas-demo/relatorio-auditoria-lgpd.htmlother264.4 KB
examples/saas-demo/relatorio-auditoria-lgpd.mdmarkdown168.4 KB
examples/saas-demo/src/auth.jsscript1.4 KB
examples/saas-demo/src/db.jsscript240 B
examples/saas-demo/src/routes/agendamentos.jsscript2.2 KB
examples/saas-demo/src/routes/clinica.jsscript1.8 KB
examples/saas-demo/vercel.jsonconfig475 B
scripts/install.ps1script30.4 KB
scripts/install.shscript28.5 KB
scripts/tests/run-all.shscript3.0 KB
scripts/tests/test-framework.shscript11.3 KB
scripts/tests/test-html-report.shscript5.0 KB
scripts/tests/test-install.ps1script10.0 KB
scripts/tests/test-install.shscript9.2 KB
scripts/tests/test-versions.shscript1.7 KB
scripts/update-example-report.shscript1.5 KB
scripts/update-skill-catalog.shscript3.9 KB
scripts/validate-report.pyscript21.3 KB

scripts/update-skill-catalog.sh

View on GitHub
#!/usr/bin/env bash
# Regera, na skill (SKILL.md), o catálogo de itens do checklist e a lista de dependências a partir dos módulos
# do framework. Os módulos são a fonte; o bloco entre os marcadores da skill nunca é editado à mão.
# Uso: scripts/update-skill-catalog.sh [--check]
#   --check  não grava: sai com 1 se a skill estiver desatualizada em relação aos módulos.

set -euo pipefail

REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
FRAMEWORK="${REPO_ROOT}/.agents/lgpd-enterprise-auditor"
SKILL="${REPO_ROOT}/SKILL.md"
START='<!-- CATALOGO:INICIO (gerado por scripts/update-skill-catalog.sh a partir dos módulos do framework; não editar à mão) -->'
END='<!-- CATALOGO:FIM -->'
CHECK=0
[[ "${1:-}" == "--check" ]] && CHECK=1

# A ordem dos arquivos define a ordem dos itens dentro de cada domínio.
MODULE_FILES=(
  legal/legal-bases-engine.md
  legal/rights-of-data-subject.md
  legal/children-adolescents.md
  legal/international-transfer.md
  governance/dpo-framework.md
  cloud/cloud-audit.md
  appsec/owasp-api.md
  mobile/mobile-storage.md
  devsecops/ci-cd-security.md
  ai-llm/llm-audit.md
  legal/eca-digital.md
  legal/plataformas-digitais.md
)

[[ -f "$SKILL" ]] || { echo "Skill não encontrada: ${SKILL}"; exit 1; }
for marker in "$START" "$END"; do
  [[ "$(grep -cxF -- "$marker" "$SKILL" || true)" == "1" ]] \
    || { echo "Marcador ausente ou repetido em SKILL.md: ${marker}"; exit 1; }
done

TMP_DIR="$(mktemp -d)"
trap 'rm -rf "$TMP_DIR"' EXIT

sources=("${FRAMEWORK}/core/scoring-engine.md")
for file in "${MODULE_FILES[@]}"; do
  [[ -f "${FRAMEWORK}/${file}" ]] || { echo "Módulo não encontrado: ${file}"; exit 1; }
  sources+=("${FRAMEWORK}/${file}")
done

# Primeiro arquivo: mapa de domínios (código, nome, área). Demais: linhas de item do catálogo,
# agrupadas pelo domínio (coluna 3) e impressas sem essa coluna, que vira o título do grupo.
LC_ALL=C awk '
  FNR == 1 { file++ }
  file == 1 {
    if ($0 ~ /^\| `(BL|[0-9]+)` \|/) {
      split($0, c, /[ ]*\|[ ]*/)
      code = c[2]; gsub(/`/, "", code)
      order[++total] = code; name[code] = c[3]; area[code] = c[4]
    }
    next
  }
  /^\| `[A-Z][A-Z]+-[0-9]+` \|/ {
    split($0, c, /[ ]*\|[ ]*/)
    if (!(c[4] in name)) { printf "Domínio desconhecido em %s: %s\n", c[2], c[4] > "/dev/stderr"; bad = 1 }
    rows[c[4]] = rows[c[4]] "| " c[2] " | " c[3] " | " c[5] " | " c[6] " | " c[7] " | " c[8] " |\n"
  }
  # Dependências entre itens, para a contagem única: "- `GV-05` depende de `GV-02`: motivo".
  /^- `[A-Z][A-Z]+-[0-9]+` depende de `[A-Z][A-Z]+-[0-9]+`/ { deps = deps $0 "\n" }
  END {
    if (bad) exit 1
    for (i = 1; i <= total; i++) {
      code = order[i]
      if (rows[code] == "") continue
      printf "## %s. %s — área %s\n\n", code, name[code], area[code]
      print "| ID | Item | Criticidade | Agravante ou atenuante | Controle | Fundamento |"
      print "|---|---|---|---|---|---|"
      printf "%s\n", rows[code]
    }
    if (deps != "") {
      print "## Dependências entre itens\n"
      print "Com o segundo item `NAO_CONFORME`, o primeiro fica `NAO_APLICAVEL`. A lista é fechada: fora dela, cada item é avaliado pelo próprio requisito.\n"
      printf "%s\n", deps
    }
  }
' "${sources[@]}" > "${TMP_DIR}/catalog.md"

[[ -s "${TMP_DIR}/catalog.md" ]] || { echo "Nenhum item de catálogo encontrado nos módulos."; exit 1; }

LC_ALL=C awk -v start="$START" -v end="$END" -v catalog="${TMP_DIR}/catalog.md" '
  $0 == start { print; print ""; while ((getline line < catalog) > 0) print line; skip = 1; next }
  $0 == end { skip = 0 }
  !skip { print }
' "$SKILL" > "${TMP_DIR}/SKILL.md"

if cmp -s "${TMP_DIR}/SKILL.md" "$SKILL"; then
  echo "Catálogo da skill em dia com os módulos."
  exit 0
fi

if [[ "$CHECK" -eq 1 ]]; then
  echo "Catálogo da skill desatualizado em relação aos módulos (rode scripts/update-skill-catalog.sh)."
  exit 1
fi

cat "${TMP_DIR}/SKILL.md" > "$SKILL"
echo "Catálogo da skill atualizado a partir dos módulos."
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 196kUpdated Claude CodeCodexVerifiedInstall