@aegis-scan/skills 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ATTRIBUTION.md +93 -0
- package/package.json +1 -1
- package/sbom.cdx.json +1 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/.claude-plugin/plugin.json +108 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/CHANGELOG.md +878 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/HANDOVER-LO-LIVE-VERIFICATION-2026-05-15.md +187 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/README.md +9 -3
- package/skills/compliance/aegis-native/brutaler-anwalt/SKILL.md +93 -14
- package/skills/compliance/aegis-native/brutaler-anwalt/commands/audit.md +193 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/commands/avv-redline.md +246 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/commands/az-verify.md +155 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/commands/cold-start.md +157 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/commands/dsar-respond.md +180 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/commands/health.md +50 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/commands/simulate.md +158 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/hooks/post_write.py +315 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/hooks/prompt_submit.py +144 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/hooks/session_start.py +57 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/hooks/triggers.json +191 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/INDEX.md +102 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/abmahn-templates.md +1 -1
- package/skills/compliance/aegis-native/brutaler-anwalt/references/aegis-integration.md +60 -5
- package/skills/compliance/aegis-native/brutaler-anwalt/references/audit-patterns.md +745 -11
- package/skills/compliance/aegis-native/brutaler-anwalt/references/az-auffuellung-batch1.md +468 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/bgh-urteile.md +106 -30
- package/skills/compliance/aegis-native/brutaler-anwalt/references/branchenrecht.md +247 -2
- package/skills/compliance/aegis-native/brutaler-anwalt/references/checklisten.md +75 -2
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-aufsichtsbehoerden-taetigkeitsberichte-2024.md +310 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-bussgeld-argumentations-layer.md +598 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-dsk-beschluesse.md +346 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/AGG/audit-relevance.md +76 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/AGG/paragraphs.md +115 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/AMG/audit-relevance.md +58 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/AMG/paragraphs.md +95 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/ArbZG/audit-relevance.md +60 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/ArbZG/paragraphs.md +90 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/BetrVG/audit-relevance.md +73 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/BetrVG/paragraphs.md +114 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/DDG/audit-relevance.md +72 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/DDG/paragraphs.md +103 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/DiGAV/audit-relevance.md +65 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/DiGAV/paragraphs.md +102 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/ElektroG/audit-relevance.md +66 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/ElektroG/paragraphs.md +108 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/FernUSG/audit-relevance.md +80 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/FernUSG/paragraphs.md +102 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/GeschGehG/audit-relevance.md +89 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/GeschGehG/paragraphs.md +107 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/GwG/audit-relevance.md +62 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/GwG/paragraphs.md +119 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/HWG/audit-relevance.md +70 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/HWG/paragraphs.md +125 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/HinSchG/audit-relevance.md +70 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/HinSchG/paragraphs.md +116 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/INDEX.md +152 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/KWG/audit-relevance.md +64 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/KWG/paragraphs.md +110 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/LFGB/audit-relevance.md +63 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/LFGB/paragraphs.md +90 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/MPDG/audit-relevance.md +61 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/MPDG/paragraphs.md +96 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/NachwG/audit-relevance.md +54 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/NachwG/paragraphs.md +82 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/PAngV/audit-relevance.md +76 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/PAngV/paragraphs.md +86 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/RDG/audit-relevance.md +84 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/RDG/paragraphs.md +114 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/TDDDG/audit-relevance.md +92 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/TDDDG/paragraphs.md +91 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/UrhG-UrhDaG/audit-relevance.md +85 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/UrhG-UrhDaG/paragraphs.md +166 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/VDuG/audit-relevance.md +71 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/VDuG/paragraphs.md +102 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/VERIFICATION-NOTES.md +111 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/VVG/audit-relevance.md +65 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/VVG/paragraphs.md +101 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/VerpackG/audit-relevance.md +62 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/VerpackG/paragraphs.md +120 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/WpHG/audit-relevance.md +64 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/WpHG/paragraphs.md +120 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/ZAG/audit-relevance.md +68 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/de-statute-tier1/ZAG/paragraphs.md +110 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/dsgvo.md +55 -8
- package/skills/compliance/aegis-native/brutaler-anwalt/references/eu-edpb-guidelines.md +505 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/eu-eugh-dsgvo-schadensersatz.md +223 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/BDSG/audit-relevance.md +31 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/BFSG/audit-relevance.md +39 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/BGB/audit-relevance.md +42 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/DDG/audit-relevance.md +28 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/DSGVO/audit-relevance.md +35 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/AI-Act-2024-1689/articles.md +4 -1
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/AI-Act-2024-1689/audit-relevance.md +139 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/AI-Act-2024-1689/gpai-pflichten.md +102 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/AI-Act-2024-1689/hochrisiko-annex-iii.md +134 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/AI-Act-2024-1689/sanktionen-art-99.md +97 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/AI-Act-2024-1689/transparenz-art-50.md +120 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/AI-Act-2024-1689/uebergangsfristen.md +109 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/CER-2022-2557/articles.md +42 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/CRA-2024-2847/articles.md +87 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/CSDDD-2024-1760/articles.md +43 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/CSRD-2022-2464/articles.md +42 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/DGA-2022-868/articles.md +53 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/DMA-2022-1925/articles.md +55 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/DORA-2022-2554/articles.md +164 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/DORA-2022-2554/audit-relevance.md +86 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/DSA-2022-2065/articles.md +3 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/DSA-2022-2065/audit-relevance.md +110 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/DSA-2022-2065/notice-and-action.md +138 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/DSA-2022-2065/small-platform-pflichten.md +109 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/DSA-2022-2065/trusted-flaggers.md +77 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/DSA-2022-2065/vlop-vlose.md +130 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/Data-Act-2023-2854/articles.md +102 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/Data-Act-2023-2854/audit-relevance.md +77 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/MiCA-2023-1114/articles.md +124 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/MiCA-2023-1114/audit-relevance.md +85 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/NIS2-2022-2555/articles.md +101 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/ProdHaftRL-2024-2853/articles.md +68 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/EU-Verordnungen/eIDAS-2024-1183/articles.md +43 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/Finance/KWG.md +52 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/Finance/PSD2.md +67 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/Finance/ZAG.md +50 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/GlueStV/articles.md +86 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/HGB-AO/audit-relevance.md +27 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/HinSchG/articles.md +96 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/JuSchG-JMStV/articles.md +86 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/KritisDachG/articles.md +39 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/LkSG/articles.md +90 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/MedTech/DiGAV.md +60 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/MedTech/IVDR-2017-746.md +51 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/MedTech/MDR-2017-745.md +85 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/NIS2UmsuCG-BSIG/articles.md +53 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/StGB/relevante-paragraphen.md +157 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/TDDDG/audit-relevance.md +33 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/TDDDG/paragraphs.md +3 -2
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/TKG/articles.md +73 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/UWG/audit-relevance.md +39 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/UWG/paragraphs.md +71 -3
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/VERIFICATION-STATUS.md +266 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/VSBG/audit-relevance.md +37 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/ePrivacy-RL-2002-58/articles.md +92 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/ePrivacy-RL-2002-58/audit-relevance.md +62 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/it-recht.md +115 -9
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/INDEX.md +1 -1
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/ai/anthropic-dpa.md +87 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/astro/cookie-banner-pattern.md +202 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/astro/dse-section-pattern.md +198 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/astro/tracking-server-endpoint.md +193 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/auth/auth0-tom.md +92 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/auth/clerk-tom.md +84 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/django/auth-cookies-pattern.md +295 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/django/cookie-banner-pattern.md +318 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/django/gdpr-cleanup-celery.md +339 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/express/cookie-banner-pattern.md +237 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/express/gdpr-routes-pattern.md +256 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/express/helmet-csp-pattern.md +207 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/laravel/agb-versioning-pattern.md +305 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/laravel/cookie-banner-pattern.md +287 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/laravel/gdpr-models-pattern.md +290 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/laravel/tracking-config-pattern.md +263 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/nest/auth-pattern.md +265 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/nest/cookie-banner-pattern.md +255 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/nest/gdpr-cleanup-cron.md +244 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/nest/tracking-interceptor.md +239 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/nextjs/api-route-bearer-auth.md +103 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/nextjs/dynamic-rendering-headers.md +83 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/nextjs/env-driven-tracking.md +135 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/rails/cookie-banner-pattern.md +294 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/rails/devise-dsgvo-pattern.md +262 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/rails/gdpr-anonymization-pattern.md +283 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/react/consent-gate-pattern.md +99 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/react/cookie-banner-pattern.md +204 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/strapi/cms-pii-pattern.md +301 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/strapi/notice-and-action-plugin.md +371 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/svelte/cookie-banner-pattern.md +234 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/svelte/dse-section-pattern.md +231 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/svelte/sveltekit-server-hooks-pattern.md +217 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/tracking/google-analytics-consent.md +129 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/tracking/posthog-consent.md +79 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/vue/cookie-banner-pattern.md +208 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/vue/dse-i18n-pattern.md +204 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/vue/nuxt-vs-vue-only-pattern.md +197 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/vue/tracking-pinia-pattern.md +211 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/strafrecht-steuer.md +1 -1
- package/skills/compliance/aegis-native/brutaler-anwalt/references/streitwerte.json +176 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates/DSFA-template.md +80 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates/VVT-template-file-upload.md +98 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates-avv-layer/AVV-EN-international.md +267 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates-avv-layer/AVV-anhang-Audit-Klausel-Varianten.md +148 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates-avv-layer/AVV-anhang-CH-revDSG.md +127 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates-avv-layer/AVV-anhang-SCC-module2-controller-processor.md +180 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates-avv-layer/AVV-anhang-SCC-module3-processor-subprocessor.md +144 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates-avv-layer/AVV-anhang-Sub-Processor-List.md +114 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates-avv-layer/AVV-anhang-TOMs.md +197 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates-avv-layer/AVV-anhang-UK-IDTA.md +131 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates-avv-layer/AVV-standard-DE.md +288 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates-avv-layer/Joint-Controller-Vertrag-Art-26.md +265 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/scripts/health-check.sh +190 -48
- package/skills/compliance/aegis-native/brutaler-anwalt/scripts/test-triggers.sh +145 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/settings.json +90 -0
- package/skills/defensive/permoon-fork/README.md +40 -0
- package/skills/defensive/permoon-fork/multi-model-consolidation/SKILL.md +47 -0
- package/skills/defensive/permoon-fork/multi-model-severity/SKILL.md +34 -0
- package/skills/defensive/permoon-fork/multi-model-system-prompt/SKILL.md +40 -0
- package/skills/foundation/aegis-native/aegis-handover-writer/SKILL.md +1 -1
- package/skills/foundation/aegis-native/aegis-quality-gates/SKILL.md +1 -1
- package/skills/offensive/airecon-fork/ctf-crypto/SKILL.md +260 -0
- package/skills/offensive/airecon-fork/ctf-crypto-modern-ciphers/SKILL.md +688 -0
- package/skills/offensive/airecon-fork/ctf-forensics/SKILL.md +253 -0
- package/skills/offensive/airecon-fork/ctf-forensics-network/SKILL.md +480 -0
- package/skills/offensive/airecon-fork/ctf-heap-advanced/SKILL.md +336 -0
- package/skills/offensive/airecon-fork/ctf-pwn/SKILL.md +294 -0
- package/skills/offensive/airecon-fork/ctf-pwn-rop-and-shellcode/SKILL.md +392 -0
- package/skills/offensive/airecon-fork/ctf-reversing/SKILL.md +284 -0
- package/skills/offensive/airecon-fork/frameworks-django/SKILL.md +268 -0
- package/skills/offensive/airecon-fork/frameworks-dotnet/SKILL.md +280 -0
- package/skills/offensive/airecon-fork/frameworks-express/SKILL.md +266 -0
- package/skills/offensive/airecon-fork/frameworks-fastapi/SKILL.md +193 -0
- package/skills/offensive/airecon-fork/frameworks-flask/SKILL.md +297 -0
- package/skills/offensive/airecon-fork/frameworks-laravel/SKILL.md +260 -0
- package/skills/offensive/airecon-fork/frameworks-nextjs/SKILL.md +230 -0
- package/skills/offensive/airecon-fork/frameworks-php/SKILL.md +271 -0
- package/skills/offensive/airecon-fork/frameworks-rails/SKILL.md +269 -0
- package/skills/offensive/airecon-fork/frameworks-spring/SKILL.md +245 -0
- package/skills/offensive/airecon-fork/frameworks-wordpress/SKILL.md +348 -0
- package/skills/offensive/airecon-fork/payloads-command-injection/SKILL.md +459 -0
- package/skills/offensive/airecon-fork/payloads-http-parameter-pollution/SKILL.md +129 -0
- package/skills/offensive/airecon-fork/payloads-ldap-injection/SKILL.md +100 -0
- package/skills/offensive/airecon-fork/payloads-lfi/SKILL.md +485 -0
- package/skills/offensive/airecon-fork/payloads-sqli/SKILL.md +419 -0
- package/skills/offensive/airecon-fork/payloads-ssrf/SKILL.md +125 -0
- package/skills/offensive/airecon-fork/payloads-ssti/SKILL.md +443 -0
- package/skills/offensive/airecon-fork/payloads-xss/SKILL.md +447 -0
- package/skills/offensive/airecon-fork/payloads-xxe/SKILL.md +172 -0
- package/skills/offensive/airecon-fork/postexploit-ad-credential-attacks/SKILL.md +306 -0
- package/skills/offensive/airecon-fork/postexploit-container-escape/SKILL.md +299 -0
- package/skills/offensive/airecon-fork/postexploit-credential-dumping/SKILL.md +249 -0
- package/skills/offensive/airecon-fork/postexploit-lateral-movement/SKILL.md +194 -0
- package/skills/offensive/airecon-fork/postexploit-linux-privesc/SKILL.md +252 -0
- package/skills/offensive/airecon-fork/postexploit-netexec-workflow/SKILL.md +302 -0
- package/skills/offensive/airecon-fork/postexploit-pivoting/SKILL.md +205 -0
- package/skills/offensive/airecon-fork/postexploit-windows-privesc/SKILL.md +210 -0
- package/skills/offensive/airecon-fork/protocols-active-directory/SKILL.md +314 -0
- package/skills/offensive/airecon-fork/protocols-dns/SKILL.md +203 -0
- package/skills/offensive/airecon-fork/protocols-ftp/SKILL.md +159 -0
- package/skills/offensive/airecon-fork/protocols-graphql/SKILL.md +648 -0
- package/skills/offensive/airecon-fork/protocols-kerberos/SKILL.md +168 -0
- package/skills/offensive/airecon-fork/protocols-ldap/SKILL.md +245 -0
- package/skills/offensive/airecon-fork/protocols-rdp/SKILL.md +186 -0
- package/skills/offensive/airecon-fork/protocols-smb/SKILL.md +191 -0
- package/skills/offensive/airecon-fork/protocols-smtp-imap/SKILL.md +263 -0
- package/skills/offensive/airecon-fork/protocols-snmp/SKILL.md +147 -0
- package/skills/offensive/airecon-fork/protocols-ssh/SKILL.md +287 -0
- package/skills/offensive/airecon-fork/reconnaissance-asn-whois-osint/SKILL.md +236 -0
- package/skills/offensive/airecon-fork/reconnaissance-ctf-methodology/SKILL.md +435 -0
- package/skills/offensive/airecon-fork/reconnaissance-dorking/SKILL.md +182 -0
- package/skills/offensive/airecon-fork/reconnaissance-exposed-devtools-detection/SKILL.md +513 -0
- package/skills/offensive/airecon-fork/reconnaissance-full-recon/SKILL.md +305 -0
- package/skills/offensive/airecon-fork/reconnaissance-internal-pentest/SKILL.md +202 -0
- package/skills/offensive/airecon-fork/reconnaissance-javascript-analysis/SKILL.md +167 -0
- package/skills/offensive/airecon-fork/reconnaissance-js-internal-hostname-intelligence/SKILL.md +391 -0
- package/skills/offensive/airecon-fork/reconnaissance-monitoring-secrets-exposure/SKILL.md +394 -0
- package/skills/offensive/airecon-fork/reconnaissance-shodan-censys/SKILL.md +279 -0
- package/skills/offensive/airecon-fork/reconnaissance-subdomain-enum/SKILL.md +952 -0
- package/skills/offensive/airecon-fork/technologies-cicd-attacks/SKILL.md +283 -0
- package/skills/offensive/airecon-fork/technologies-cloud-security/SKILL.md +299 -0
- package/skills/offensive/airecon-fork/technologies-docker-container/SKILL.md +266 -0
- package/skills/offensive/airecon-fork/technologies-elasticsearch/SKILL.md +226 -0
- package/skills/offensive/airecon-fork/technologies-firebase-firestore/SKILL.md +213 -0
- package/skills/offensive/airecon-fork/technologies-frida-hooking/SKILL.md +387 -0
- package/skills/offensive/airecon-fork/technologies-gitlab-github/SKILL.md +259 -0
- package/skills/offensive/airecon-fork/technologies-jenkins/SKILL.md +256 -0
- package/skills/offensive/airecon-fork/technologies-kubernetes-pentest/SKILL.md +281 -0
- package/skills/offensive/airecon-fork/technologies-memcached/SKILL.md +230 -0
- package/skills/offensive/airecon-fork/technologies-mobile-app-pentesting/SKILL.md +105 -0
- package/skills/offensive/airecon-fork/technologies-mongodb/SKILL.md +257 -0
- package/skills/offensive/airecon-fork/technologies-nginx-apache/SKILL.md +280 -0
- package/skills/offensive/airecon-fork/technologies-observability-stack-attacks/SKILL.md +501 -0
- package/skills/offensive/airecon-fork/technologies-redis/SKILL.md +236 -0
- package/skills/offensive/airecon-fork/technologies-supabase/SKILL.md +270 -0
- package/skills/offensive/airecon-fork/technologies-tomcat/SKILL.md +232 -0
- package/skills/offensive/airecon-fork/tools-advanced-fuzzing/SKILL.md +351 -0
- package/skills/offensive/airecon-fork/tools-browser-automation/SKILL.md +300 -0
- package/skills/offensive/airecon-fork/tools-caido/SKILL.md +776 -0
- package/skills/offensive/airecon-fork/tools-code-review/SKILL.md +71 -0
- package/skills/offensive/airecon-fork/tools-dalfox/SKILL.md +189 -0
- package/skills/offensive/airecon-fork/tools-hashcat-john/SKILL.md +258 -0
- package/skills/offensive/airecon-fork/tools-impacket/SKILL.md +227 -0
- package/skills/offensive/airecon-fork/tools-install/SKILL.md +202 -0
- package/skills/offensive/airecon-fork/tools-metasploit/SKILL.md +270 -0
- package/skills/offensive/airecon-fork/tools-nmap/SKILL.md +211 -0
- package/skills/offensive/airecon-fork/tools-nuclei/SKILL.md +175 -0
- package/skills/offensive/airecon-fork/tools-reporting/SKILL.md +47 -0
- package/skills/offensive/airecon-fork/tools-scripting/SKILL.md +1939 -0
- package/skills/offensive/airecon-fork/tools-semgrep/SKILL.md +202 -0
- package/skills/offensive/airecon-fork/tools-source-audit/SKILL.md +308 -0
- package/skills/offensive/airecon-fork/tools-sqlmap/SKILL.md +137 -0
- package/skills/offensive/airecon-fork/tools-tool-catalog/SKILL.md +320 -0
- package/skills/offensive/airecon-fork/tools-wapiti/SKILL.md +293 -0
- package/skills/offensive/airecon-fork/vulnerabilities-2fa-bypass/SKILL.md +219 -0
- package/skills/offensive/airecon-fork/vulnerabilities-account-takeover/SKILL.md +223 -0
- package/skills/offensive/airecon-fork/vulnerabilities-api-schema-exposure/SKILL.md +849 -0
- package/skills/offensive/airecon-fork/vulnerabilities-api-testing/SKILL.md +278 -0
- package/skills/offensive/airecon-fork/vulnerabilities-auth-workflow/SKILL.md +252 -0
- package/skills/offensive/airecon-fork/vulnerabilities-authentication-jwt/SKILL.md +158 -0
- package/skills/offensive/airecon-fork/vulnerabilities-bfla/SKILL.md +156 -0
- package/skills/offensive/airecon-fork/vulnerabilities-blind-xss/SKILL.md +111 -0
- package/skills/offensive/airecon-fork/vulnerabilities-business-logic/SKILL.md +313 -0
- package/skills/offensive/airecon-fork/vulnerabilities-cors/SKILL.md +242 -0
- package/skills/offensive/airecon-fork/vulnerabilities-crlf-injection/SKILL.md +146 -0
- package/skills/offensive/airecon-fork/vulnerabilities-csrf/SKILL.md +200 -0
- package/skills/offensive/airecon-fork/vulnerabilities-csrf-advanced-bypass/SKILL.md +536 -0
- package/skills/offensive/airecon-fork/vulnerabilities-deserialization/SKILL.md +363 -0
- package/skills/offensive/airecon-fork/vulnerabilities-dom-based-vulnerabilities/SKILL.md +105 -0
- package/skills/offensive/airecon-fork/vulnerabilities-exploitation/SKILL.md +286 -0
- package/skills/offensive/airecon-fork/vulnerabilities-grpc/SKILL.md +123 -0
- package/skills/offensive/airecon-fork/vulnerabilities-host-header-injection/SKILL.md +169 -0
- package/skills/offensive/airecon-fork/vulnerabilities-http-smuggling/SKILL.md +411 -0
- package/skills/offensive/airecon-fork/vulnerabilities-idor/SKILL.md +705 -0
- package/skills/offensive/airecon-fork/vulnerabilities-information-disclosure/SKILL.md +867 -0
- package/skills/offensive/airecon-fork/vulnerabilities-insecure-file-uploads/SKILL.md +190 -0
- package/skills/offensive/airecon-fork/vulnerabilities-jwt-attacks/SKILL.md +270 -0
- package/skills/offensive/airecon-fork/vulnerabilities-kubernetes/SKILL.md +252 -0
- package/skills/offensive/airecon-fork/vulnerabilities-mass-assignment/SKILL.md +788 -0
- package/skills/offensive/airecon-fork/vulnerabilities-nosql-injection/SKILL.md +204 -0
- package/skills/offensive/airecon-fork/vulnerabilities-oauth-misconfig/SKILL.md +220 -0
- package/skills/offensive/airecon-fork/vulnerabilities-oauth-saml/SKILL.md +163 -0
- package/skills/offensive/airecon-fork/vulnerabilities-open-redirect/SKILL.md +167 -0
- package/skills/offensive/airecon-fork/vulnerabilities-password-reset-poisoning/SKILL.md +66 -0
- package/skills/offensive/airecon-fork/vulnerabilities-path-traversal/SKILL.md +192 -0
- package/skills/offensive/airecon-fork/vulnerabilities-privilege-escalation/SKILL.md +320 -0
- package/skills/offensive/airecon-fork/vulnerabilities-prototype-pollution/SKILL.md +242 -0
- package/skills/offensive/airecon-fork/vulnerabilities-race-conditions/SKILL.md +192 -0
- package/skills/offensive/airecon-fork/vulnerabilities-rce/SKILL.md +240 -0
- package/skills/offensive/airecon-fork/vulnerabilities-sensitive-file-pii-exposure/SKILL.md +589 -0
- package/skills/offensive/airecon-fork/vulnerabilities-spring4shell/SKILL.md +86 -0
- package/skills/offensive/airecon-fork/vulnerabilities-sql-injection/SKILL.md +313 -0
- package/skills/offensive/airecon-fork/vulnerabilities-ssrf/SKILL.md +183 -0
- package/skills/offensive/airecon-fork/vulnerabilities-ssti/SKILL.md +344 -0
- package/skills/offensive/airecon-fork/vulnerabilities-subdomain-takeover/SKILL.md +160 -0
- package/skills/offensive/airecon-fork/vulnerabilities-supply-chain/SKILL.md +125 -0
- package/skills/offensive/airecon-fork/vulnerabilities-unhandled-exception-differential/SKILL.md +742 -0
- package/skills/offensive/airecon-fork/vulnerabilities-waf-detection/SKILL.md +90 -0
- package/skills/offensive/airecon-fork/vulnerabilities-web-cache-poisoning/SKILL.md +233 -0
- package/skills/offensive/airecon-fork/vulnerabilities-websocket/SKILL.md +180 -0
- package/skills/offensive/airecon-fork/vulnerabilities-xss/SKILL.md +316 -0
- package/skills/offensive/airecon-fork/vulnerabilities-xxe/SKILL.md +222 -0
package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/auth/auth0-tom.md
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
license: MIT (snippet) / Vendor-Doc separat
|
|
3
|
+
provider: Auth0 (Okta, USA)
|
|
4
|
+
provider-AVV-status: Standardvertrag verfuegbar (DPA + EU-SCC + DPF)
|
|
5
|
+
last-checked: 2026-05-02
|
|
6
|
+
purpose: Auth0 TOMs + DPA + DSE-Wording.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Auth0 — TOMs + DPA + DSE-Wording
|
|
10
|
+
|
|
11
|
+
## 1. Default-Verhalten
|
|
12
|
+
|
|
13
|
+
- Datenstandort waehlbar: US / EU / Australia / Japan
|
|
14
|
+
- **Default = US**! EU-Tenant muss explizit gewaehlt werden.
|
|
15
|
+
- Sub-Auftragsverarbeiter: AWS (Hosting), CloudFlare (CDN)
|
|
16
|
+
- Cookies: `auth0.is.authenticated`, `_legacy_*`, einige technisch noetig
|
|
17
|
+
|
|
18
|
+
## 2. Compliance-Risiken
|
|
19
|
+
|
|
20
|
+
| Risiko | Wirkung | Fix |
|
|
21
|
+
|---|---|---|
|
|
22
|
+
| Default-Region us-east-1 | Drittland-Transfer USA | EU-Tenant beantragen + Migration |
|
|
23
|
+
| DPF-Status (Okta DPF-zertifiziert seit Sep 2023) | Drittland-Transfer-Risiko bei DPF-Klage | EU-Tenant + SCC zusaetzlich |
|
|
24
|
+
| Cookies vor Consent | § 25 TDDDG | bei Login-Page nur necessary Cookies |
|
|
25
|
+
| Magic-Link via Email | Phishing-Risiko | DMARC + SPF + DKIM auf custom-Sending-Domain |
|
|
26
|
+
|
|
27
|
+
## 3. Code-Pattern (Next.js)
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
// File: src/lib/auth0.ts
|
|
31
|
+
import { initAuth0 } from '@auth0/nextjs-auth0';
|
|
32
|
+
|
|
33
|
+
export const auth0 = initAuth0({
|
|
34
|
+
baseURL: process.env.AUTH0_BASE_URL,
|
|
35
|
+
issuerBaseURL: process.env.AUTH0_ISSUER_BASE_URL, // PFLICHT: EU-Tenant URL
|
|
36
|
+
clientID: process.env.AUTH0_CLIENT_ID,
|
|
37
|
+
clientSecret: process.env.AUTH0_CLIENT_SECRET,
|
|
38
|
+
secret: process.env.AUTH0_SECRET,
|
|
39
|
+
session: {
|
|
40
|
+
rollingDuration: 60 * 60 * 24,
|
|
41
|
+
absoluteDuration: 60 * 60 * 24 * 30,
|
|
42
|
+
cookie: {
|
|
43
|
+
sameSite: 'lax',
|
|
44
|
+
secure: true,
|
|
45
|
+
httpOnly: true,
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
routes: {
|
|
49
|
+
callback: '/api/auth/callback',
|
|
50
|
+
postLogoutRedirect: '/',
|
|
51
|
+
},
|
|
52
|
+
});
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## 4. EU-Tenant aktivieren
|
|
56
|
+
|
|
57
|
+
Pflicht-Setting im Auth0-Dashboard:
|
|
58
|
+
- Bei Tenant-Erstellung "EU" als Region waehlen
|
|
59
|
+
- URL: `https://<tenant>.eu.auth0.com/...`
|
|
60
|
+
|
|
61
|
+
Migration bestehender US-Tenant: nicht trivial, ggf. neue Tenant-ID + Daten-Migration.
|
|
62
|
+
|
|
63
|
+
## 5. AVV / DPA
|
|
64
|
+
|
|
65
|
+
- **DPA-Link**: https://www.okta.com/agreements/data-processing-addendum/
|
|
66
|
+
- **SCC-Modul**: Module 2 (Controller-Processor)
|
|
67
|
+
- **DPF**: seit Sep 2023 zertifiziert
|
|
68
|
+
- **Sub-Processors**: https://www.okta.com/agreements/sub-processors/
|
|
69
|
+
|
|
70
|
+
## 6. DSE-Wording-Vorlage
|
|
71
|
+
|
|
72
|
+
> Wir nutzen den Identity-Service Auth0 (von Okta, Inc., 100 First St, San Francisco, USA)
|
|
73
|
+
> als Auftragsverarbeiter im Sinne von Art. 28 DSGVO. Datenstandort: EU-Region (Frankfurt).
|
|
74
|
+
> Auth0 ist DPF-zertifiziert (https://www.dataprivacyframework.gov). Zusaetzlich
|
|
75
|
+
> haben wir EU-Standardvertragsklauseln Modul 2 abgeschlossen. Detaillierte
|
|
76
|
+
> Datenschutzhinweise: https://www.okta.com/privacy-policy/.
|
|
77
|
+
|
|
78
|
+
## 7. Verify
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
# Region-Check
|
|
82
|
+
curl -sI "https://<tenant>.eu.auth0.com/" | grep -i "X-Region"
|
|
83
|
+
# Erwartung: eu
|
|
84
|
+
|
|
85
|
+
# Cookie-Inspection nach Login
|
|
86
|
+
curl -sI https://example.com/api/auth/callback | grep -i set-cookie
|
|
87
|
+
# Erwartung: Secure + HttpOnly + SameSite=Lax
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## 8. Az.-Anker
|
|
91
|
+
|
|
92
|
+
- EuGH C-311/18 Schrems II (DPF-Risiko)
|
package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/auth/clerk-tom.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
license: MIT (snippet) / Vendor-Doc separat
|
|
3
|
+
provider: Clerk (Clerk Inc., USA)
|
|
4
|
+
provider-AVV-status: Standardvertrag verfuegbar (DPA + EU-SCC)
|
|
5
|
+
last-checked: 2026-05-02
|
|
6
|
+
purpose: Clerk TOMs + DPA + DSE-Wording.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Clerk — TOMs + DPA + DSE-Wording
|
|
10
|
+
|
|
11
|
+
## 1. Default-Verhalten
|
|
12
|
+
|
|
13
|
+
- Datenstandort: US (default)
|
|
14
|
+
- EU-Region verfuegbar via Setting (frankfurt-1)
|
|
15
|
+
- Sub-Auftragsverarbeiter: AWS, CloudFlare
|
|
16
|
+
- Cookies: `__session`, `__client`, `__refresh` — HttpOnly / Secure / SameSite=Lax
|
|
17
|
+
|
|
18
|
+
## 2. Compliance-Risiken
|
|
19
|
+
|
|
20
|
+
| Risiko | Wirkung | Fix |
|
|
21
|
+
|---|---|---|
|
|
22
|
+
| Default-Region US | Drittland-Transfer | EU-Region setzen (Dashboard > Settings > Region) |
|
|
23
|
+
| Sub-Processor AWS | weiterer Transfer | DPA-Sub-Liste anhaengen |
|
|
24
|
+
| MFA-Default off | Auth-Sicherheit | MFA aktivieren |
|
|
25
|
+
|
|
26
|
+
## 3. Code-Pattern (Next.js)
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
// File: src/middleware.ts
|
|
30
|
+
import { authMiddleware } from '@clerk/nextjs';
|
|
31
|
+
|
|
32
|
+
export default authMiddleware({
|
|
33
|
+
publicRoutes: ['/', '/datenschutz', '/impressum'],
|
|
34
|
+
ignoredRoutes: ['/api/health'],
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export const config = {
|
|
38
|
+
matcher: ['/((?!.+\\.[\\w]+$|_next).*)', '/', '/(api|trpc)(.*)'],
|
|
39
|
+
};
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
```tsx
|
|
43
|
+
// File: src/app/layout.tsx
|
|
44
|
+
import { ClerkProvider } from '@clerk/nextjs';
|
|
45
|
+
|
|
46
|
+
export default function RootLayout({ children }) {
|
|
47
|
+
return (
|
|
48
|
+
<ClerkProvider
|
|
49
|
+
// EU-Region via Dashboard-Setting; URL muss frankfurt-1 sein
|
|
50
|
+
appearance={{ /* ... */ }}
|
|
51
|
+
>
|
|
52
|
+
<html>
|
|
53
|
+
<body>{children}</body>
|
|
54
|
+
</html>
|
|
55
|
+
</ClerkProvider>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## 4. EU-Region aktivieren
|
|
61
|
+
|
|
62
|
+
Dashboard-Setting:
|
|
63
|
+
- Settings > Region > Frankfurt
|
|
64
|
+
- Bei Migration aus US: Daten-Migration via Clerk-Support
|
|
65
|
+
|
|
66
|
+
## 5. AVV / DPA
|
|
67
|
+
|
|
68
|
+
- **DPA-Link**: https://clerk.com/legal/dpa
|
|
69
|
+
- **SCC-Modul**: Module 2
|
|
70
|
+
- **Sub-Processors**: https://clerk.com/legal/subprocessors
|
|
71
|
+
|
|
72
|
+
## 6. DSE-Wording-Vorlage
|
|
73
|
+
|
|
74
|
+
> Wir nutzen den Identity-Service Clerk (Clerk Inc., 660 King St, San Francisco, USA)
|
|
75
|
+
> als Auftragsverarbeiter im Sinne von Art. 28 DSGVO. Datenstandort: EU-Region (Frankfurt-1).
|
|
76
|
+
> EU-SCC Modul 2 abgeschlossen. Datenschutzhinweise von Clerk: https://clerk.com/legal/privacy-notice.
|
|
77
|
+
|
|
78
|
+
## 7. Verify
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
# Region-Check
|
|
82
|
+
curl -sI "https://<your-clerk-domain>/api/v1/region" | grep -i "X-Region"
|
|
83
|
+
# Erwartung: frankfurt-1
|
|
84
|
+
```
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
---
|
|
2
|
+
license: MIT (snippet)
|
|
3
|
+
provider: Django + django-csp (Open-Source)
|
|
4
|
+
last-checked: 2026-05-05
|
|
5
|
+
purpose: Django Auth-Cookies + django-csp + DSGVO-konforme Session-Konfiguration.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Django — Auth-Cookies + CSP-Pattern
|
|
9
|
+
|
|
10
|
+
## Trigger / Detection
|
|
11
|
+
|
|
12
|
+
Repo enthaelt:
|
|
13
|
+
- `django.contrib.auth` aktiviert
|
|
14
|
+
- `django-csp` Package (`csp.middleware.CSPMiddleware` in MIDDLEWARE)
|
|
15
|
+
- `LOGIN_URL`, `LOGIN_REDIRECT_URL` in settings
|
|
16
|
+
- Optional: `django-allauth` / `dj-rest-auth` / `django-axes`
|
|
17
|
+
|
|
18
|
+
## Default-Verhalten (was passiert ohne Konfiguration)
|
|
19
|
+
|
|
20
|
+
- Default-Login schickt UserExists-Errors → User-Enumeration moeglich
|
|
21
|
+
- `SESSION_COOKIE_AGE = 1209600` (2 Wochen Default) → zu lang fuer DSGVO
|
|
22
|
+
- Failed-Login-Logging mit Klartext-Username
|
|
23
|
+
- CSP-Default ohne nonce → Inline-Scripts unsicher
|
|
24
|
+
- `LOGIN_RATE_LIMIT` nicht gesetzt → Brute-Force-Vektor
|
|
25
|
+
|
|
26
|
+
## Compliance-Risiken
|
|
27
|
+
|
|
28
|
+
| Risiko | Norm | Severity | Fix |
|
|
29
|
+
|---|---|---|---|
|
|
30
|
+
| Session-Lifetime zu lang | Art. 5 lit. e DSGVO | MITTEL | `SESSION_COOKIE_AGE = 3600` (1h) + Refresh |
|
|
31
|
+
| Failed-Login mit Klartext-Username in Logs | Art. 5 lit. f | HOCH | Custom-Logger mit User-Hash |
|
|
32
|
+
| User-Enumeration via Login-Form | Art. 32 DSGVO | HOCH | Generic-Error-Message |
|
|
33
|
+
| CSP `unsafe-inline` global | Art. 32 DSGVO | KRITISCH | Nonce-basierte CSP |
|
|
34
|
+
| Brute-Force ohne Lockout | Art. 32 DSGVO | KRITISCH | `django-axes` Middleware |
|
|
35
|
+
| Klartext-Password im Form-Log bei Validation-Fehler | Art. 5 lit. f | KRITISCH | Logging-Filter mit Pattern-Stripping |
|
|
36
|
+
|
|
37
|
+
## Code-Pattern (sanitized)
|
|
38
|
+
|
|
39
|
+
```python
|
|
40
|
+
# File: settings.py
|
|
41
|
+
import os
|
|
42
|
+
|
|
43
|
+
# Auth + Sessions
|
|
44
|
+
SESSION_COOKIE_AGE = 60 * 60 # 1 Stunde
|
|
45
|
+
SESSION_COOKIE_SECURE = not DEBUG
|
|
46
|
+
SESSION_COOKIE_HTTPONLY = True
|
|
47
|
+
SESSION_COOKIE_SAMESITE = 'Lax'
|
|
48
|
+
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
|
|
49
|
+
SESSION_SAVE_EVERY_REQUEST = True # Sliding-Expiration
|
|
50
|
+
|
|
51
|
+
# CSRF
|
|
52
|
+
CSRF_COOKIE_SECURE = not DEBUG
|
|
53
|
+
CSRF_COOKIE_SAMESITE = 'Lax'
|
|
54
|
+
CSRF_COOKIE_HTTPONLY = False # JS muss CSRF-Header setzen
|
|
55
|
+
CSRF_USE_SESSIONS = False # Cookie-basiert, kein DB-Roundtrip
|
|
56
|
+
|
|
57
|
+
# Password
|
|
58
|
+
AUTH_PASSWORD_VALIDATORS = [
|
|
59
|
+
{'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator'},
|
|
60
|
+
{
|
|
61
|
+
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
|
|
62
|
+
'OPTIONS': {'min_length': 12},
|
|
63
|
+
},
|
|
64
|
+
{'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator'},
|
|
65
|
+
{'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator'},
|
|
66
|
+
]
|
|
67
|
+
|
|
68
|
+
# Argon2 als Default-Hasher
|
|
69
|
+
PASSWORD_HASHERS = [
|
|
70
|
+
'django.contrib.auth.hashers.Argon2PasswordHasher',
|
|
71
|
+
'django.contrib.auth.hashers.PBKDF2PasswordHasher',
|
|
72
|
+
'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
|
|
73
|
+
'django.contrib.auth.hashers.BCryptSHA256PasswordHasher',
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
# Brute-Force-Schutz (django-axes)
|
|
77
|
+
AXES_FAILURE_LIMIT = 5
|
|
78
|
+
AXES_COOLOFF_TIME = 0.5 # 30 Minuten
|
|
79
|
+
AXES_LOCK_OUT_AT_FAILURE = True
|
|
80
|
+
AXES_RESET_ON_SUCCESS = True
|
|
81
|
+
AXES_LOCKOUT_PARAMETERS = ['ip_address', 'username']
|
|
82
|
+
|
|
83
|
+
# CSP
|
|
84
|
+
MIDDLEWARE = [
|
|
85
|
+
# ...
|
|
86
|
+
'csp.middleware.CSPMiddleware',
|
|
87
|
+
'axes.middleware.AxesMiddleware',
|
|
88
|
+
]
|
|
89
|
+
|
|
90
|
+
CSP_DEFAULT_SRC = ("'self'",)
|
|
91
|
+
CSP_SCRIPT_SRC = ("'self'", 'https://<placeholder-eu-analytics-host>')
|
|
92
|
+
CSP_CONNECT_SRC = ("'self'", 'https://<placeholder-eu-analytics-host>')
|
|
93
|
+
CSP_IMG_SRC = ("'self'", 'data:', 'https://<placeholder-eu-image-cdn>')
|
|
94
|
+
CSP_STYLE_SRC = ("'self'", "'unsafe-inline'")
|
|
95
|
+
CSP_FONT_SRC = ("'self'", 'https://<placeholder-eu-font-cdn>')
|
|
96
|
+
CSP_INCLUDE_NONCE_IN = ['script-src', 'style-src']
|
|
97
|
+
CSP_REPORT_URI = '/api/csp-report'
|
|
98
|
+
|
|
99
|
+
AUTHENTICATION_BACKENDS = [
|
|
100
|
+
'axes.backends.AxesBackend',
|
|
101
|
+
'django.contrib.auth.backends.ModelBackend',
|
|
102
|
+
]
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
```python
|
|
106
|
+
# File: app/views/auth.py
|
|
107
|
+
import time
|
|
108
|
+
import logging
|
|
109
|
+
from django.contrib.auth import authenticate, login as django_login, logout as django_logout
|
|
110
|
+
from django.contrib.auth.decorators import login_required
|
|
111
|
+
from django.http import JsonResponse, HttpResponseBadRequest
|
|
112
|
+
from django.views.decorators.http import require_POST
|
|
113
|
+
from django.views.decorators.csrf import csrf_protect
|
|
114
|
+
from django.views.decorators.cache import never_cache
|
|
115
|
+
|
|
116
|
+
logger = logging.getLogger('auth')
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
@require_POST
|
|
120
|
+
@csrf_protect
|
|
121
|
+
@never_cache
|
|
122
|
+
def login(request):
|
|
123
|
+
import json
|
|
124
|
+
try:
|
|
125
|
+
body = json.loads(request.body)
|
|
126
|
+
except json.JSONDecodeError:
|
|
127
|
+
return HttpResponseBadRequest('Invalid JSON')
|
|
128
|
+
|
|
129
|
+
username = body.get('username', '').strip()
|
|
130
|
+
password = body.get('password', '')
|
|
131
|
+
|
|
132
|
+
if not username or not password:
|
|
133
|
+
return JsonResponse({'error': 'Login-Daten ungueltig'}, status=401)
|
|
134
|
+
|
|
135
|
+
# Konstante Zeit (Timing-Attack-Schutz)
|
|
136
|
+
start = time.time()
|
|
137
|
+
user = authenticate(request, username=username, password=password)
|
|
138
|
+
elapsed = time.time() - start
|
|
139
|
+
if elapsed < 0.2:
|
|
140
|
+
time.sleep(0.2 - elapsed)
|
|
141
|
+
|
|
142
|
+
if user is None:
|
|
143
|
+
# Generic-Error: kein User-Enumeration
|
|
144
|
+
logger.info('login_failed', extra={'username_hash': _hash_user(username)})
|
|
145
|
+
return JsonResponse({'error': 'Login-Daten ungueltig'}, status=401)
|
|
146
|
+
|
|
147
|
+
if not user.is_active:
|
|
148
|
+
return JsonResponse({'error': 'Login-Daten ungueltig'}, status=401)
|
|
149
|
+
|
|
150
|
+
django_login(request, user)
|
|
151
|
+
logger.info('login_success', extra={'user_id': user.id})
|
|
152
|
+
|
|
153
|
+
return JsonResponse({
|
|
154
|
+
'user': {'id': user.id, 'email': user.email},
|
|
155
|
+
'expires_in': 3600,
|
|
156
|
+
})
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
@require_POST
|
|
160
|
+
@login_required
|
|
161
|
+
def logout(request):
|
|
162
|
+
logger.info('logout', extra={'user_id': request.user.id})
|
|
163
|
+
django_logout(request)
|
|
164
|
+
return JsonResponse({}, status=204)
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
def _hash_user(username: str) -> str:
|
|
168
|
+
import hashlib
|
|
169
|
+
return hashlib.sha256(username.encode()).hexdigest()[:16]
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
```python
|
|
173
|
+
# File: app/logging_filters.py
|
|
174
|
+
import logging
|
|
175
|
+
import re
|
|
176
|
+
|
|
177
|
+
EMAIL_RE = re.compile(r'[\w.+-]+@[\w-]+\.[\w-]+')
|
|
178
|
+
PASSWORD_KEY_RE = re.compile(r'(["\']?password["\']?\s*[:=]\s*["\'])([^"\']+)(["\'])', re.IGNORECASE)
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
class PiiFilter(logging.Filter):
|
|
182
|
+
def filter(self, record: logging.LogRecord) -> bool:
|
|
183
|
+
if hasattr(record, 'msg'):
|
|
184
|
+
msg = str(record.msg)
|
|
185
|
+
msg = EMAIL_RE.sub('[EMAIL_REDACTED]', msg)
|
|
186
|
+
msg = PASSWORD_KEY_RE.sub(r'\1[PASSWORD_REDACTED]\3', msg)
|
|
187
|
+
record.msg = msg
|
|
188
|
+
return True
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
# Settings.py:
|
|
192
|
+
LOGGING = {
|
|
193
|
+
'version': 1,
|
|
194
|
+
'disable_existing_loggers': False,
|
|
195
|
+
'filters': {
|
|
196
|
+
'pii_filter': {'()': 'app.logging_filters.PiiFilter'},
|
|
197
|
+
},
|
|
198
|
+
'handlers': {
|
|
199
|
+
'console': {
|
|
200
|
+
'class': 'logging.StreamHandler',
|
|
201
|
+
'filters': ['pii_filter'],
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
'root': {'handlers': ['console'], 'level': 'INFO'},
|
|
205
|
+
}
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
```python
|
|
209
|
+
# File: app/middleware/recent_auth.py
|
|
210
|
+
import time
|
|
211
|
+
from django.shortcuts import redirect
|
|
212
|
+
from django.urls import reverse
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
class RequireRecentAuthForSensitive:
|
|
216
|
+
SENSITIVE_PATHS = ['/account/email-change', '/account/password-change', '/account/2fa']
|
|
217
|
+
RECENT_WINDOW = 5 * 60 # 5 Minuten
|
|
218
|
+
|
|
219
|
+
def __init__(self, get_response):
|
|
220
|
+
self.get_response = get_response
|
|
221
|
+
|
|
222
|
+
def __call__(self, request):
|
|
223
|
+
if request.user.is_authenticated and request.path in self.SENSITIVE_PATHS:
|
|
224
|
+
recent = request.session.get('recent_auth_at', 0)
|
|
225
|
+
if time.time() - recent > self.RECENT_WINDOW:
|
|
226
|
+
request.session['return_to'] = request.path
|
|
227
|
+
return redirect(reverse('confirm-password'))
|
|
228
|
+
return self.get_response(request)
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
## AVV / DPA
|
|
232
|
+
|
|
233
|
+
- Datenbank (User-Tabelle, axes_accessattempt) — AVV mit IP-Hash-Garantie
|
|
234
|
+
- Mailer (Reset-Mails / 2FA) — AVV
|
|
235
|
+
- Optional: SSO-Provider (Auth0 EU / Keycloak self-host) — AVV mit TIA bei Drittland
|
|
236
|
+
|
|
237
|
+
## DSE-Wording-Vorlage
|
|
238
|
+
|
|
239
|
+
```markdown
|
|
240
|
+
### Login-Sicherheit und Session-Verwaltung
|
|
241
|
+
|
|
242
|
+
Beim Login verarbeiten wir folgende Daten:
|
|
243
|
+
|
|
244
|
+
- E-Mail / Username (zur Identifizierung)
|
|
245
|
+
- Password (gehasht via Argon2, niemals im Klartext)
|
|
246
|
+
- Hash der IP-Adresse (Brute-Force-Schutz, max. 5 Fehlversuche binnen 30 Min.)
|
|
247
|
+
- Session-Cookie (Lifetime: 1 Stunde, Sliding-Expiration)
|
|
248
|
+
|
|
249
|
+
**Failed-Login-Schutz (django-axes):**
|
|
250
|
+
- 5 fehlgeschlagene Versuche je IP/Username = 30 Minuten Lockout
|
|
251
|
+
- Speicherung: Hash der IP + Username, kein Klartext-Password
|
|
252
|
+
|
|
253
|
+
**Rechtsgrundlage:** Art. 6 Abs. 1 lit. b DSGVO (Vertrag) +
|
|
254
|
+
Art. 6 Abs. 1 lit. f DSGVO (Sicherheit).
|
|
255
|
+
**Speicherdauer Login-Logs:** 30 Tage, danach Loeschung.
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
## Verify-Commands (Live-Probe)
|
|
259
|
+
|
|
260
|
+
```bash
|
|
261
|
+
# 1. Login mit falschen Credentials = Generic Error
|
|
262
|
+
curl -X POST https://<placeholder-domain>/api/login \
|
|
263
|
+
-H "Content-Type: application/json" \
|
|
264
|
+
-H "X-CSRFToken: <placeholder-csrf>" \
|
|
265
|
+
-d '{"username":"nonexistent","password":"WRONG"}' -i
|
|
266
|
+
# Erwartung: 401 mit "Login-Daten ungueltig"
|
|
267
|
+
|
|
268
|
+
# 2. Brute-Force-Lockout nach 5 Versuchen (django-axes)
|
|
269
|
+
for i in {1..6}; do
|
|
270
|
+
curl -X POST https://<placeholder-domain>/api/login \
|
|
271
|
+
-d '{"username":"test","password":"wrong"}' -s -o /dev/null -w "%{http_code}\n"
|
|
272
|
+
done
|
|
273
|
+
# Erwartung: nach 5 Versuchen: 403 (axes-Lockout)
|
|
274
|
+
|
|
275
|
+
# 3. Session-Lifetime kurz (1h)
|
|
276
|
+
curl -i https://<placeholder-domain>/api/login \
|
|
277
|
+
-d '{"username":"<placeholder>","password":"<placeholder>"}' \
|
|
278
|
+
| grep -i "set-cookie:.*sessionid.*max-age"
|
|
279
|
+
# Erwartung: max-age=3600
|
|
280
|
+
|
|
281
|
+
# 4. CSP-Header korrekt
|
|
282
|
+
curl -sI https://<placeholder-domain>/ | grep -i "content-security-policy"
|
|
283
|
+
# Erwartung: default-src 'self'; script-src 'self' https://<placeholder-eu-analytics-host>; ...
|
|
284
|
+
|
|
285
|
+
# 5. Logs ohne PII
|
|
286
|
+
tail -100 /var/log/django.log | grep -E '[\w.+-]+@[\w-]+\.[\w-]+' | head -5
|
|
287
|
+
# Erwartung: 0 Treffer oder ausschliesslich [EMAIL_REDACTED]
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
## Cross-References
|
|
291
|
+
|
|
292
|
+
- AEGIS-Scanner: `auth-flow-checker.ts`, `csp-config-checker.ts`, `bcrypt-argon-checker.ts`, `rate-limit-checker.ts`
|
|
293
|
+
- Skill-Reference: `references/dsgvo.md` Art. 32 (Sicherheit)
|
|
294
|
+
- BSI-Grundschutz: ORP.4 Identitaets- und Berechtigungsmanagement
|
|
295
|
+
- Audit-Pattern: `references/audit-patterns.md` Phase 7 (Security-Headers), Phase 9 (Auth-Audit)
|