@the-bearded-bear/claude-craft 8.26.0-next.66f5e86 → 8.26.0-next.892c8bf

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.
@@ -121,30 +121,30 @@ Add to `~/.bashrc` or `~/.zshrc`:
121
121
 
122
122
  ```bash
123
123
  # Claude Craft Aliases
124
- alias ci='claude -p /common:init'
125
- alias cr='claude -p /gate:check release'
126
- alias cs='claude -p /common:init --context'
127
-
128
- alias sc='claude -p /symfony:check-compliance'
129
- alias rc='claude -p /react:check-compliance'
130
- alias fc='claude -p /flutter:check-compliance'
131
- alias pc='claude -p /python:check-compliance'
132
- alias ac='claude -p /angular:check-compliance'
133
- alias vc='claude -p /vuejs:check-compliance'
134
- alias lc='claude -p /laravel:check-compliance'
135
- alias cc='claude -p /csharp:check-compliance'
136
-
137
- alias ta='claude -p /team:audit'
138
- alias ts='claude -p /team:sprint'
139
- alias td='claude -p /team:delivery'
140
-
141
- alias wi='claude -p /workflow:init'
142
- alias wp='claude -p /workflow:plan'
143
-
144
- alias qr='claude -p /qa:recette'
145
- alias qs='claude -p /qa:status'
146
-
147
- alias rr='claude -p /common:ralph-run'
124
+ alias ci='claude-code -p /common:init'
125
+ alias cr='claude-code -p /gate:check release'
126
+ alias cs='claude-code -p /common:init --context'
127
+
128
+ alias sc='claude-code -p /symfony:check-compliance'
129
+ alias rc='claude-code -p /react:check-compliance'
130
+ alias fc='claude-code -p /flutter:check-compliance'
131
+ alias pc='claude-code -p /python:check-compliance'
132
+ alias ac='claude-code -p /angular:check-compliance'
133
+ alias vc='claude-code -p /vuejs:check-compliance'
134
+ alias lc='claude-code -p /laravel:check-compliance'
135
+ alias cc='claude-code -p /csharp:check-compliance'
136
+
137
+ alias ta='claude-code -p /team:audit'
138
+ alias ts='claude-code -p /team:sprint'
139
+ alias td='claude-code -p /team:delivery'
140
+
141
+ alias wi='claude-code -p /workflow:init'
142
+ alias wp='claude-code -p /workflow:plan'
143
+
144
+ alias qr='claude-code -p /qa:recette'
145
+ alias qs='claude-code -p /qa:status'
146
+
147
+ alias rr='claude-code -p /common:ralph-run'
148
148
  ```
149
149
 
150
150
  ### Fish Setup
@@ -153,30 +153,30 @@ Add to `~/.config/fish/config.fish`:
153
153
 
154
154
  ```fish
155
155
  # Claude Craft Aliases
156
- alias ci 'claude -p /common:init'
157
- alias cr 'claude -p /gate:check release'
158
- alias cs 'claude -p /common:init --context'
159
-
160
- alias sc 'claude -p /symfony:check-compliance'
161
- alias rc 'claude -p /react:check-compliance'
162
- alias fc 'claude -p /flutter:check-compliance'
163
- alias pc 'claude -p /python:check-compliance'
164
- alias ac 'claude -p /angular:check-compliance'
165
- alias vc 'claude -p /vuejs:check-compliance'
166
- alias lc 'claude -p /laravel:check-compliance'
167
- alias cc 'claude -p /csharp:check-compliance'
168
-
169
- alias ta 'claude -p /team:audit'
170
- alias ts 'claude -p /team:sprint'
171
- alias td 'claude -p /team:delivery'
172
-
173
- alias wi 'claude -p /workflow:init'
174
- alias wp 'claude -p /workflow:plan'
175
-
176
- alias qr 'claude -p /qa:recette'
177
- alias qs 'claude -p /qa:status'
178
-
179
- alias rr 'claude -p /common:ralph-run'
156
+ alias ci 'claude-code -p /common:init'
157
+ alias cr 'claude-code -p /gate:check release'
158
+ alias cs 'claude-code -p /common:init --context'
159
+
160
+ alias sc 'claude-code -p /symfony:check-compliance'
161
+ alias rc 'claude-code -p /react:check-compliance'
162
+ alias fc 'claude-code -p /flutter:check-compliance'
163
+ alias pc 'claude-code -p /python:check-compliance'
164
+ alias ac 'claude-code -p /angular:check-compliance'
165
+ alias vc 'claude-code -p /vuejs:check-compliance'
166
+ alias lc 'claude-code -p /laravel:check-compliance'
167
+ alias cc 'claude-code -p /csharp:check-compliance'
168
+
169
+ alias ta 'claude-code -p /team:audit'
170
+ alias ts 'claude-code -p /team:sprint'
171
+ alias td 'claude-code -p /team:delivery'
172
+
173
+ alias wi 'claude-code -p /workflow:init'
174
+ alias wp 'claude-code -p /workflow:plan'
175
+
176
+ alias qr 'claude-code -p /qa:recette'
177
+ alias qs 'claude-code -p /qa:status'
178
+
179
+ alias rr 'claude-code -p /common:ralph-run'
180
180
  ```
181
181
 
182
182
  ## Mnemonic Logic
@@ -55,7 +55,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli cat /app/config/packages/security.yam
55
55
 
56
56
  ### Schritt 3: OWASP Top 10 - Injection
57
57
 
58
- #### A05:2025 – Injection (SQL, NoSQL, OS, LDAP) (3 Punkte)
58
+ #### A03:2021 – Injection (SQL, NoSQL, OS, LDAP) (3 Punkte)
59
59
 
60
60
  ```bash
61
61
  # Verwendung von Prepared Statements überprüfen
@@ -79,9 +79,9 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -rE "\"SELECT.*\\..*\$" /app/src
79
79
 
80
80
  **Erreichte Punkte** : ___/3
81
81
 
82
- ### Schritt 4: OWASP Top 10 - Authentication Failures
82
+ ### Schritt 4: OWASP Top 10 - Broken Authentication
83
83
 
84
- #### A07:2025 – Authentication Failures (3 Punkte)
84
+ #### A07:2021 – Identification and Authentication Failures (3 Punkte)
85
85
 
86
86
  ```bash
87
87
  # Passwort-Konfiguration überprüfen
@@ -104,9 +104,9 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "RateLimiter" /app/config --i
104
104
 
105
105
  **Erreichte Punkte** : ___/3
106
106
 
107
- ### Schritt 5: OWASP Top 10 - Cryptographic Failures
107
+ ### Schritt 5: OWASP Top 10 - Sensitive Data Exposure
108
108
 
109
- #### A04:2025 – Cryptographic Failures (3 Punkte)
109
+ #### A02:2021 – Cryptographic Failures (3 Punkte)
110
110
 
111
111
  ```bash
112
112
  # Secrets im Code überprüfen
@@ -131,7 +131,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "SECURE_SCHEME" /app/.env.exa
131
131
 
132
132
  ### Schritt 6: OWASP Top 10 - Broken Access Control
133
133
 
134
- #### A01:2025 – Broken Access Control (3 Punkte)
134
+ #### A01:2021 – Broken Access Control (3 Punkte)
135
135
 
136
136
  ```bash
137
137
  # Voters überprüfen
@@ -156,7 +156,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "@IsGranted" /app/src --inclu
156
156
 
157
157
  ### Schritt 7: OWASP Top 10 - XSS und CSRF
158
158
 
159
- #### A05:2025 – Injection : XSS (Cross-Site Scripting) (2 Punkte)
159
+ #### A03:2021 – XSS (Cross-Site Scripting) (2 Punkte)
160
160
 
161
161
  ```bash
162
162
  # Twig Auto-Escaping überprüfen
@@ -179,7 +179,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "|raw" /app/templates --inclu
179
179
 
180
180
  **Erreichte Punkte** : ___/2
181
181
 
182
- #### A01:2025 – Broken Access Control : CSRF (Cross-Site Request Forgery) (2 Punkte)
182
+ #### A08:2021 – CSRF (Cross-Site Request Forgery) (2 Punkte)
183
183
 
184
184
  ```bash
185
185
  # CSRF-Schutz überprüfen
@@ -201,7 +201,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "csrf_protection" /app/config
201
201
 
202
202
  ### Schritt 8: OWASP Top 10 - Weitere Schwachstellen
203
203
 
204
- #### A02:2025 – Security Misconfiguration (2 Punkte)
204
+ #### A05:2021 – Security Misconfiguration (2 Punkte)
205
205
 
206
206
  ```bash
207
207
  # Debug-Modus überprüfen
@@ -224,7 +224,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli composer audit
224
224
 
225
225
  **Erreichte Punkte** : ___/2
226
226
 
227
- #### A03:2025 – Software Supply Chain Failures (1 Punkt)
227
+ #### A06:2021 – Vulnerable and Outdated Components (1 Punkt)
228
228
 
229
229
  ```bash
230
230
  # Composer Sicherheitsaudit
@@ -398,16 +398,16 @@ Fixed in: 5.4.25
398
398
  OWASP TOP 10 - ZUSAMMENFASSUNG
399
399
  =================================================
400
400
 
401
- A01:2025 - Broken Access Control : [✅|⚠️|❌]
402
- A02:2025 - Security Misconfiguration : [✅|⚠️|❌]
403
- A03:2025 - Software Supply Chain Failures : [✅|⚠️|❌]
404
- A04:2025 - Cryptographic Failures : [✅|⚠️|❌]
405
- A05:2025 - Injection : [✅|⚠️|❌]
406
- A06:2025 - Insecure Design : [✅|⚠️|❌]
407
- A07:2025 - Authentication Failures : [✅|⚠️|❌]
408
- A08:2025 - Software or Data Integrity Failures : [✅|⚠️|❌]
409
- A09:2025 - Logging & Alerting Failures : [✅|⚠️|❌]
410
- A10:2025 - Mishandling of Exceptional Conditions : [✅|⚠️|❌]
401
+ A01:2021 - Broken Access Control : [✅|⚠️|❌]
402
+ A02:2021 - Cryptographic Failures : [✅|⚠️|❌]
403
+ A03:2021 - Injection : [✅|⚠️|❌]
404
+ A04:2021 - Insecure Design : [✅|⚠️|❌]
405
+ A05:2021 - Security Misconfiguration : [✅|⚠️|❌]
406
+ A06:2021 - Vulnerable Components : [✅|⚠️|❌]
407
+ A07:2021 - Authentication Failures : [✅|⚠️|❌]
408
+ A08:2021 - Software and Data Integrity : [✅|⚠️|❌]
409
+ A09:2021 - Security Logging Failures : [✅|⚠️|❌]
410
+ A10:2021 - Server-Side Request Forgery : [✅|⚠️|❌]
411
411
 
412
412
  =================================================
413
413
  DSGVO-KONFORMITÄT
@@ -24,7 +24,36 @@ Beispiel: `/uiux:audit src/pages/Dashboard.tsx AAA`
24
24
 
25
25
  ### Schritt 1: Barrierefreiheit-Audit (A11y-Experte)
26
26
 
27
- `/uiux:a11y-audit {URL oder Pfad} {Stufe}` ausführen und dessen Bericht (Score, nicht erfüllte WCAG-Kriterien, Maßnahmen) in die Synthese übernehmen. Das automatisierte Audit und die WCAG-Checkliste hier nicht wiederholen: `/uiux:a11y-audit` ist die einzige Quelle.
27
+ #### 1.1 Automatisiertes Audit
28
+ ```bash
29
+ # Ausführen falls verfügbar
30
+ npx axe-cli {URL}
31
+ npx pa11y {URL}
32
+ # Oder Lighthouse prüfen
33
+ ```
34
+
35
+ #### 1.2 Manuelle WCAG 2.2 AAA Überprüfung
36
+
37
+ **Wahrnehmbar**
38
+ - [ ] Bilder mit Alt-Text
39
+ - [ ] Semantische Struktur (h1-h6, Landmarks)
40
+ - [ ] Kontrast ≥ 7:1 (AAA)
41
+ - [ ] Reflow bei 320px
42
+
43
+ **Bedienbar**
44
+ - [ ] Vollständige Tastaturnavigation
45
+ - [ ] Keine Tastaturfalle
46
+ - [ ] Sichtbarer Fokus (≥ 2px)
47
+ - [ ] Touch-Ziele ≥ 44px
48
+
49
+ **Verständlich**
50
+ - [ ] lang auf html
51
+ - [ ] Labels auf Inputs
52
+ - [ ] Klare Fehlermeldungen
53
+
54
+ **Robust**
55
+ - [ ] Korrektes ARIA
56
+ - [ ] aria-live für Dynamisches
28
57
 
29
58
  ### Schritt 2: UX/Ergonomie-Audit (UX-Experte)
30
59
 
@@ -41,7 +41,11 @@ Visuelles definieren:
41
41
 
42
42
  ### Schritt 3: A11y-Spezifikation (A11y-Experte)
43
43
 
44
- `/uiux:a11y-component {NAME}` ausführen und dessen Spezifikation (HTML-Semantik, ARIA-Attribute, Tastaturnavigation, Fokus, Kontrast, Screenreader-Ansagen) in den ♿-Abschnitt der Synthese übernehmen. Hier nicht neu definieren.
44
+ Barrierefreiheit definieren:
45
+ - HTML-Semantik
46
+ - ARIA-Attribute
47
+ - Tastaturnavigation
48
+ - Screenreader-Ankündigungen
45
49
 
46
50
  ### Schritt 4: Synthese
47
51
 
@@ -55,7 +55,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli cat /app/config/packages/security.yam
55
55
 
56
56
  ### Step 3 : OWASP Top 10 - Injection
57
57
 
58
- #### A05:2025 – Injection (SQL, NoSQL, OS, LDAP) (3 points)
58
+ #### A03:2021 – Injection (SQL, NoSQL, OS, LDAP) (3 points)
59
59
 
60
60
  ```bash
61
61
  # Vérifier l'utilisation de requêtes préparées
@@ -79,9 +79,9 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -rE "\"SELECT.*\\..*\$" /app/src
79
79
 
80
80
  **Points obtained** : ___/3
81
81
 
82
- ### Step 4 : OWASP Top 10 - Authentication Failures
82
+ ### Step 4 : OWASP Top 10 - Broken Authentication
83
83
 
84
- #### A07:2025 – Authentication Failures (3 points)
84
+ #### A07:2021 – Identification and Authentication Failures (3 points)
85
85
 
86
86
  ```bash
87
87
  # Vérifier la configuration des mots de passe
@@ -104,9 +104,9 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "RateLimiter" /app/config --i
104
104
 
105
105
  **Points obtained** : ___/3
106
106
 
107
- ### Step 5 : OWASP Top 10 - Cryptographic Failures
107
+ ### Step 5 : OWASP Top 10 - Sensitive Data Exposure
108
108
 
109
- #### A04:2025 – Cryptographic Failures (3 points)
109
+ #### A02:2021 – Cryptographic Failures (3 points)
110
110
 
111
111
  ```bash
112
112
  # Vérifier les secrets dans le code
@@ -131,7 +131,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "SECURE_SCHEME" /app/.env.exa
131
131
 
132
132
  ### Step 6 : OWASP Top 10 - Broken Access Control
133
133
 
134
- #### A01:2025 – Broken Access Control (3 points)
134
+ #### A01:2021 – Broken Access Control (3 points)
135
135
 
136
136
  ```bash
137
137
  # Vérifier les Voters
@@ -156,7 +156,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "@IsGranted" /app/src --inclu
156
156
 
157
157
  ### Step 7 : OWASP Top 10 - XSS et CSRF
158
158
 
159
- #### A05:2025 – Injection : XSS (Cross-Site Scripting) (2 points)
159
+ #### A03:2021 – XSS (Cross-Site Scripting) (2 points)
160
160
 
161
161
  ```bash
162
162
  # Vérifier l'auto-échappement Twig
@@ -179,7 +179,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "|raw" /app/templates --inclu
179
179
 
180
180
  **Points obtained** : ___/2
181
181
 
182
- #### A01:2025 – Broken Access Control : CSRF (Cross-Site Request Forgery) (2 points)
182
+ #### A08:2021 – CSRF (Cross-Site Request Forgery) (2 points)
183
183
 
184
184
  ```bash
185
185
  # Vérifier CSRF protection
@@ -201,7 +201,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "csrf_protection" /app/config
201
201
 
202
202
  ### Step 8 : OWASP Top 10 - Autres Vulnérabilités
203
203
 
204
- #### A02:2025 – Security Misconfiguration (2 points)
204
+ #### A05:2021 – Security Misconfiguration (2 points)
205
205
 
206
206
  ```bash
207
207
  # Vérifier le mode debug
@@ -224,7 +224,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli composer audit
224
224
 
225
225
  **Points obtained** : ___/2
226
226
 
227
- #### A03:2025 – Software Supply Chain Failures (1 point)
227
+ #### A06:2021 – Vulnerable and Outdated Components (1 point)
228
228
 
229
229
  ```bash
230
230
  # Audit de sécurité Composer
@@ -398,16 +398,16 @@ Fixed in: 5.4.25
398
398
  OWASP TOP 10 - RÉSUMÉ
399
399
  =================================================
400
400
 
401
- A01:2025 - Broken Access Control : [✅|⚠️|❌]
402
- A02:2025 - Security Misconfiguration : [✅|⚠️|❌]
403
- A03:2025 - Software Supply Chain Failures : [✅|⚠️|❌]
404
- A04:2025 - Cryptographic Failures : [✅|⚠️|❌]
405
- A05:2025 - Injection : [✅|⚠️|❌]
406
- A06:2025 - Insecure Design : [✅|⚠️|❌]
407
- A07:2025 - Authentication Failures : [✅|⚠️|❌]
408
- A08:2025 - Software or Data Integrity Failures : [✅|⚠️|❌]
409
- A09:2025 - Logging & Alerting Failures : [✅|⚠️|❌]
410
- A10:2025 - Mishandling of Exceptional Conditions : [✅|⚠️|❌]
401
+ A01:2021 - Broken Access Control : [✅|⚠️|❌]
402
+ A02:2021 - Cryptographic Failures : [✅|⚠️|❌]
403
+ A03:2021 - Injection : [✅|⚠️|❌]
404
+ A04:2021 - Insecure Design : [✅|⚠️|❌]
405
+ A05:2021 - Security Misconfiguration : [✅|⚠️|❌]
406
+ A06:2021 - Vulnerable Components : [✅|⚠️|❌]
407
+ A07:2021 - Authentication Failures : [✅|⚠️|❌]
408
+ A08:2021 - Software and Data Integrity : [✅|⚠️|❌]
409
+ A09:2021 - Security Logging Failures : [✅|⚠️|❌]
410
+ A10:2021 - Server-Side Request Forgery : [✅|⚠️|❌]
411
411
 
412
412
  =================================================
413
413
  CONFORMITÉ RGPD
@@ -24,7 +24,36 @@ Example: `/uiux:audit src/pages/Dashboard.tsx AAA`
24
24
 
25
25
  ### Step 1: Accessibility Audit (A11y Expert)
26
26
 
27
- Run `/uiux:a11y-audit {URL or path} {level}` and carry its report (score, failing WCAG criteria, remediations) into the synthesis. Do not repeat the automated audit or the WCAG checklist here: `/uiux:a11y-audit` is the single source.
27
+ #### 1.1 Automated audit
28
+ ```bash
29
+ # Run if available
30
+ npx axe-cli {URL}
31
+ npx pa11y {URL}
32
+ # Or check Lighthouse
33
+ ```
34
+
35
+ #### 1.2 Manual WCAG 2.2 AAA verification
36
+
37
+ **Perceivable**
38
+ - [ ] Images with alt text
39
+ - [ ] Semantic structure (h1-h6, landmarks)
40
+ - [ ] Contrast ≥ 7:1 (AAA)
41
+ - [ ] Reflow at 320px
42
+
43
+ **Operable**
44
+ - [ ] Complete keyboard navigation
45
+ - [ ] No keyboard trap
46
+ - [ ] Visible focus (≥ 2px)
47
+ - [ ] Touch targets ≥ 44px
48
+
49
+ **Understandable**
50
+ - [ ] lang on html
51
+ - [ ] Labels on inputs
52
+ - [ ] Clear error messages
53
+
54
+ **Robust**
55
+ - [ ] Correct ARIA
56
+ - [ ] aria-live for dynamic
28
57
 
29
58
  ### Step 2: UX/Ergonomics Audit (UX Expert)
30
59
 
@@ -41,7 +41,11 @@ Define visuals:
41
41
 
42
42
  ### Step 3: A11y Specification (A11y Expert)
43
43
 
44
- Run `/uiux:a11y-component {NAME}` and carry its specification (HTML semantics, ARIA attributes, keyboard navigation, focus, contrast, screen reader announcements) into the ♿ section of the synthesis. Do not redefine it here.
44
+ Define accessibility:
45
+ - HTML semantics
46
+ - ARIA attributes
47
+ - Keyboard navigation
48
+ - Screen reader announcements
45
49
 
46
50
  ### Step 4: Synthesis
47
51
 
@@ -55,7 +55,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli cat /app/config/packages/security.yam
55
55
 
56
56
  ### Paso 3: OWASP Top 10 - Inyección
57
57
 
58
- #### A05:2025 – Injection (SQL, NoSQL, OS, LDAP) (3 puntos)
58
+ #### A03:2021 – Injection (SQL, NoSQL, OS, LDAP) (3 puntos)
59
59
 
60
60
  ```bash
61
61
  # Verificar el uso de consultas preparadas
@@ -79,9 +79,9 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -rE "\"SELECT.*\\..*\$" /app/src
79
79
 
80
80
  **Puntos obtenidos**: ___/3
81
81
 
82
- ### Paso 4: OWASP Top 10 - Authentication Failures
82
+ ### Paso 4: OWASP Top 10 - Broken Authentication
83
83
 
84
- #### A07:2025 – Authentication Failures (3 puntos)
84
+ #### A07:2021 – Identification and Authentication Failures (3 puntos)
85
85
 
86
86
  ```bash
87
87
  # Verificar la configuración de contraseñas
@@ -104,9 +104,9 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "RateLimiter" /app/config --i
104
104
 
105
105
  **Puntos obtenidos**: ___/3
106
106
 
107
- ### Paso 5: OWASP Top 10 - Fallos Criptográficos
107
+ ### Paso 5: OWASP Top 10 - Exposición de Datos Sensibles
108
108
 
109
- #### A04:2025 – Cryptographic Failures (3 puntos)
109
+ #### A02:2021 – Cryptographic Failures (3 puntos)
110
110
 
111
111
  ```bash
112
112
  # Verificar secretos en el código
@@ -131,7 +131,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "SECURE_SCHEME" /app/.env.exa
131
131
 
132
132
  ### Paso 6: OWASP Top 10 - Control de Acceso Roto
133
133
 
134
- #### A01:2025 – Broken Access Control (3 puntos)
134
+ #### A01:2021 – Broken Access Control (3 puntos)
135
135
 
136
136
  ```bash
137
137
  # Verificar los Voters
@@ -156,7 +156,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "@IsGranted" /app/src --inclu
156
156
 
157
157
  ### Paso 7: OWASP Top 10 - XSS y CSRF
158
158
 
159
- #### A05:2025 – Injection : XSS (Cross-Site Scripting) (2 puntos)
159
+ #### A03:2021 – XSS (Cross-Site Scripting) (2 puntos)
160
160
 
161
161
  ```bash
162
162
  # Verificar el auto-escape de Twig
@@ -179,7 +179,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "|raw" /app/templates --inclu
179
179
 
180
180
  **Puntos obtenidos**: ___/2
181
181
 
182
- #### A01:2025 – Broken Access Control : CSRF (Cross-Site Request Forgery) (2 puntos)
182
+ #### A08:2021 – CSRF (Cross-Site Request Forgery) (2 puntos)
183
183
 
184
184
  ```bash
185
185
  # Verificar la protección CSRF
@@ -201,7 +201,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "csrf_protection" /app/config
201
201
 
202
202
  ### Paso 8: OWASP Top 10 - Otras Vulnerabilidades
203
203
 
204
- #### A02:2025 – Security Misconfiguration (2 puntos)
204
+ #### A05:2021 – Security Misconfiguration (2 puntos)
205
205
 
206
206
  ```bash
207
207
  # Verificar el modo debug
@@ -224,7 +224,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli composer audit
224
224
 
225
225
  **Puntos obtenidos**: ___/2
226
226
 
227
- #### A03:2025 – Software Supply Chain Failures (1 punto)
227
+ #### A06:2021 – Vulnerable and Outdated Components (1 punto)
228
228
 
229
229
  ```bash
230
230
  # Auditoría de seguridad Composer
@@ -398,16 +398,16 @@ Fixed in: 5.4.25
398
398
  OWASP TOP 10 - RESUMEN
399
399
  =================================================
400
400
 
401
- A01:2025 - Broken Access Control : [✅|⚠️|❌]
402
- A02:2025 - Security Misconfiguration : [✅|⚠️|❌]
403
- A03:2025 - Software Supply Chain Failures : [✅|⚠️|❌]
404
- A04:2025 - Cryptographic Failures : [✅|⚠️|❌]
405
- A05:2025 - Injection : [✅|⚠️|❌]
406
- A06:2025 - Insecure Design : [✅|⚠️|❌]
407
- A07:2025 - Authentication Failures : [✅|⚠️|❌]
408
- A08:2025 - Software or Data Integrity Failures : [✅|⚠️|❌]
409
- A09:2025 - Logging & Alerting Failures : [✅|⚠️|❌]
410
- A10:2025 - Mishandling of Exceptional Conditions : [✅|⚠️|❌]
401
+ A01:2021 - Broken Access Control : [✅|⚠️|❌]
402
+ A02:2021 - Cryptographic Failures : [✅|⚠️|❌]
403
+ A03:2021 - Injection : [✅|⚠️|❌]
404
+ A04:2021 - Insecure Design : [✅|⚠️|❌]
405
+ A05:2021 - Security Misconfiguration : [✅|⚠️|❌]
406
+ A06:2021 - Vulnerable Components : [✅|⚠️|❌]
407
+ A07:2021 - Authentication Failures : [✅|⚠️|❌]
408
+ A08:2021 - Software and Data Integrity : [✅|⚠️|❌]
409
+ A09:2021 - Security Logging Failures : [✅|⚠️|❌]
410
+ A10:2021 - Server-Side Request Forgery : [✅|⚠️|❌]
411
411
 
412
412
  =================================================
413
413
  CONFORMIDAD RGPD
@@ -24,7 +24,36 @@ Ejemplo: `/uiux:audit src/pages/Dashboard.tsx AAA`
24
24
 
25
25
  ### Paso 1: Auditoría de Accesibilidad (Experto A11y)
26
26
 
27
- Ejecutar `/uiux:a11y-audit {URL o ruta} {nivel}` y trasladar su informe (puntuación, criterios WCAG no conformes, remediaciones) a la síntesis. No repetir aquí la auditoría automatizada ni la checklist WCAG: `/uiux:a11y-audit` es la fuente única.
27
+ #### 1.1 Auditoría automatizada
28
+ ```bash
29
+ # Ejecutar si está disponible
30
+ npx axe-cli {URL}
31
+ npx pa11y {URL}
32
+ # O verificar Lighthouse
33
+ ```
34
+
35
+ #### 1.2 Verificación manual WCAG 2.2 AAA
36
+
37
+ **Perceptible**
38
+ - [ ] Imágenes con texto alt
39
+ - [ ] Estructura semántica (h1-h6, landmarks)
40
+ - [ ] Contraste ≥ 7:1 (AAA)
41
+ - [ ] Reflow a 320px
42
+
43
+ **Operable**
44
+ - [ ] Navegación completa por teclado
45
+ - [ ] Sin trampa de teclado
46
+ - [ ] Foco visible (≥ 2px)
47
+ - [ ] Objetivos táctiles ≥ 44px
48
+
49
+ **Comprensible**
50
+ - [ ] lang en html
51
+ - [ ] Labels en inputs
52
+ - [ ] Mensajes de error claros
53
+
54
+ **Robusto**
55
+ - [ ] ARIA correcto
56
+ - [ ] aria-live para dinámico
28
57
 
29
58
  ### Paso 2: Auditoría UX/Ergonomía (Experto UX)
30
59
 
@@ -41,7 +41,11 @@ Definir lo visual:
41
41
 
42
42
  ### Paso 3: Especificación A11y (Experto A11y)
43
43
 
44
- Ejecutar `/uiux:a11y-component {NOMBRE}` y trasladar su especificación (semántica HTML, atributos ARIA, navegación por teclado, foco, contraste, anuncios del lector de pantalla) a la sección ♿ de la síntesis. No redefinirla aquí.
44
+ Definir accesibilidad:
45
+ - Semántica HTML
46
+ - Atributos ARIA
47
+ - Navegación por teclado
48
+ - Anuncios de lector de pantalla
45
49
 
46
50
  ### Paso 4: Síntesis
47
51
 
@@ -22,7 +22,7 @@ Tu es un expert en qualité logicielle chargé d'effectuer un audit complet de c
22
22
  - Identifier le répertoire du projet à auditer ($ARGUMENTS ou répertoire courant)
23
23
  - Vérifier que le projet est bien un projet React (présence de package.json avec react)
24
24
  - Créer un contexte d'audit avec timestamp
25
- - Lire l'ensemble des règles disponibles dans `.claude/rules/`
25
+ - Lire l'ensemble des règles disponibles dans `/home/fmetivier/Documents/Company/TheBeardedCTO/Tools/Claude/Dev/React/rules/`
26
26
 
27
27
  ### Étape 2 : Exécution des audits sectoriels
28
28
 
@@ -20,8 +20,8 @@ Tu es un expert en sécurité React chargé d'auditer la sécurité d'un projet
20
20
  ### Étape 1 : Analyse du contexte
21
21
  - Identifier le répertoire du projet à auditer ($ARGUMENTS ou répertoire courant)
22
22
  - Lire les règles de sécurité depuis :
23
- - `.claude/rules/11-security-react.md`
24
- - `.claude/rules/03-coding-standards.md` (section sécurité)
23
+ - `/home/fmetivier/Documents/Company/TheBeardedCTO/Tools/Claude/Dev/React/rules/11-security.md`
24
+ - `/home/fmetivier/Documents/Company/TheBeardedCTO/Tools/Claude/Dev/React/rules/03-coding-standards.md` (section sécurité)
25
25
 
26
26
  ### Étape 2 : Vérification des vulnérabilités XSS
27
27
 
@@ -55,7 +55,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli cat /app/config/packages/security.yam
55
55
 
56
56
  ### Étape 3 : OWASP Top 10 - Injection
57
57
 
58
- #### A05:2025 – Injection (SQL, NoSQL, OS, LDAP) (3 points)
58
+ #### A03:2021 – Injection (SQL, NoSQL, OS, LDAP) (3 points)
59
59
 
60
60
  ```bash
61
61
  # Vérifier l'utilisation de requêtes préparées
@@ -79,9 +79,9 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -rE "\"SELECT.*\\..*\$" /app/src
79
79
 
80
80
  **Points obtenus** : ___/3
81
81
 
82
- ### Étape 4 : OWASP Top 10 - Authentication Failures
82
+ ### Étape 4 : OWASP Top 10 - Broken Authentication
83
83
 
84
- #### A07:2025 – Authentication Failures (3 points)
84
+ #### A07:2021 – Identification and Authentication Failures (3 points)
85
85
 
86
86
  ```bash
87
87
  # Vérifier la configuration des mots de passe
@@ -104,9 +104,9 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "RateLimiter" /app/config --i
104
104
 
105
105
  **Points obtenus** : ___/3
106
106
 
107
- ### Étape 5 : OWASP Top 10 - Cryptographic Failures
107
+ ### Étape 5 : OWASP Top 10 - Sensitive Data Exposure
108
108
 
109
- #### A04:2025 – Cryptographic Failures (3 points)
109
+ #### A02:2021 – Cryptographic Failures (3 points)
110
110
 
111
111
  ```bash
112
112
  # Vérifier les secrets dans le code
@@ -131,7 +131,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "SECURE_SCHEME" /app/.env.exa
131
131
 
132
132
  ### Étape 6 : OWASP Top 10 - Broken Access Control
133
133
 
134
- #### A01:2025 – Broken Access Control (3 points)
134
+ #### A01:2021 – Broken Access Control (3 points)
135
135
 
136
136
  ```bash
137
137
  # Vérifier les Voters
@@ -156,7 +156,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "@IsGranted" /app/src --inclu
156
156
 
157
157
  ### Étape 7 : OWASP Top 10 - XSS et CSRF
158
158
 
159
- #### A05:2025 – Injection : XSS (Cross-Site Scripting) (2 points)
159
+ #### A03:2021 – XSS (Cross-Site Scripting) (2 points)
160
160
 
161
161
  ```bash
162
162
  # Vérifier l'auto-échappement Twig
@@ -179,7 +179,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "|raw" /app/templates --inclu
179
179
 
180
180
  **Points obtenus** : ___/2
181
181
 
182
- #### A01:2025 – Broken Access Control : CSRF (Cross-Site Request Forgery) (2 points)
182
+ #### A08:2021 – CSRF (Cross-Site Request Forgery) (2 points)
183
183
 
184
184
  ```bash
185
185
  # Vérifier CSRF protection
@@ -201,7 +201,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "csrf_protection" /app/config
201
201
 
202
202
  ### Étape 8 : OWASP Top 10 - Autres Vulnérabilités
203
203
 
204
- #### A02:2025 – Security Misconfiguration (2 points)
204
+ #### A05:2021 – Security Misconfiguration (2 points)
205
205
 
206
206
  ```bash
207
207
  # Vérifier le mode debug
@@ -224,7 +224,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli composer audit
224
224
 
225
225
  **Points obtenus** : ___/2
226
226
 
227
- #### A03:2025 – Software Supply Chain Failures (1 point)
227
+ #### A06:2021 – Vulnerable and Outdated Components (1 point)
228
228
 
229
229
  ```bash
230
230
  # Audit de sécurité Composer
@@ -398,16 +398,16 @@ Fixed in: 5.4.25
398
398
  OWASP TOP 10 - RÉSUMÉ
399
399
  =================================================
400
400
 
401
- A01:2025 - Broken Access Control : [✅|⚠️|❌]
402
- A02:2025 - Security Misconfiguration : [✅|⚠️|❌]
403
- A03:2025 - Software Supply Chain Failures : [✅|⚠️|❌]
404
- A04:2025 - Cryptographic Failures : [✅|⚠️|❌]
405
- A05:2025 - Injection : [✅|⚠️|❌]
406
- A06:2025 - Insecure Design : [✅|⚠️|❌]
407
- A07:2025 - Authentication Failures : [✅|⚠️|❌]
408
- A08:2025 - Software or Data Integrity Failures : [✅|⚠️|❌]
409
- A09:2025 - Logging & Alerting Failures : [✅|⚠️|❌]
410
- A10:2025 - Mishandling of Exceptional Conditions : [✅|⚠️|❌]
401
+ A01:2021 - Broken Access Control : [✅|⚠️|❌]
402
+ A02:2021 - Cryptographic Failures : [✅|⚠️|❌]
403
+ A03:2021 - Injection : [✅|⚠️|❌]
404
+ A04:2021 - Insecure Design : [✅|⚠️|❌]
405
+ A05:2021 - Security Misconfiguration : [✅|⚠️|❌]
406
+ A06:2021 - Vulnerable Components : [✅|⚠️|❌]
407
+ A07:2021 - Authentication Failures : [✅|⚠️|❌]
408
+ A08:2021 - Software and Data Integrity : [✅|⚠️|❌]
409
+ A09:2021 - Security Logging Failures : [✅|⚠️|❌]
410
+ A10:2021 - Server-Side Request Forgery : [✅|⚠️|❌]
411
411
 
412
412
  =================================================
413
413
  CONFORMITÉ RGPD
@@ -24,7 +24,36 @@ Exemple : `/uiux:audit src/pages/Dashboard.tsx AAA`
24
24
 
25
25
  ### Étape 1 : Audit Accessibilité (Expert A11y)
26
26
 
27
- Exécuter `/uiux:a11y-audit {URL ou chemin} {niveau}` et reprendre son rapport (score, critères WCAG non conformes, remédiations) dans la synthèse. Ne pas refaire ici l'audit automatisé ni la checklist WCAG : `/uiux:a11y-audit` en est la source unique.
27
+ #### 1.1 Audit automatisé
28
+ ```bash
29
+ # Exécuter si disponible
30
+ npx axe-cli {URL}
31
+ npx pa11y {URL}
32
+ # Ou vérifier Lighthouse
33
+ ```
34
+
35
+ #### 1.2 Vérification manuelle WCAG 2.2 AAA
36
+
37
+ **Perceptible**
38
+ - [ ] Images avec alt text
39
+ - [ ] Structure sémantique (h1-h6, landmarks)
40
+ - [ ] Contraste ≥ 7:1 (AAA)
41
+ - [ ] Reflow à 320px
42
+
43
+ **Utilisable**
44
+ - [ ] Navigation clavier complète
45
+ - [ ] Pas de piège clavier
46
+ - [ ] Focus visible (≥ 2px)
47
+ - [ ] Touch targets ≥ 44px
48
+
49
+ **Compréhensible**
50
+ - [ ] lang sur html
51
+ - [ ] Labels sur inputs
52
+ - [ ] Messages d'erreur clairs
53
+
54
+ **Robuste**
55
+ - [ ] ARIA correct
56
+ - [ ] aria-live pour dynamique
28
57
 
29
58
  ### Étape 2 : Audit UX/Ergonomie (Expert UX)
30
59
 
@@ -41,7 +41,11 @@ Définir le visuel :
41
41
 
42
42
  ### Étape 3 : Spécification A11y (Expert A11y)
43
43
 
44
- Exécuter `/uiux:a11y-component {NOM}` et reprendre sa spécification (sémantique HTML, attributs ARIA, navigation clavier, focus, contraste, annonces lecteur d'écran) dans la section ♿ de la synthèse. Ne pas la redéfinir ici.
44
+ Définir l'accessibilité :
45
+ - Sémantique HTML
46
+ - Attributs ARIA
47
+ - Navigation clavier
48
+ - Annonces lecteur d'écran
45
49
 
46
50
  ### Étape 4 : Synthèse
47
51
 
@@ -55,7 +55,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli cat /app/config/packages/security.yam
55
55
 
56
56
  ### Step 3 : OWASP Top 10 - Injection
57
57
 
58
- #### A05:2025 – Injection (SQL, NoSQL, OS, LDAP) (3 points)
58
+ #### A03:2021 – Injection (SQL, NoSQL, OS, LDAP) (3 points)
59
59
 
60
60
  ```bash
61
61
  # Vérifier l'utilisation de requêtes préparées
@@ -79,9 +79,9 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -rE "\"SELECT.*\\..*\$" /app/src
79
79
 
80
80
  **Points obtained** : ___/3
81
81
 
82
- ### Step 4 : OWASP Top 10 - Authentication Failures
82
+ ### Step 4 : OWASP Top 10 - Broken Authentication
83
83
 
84
- #### A07:2025 – Authentication Failures (3 points)
84
+ #### A07:2021 – Identification and Authentication Failures (3 points)
85
85
 
86
86
  ```bash
87
87
  # Vérifier la configuration des mots de passe
@@ -104,9 +104,9 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "RateLimiter" /app/config --i
104
104
 
105
105
  **Points obtained** : ___/3
106
106
 
107
- ### Step 5 : OWASP Top 10 - Cryptographic Failures
107
+ ### Step 5 : OWASP Top 10 - Sensitive Data Exposure
108
108
 
109
- #### A04:2025 – Cryptographic Failures (3 points)
109
+ #### A02:2021 – Cryptographic Failures (3 points)
110
110
 
111
111
  ```bash
112
112
  # Vérifier les secrets dans le code
@@ -131,7 +131,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "SECURE_SCHEME" /app/.env.exa
131
131
 
132
132
  ### Step 6 : OWASP Top 10 - Broken Access Control
133
133
 
134
- #### A01:2025 – Broken Access Control (3 points)
134
+ #### A01:2021 – Broken Access Control (3 points)
135
135
 
136
136
  ```bash
137
137
  # Vérifier les Voters
@@ -156,7 +156,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "@IsGranted" /app/src --inclu
156
156
 
157
157
  ### Step 7 : OWASP Top 10 - XSS et CSRF
158
158
 
159
- #### A05:2025 – Injection : XSS (Cross-Site Scripting) (2 points)
159
+ #### A03:2021 – XSS (Cross-Site Scripting) (2 points)
160
160
 
161
161
  ```bash
162
162
  # Vérifier l'auto-échappement Twig
@@ -179,7 +179,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "|raw" /app/templates --inclu
179
179
 
180
180
  **Points obtained** : ___/2
181
181
 
182
- #### A01:2025 – Broken Access Control : CSRF (Cross-Site Request Forgery) (2 points)
182
+ #### A08:2021 – CSRF (Cross-Site Request Forgery) (2 points)
183
183
 
184
184
  ```bash
185
185
  # Vérifier CSRF protection
@@ -201,7 +201,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli grep -r "csrf_protection" /app/config
201
201
 
202
202
  ### Step 8 : OWASP Top 10 - Autres Vulnérabilités
203
203
 
204
- #### A02:2025 – Security Misconfiguration (2 points)
204
+ #### A05:2021 – Security Misconfiguration (2 points)
205
205
 
206
206
  ```bash
207
207
  # Vérifier le mode debug
@@ -224,7 +224,7 @@ docker run --rm -v $(pwd):/app php:8.5-cli composer audit
224
224
 
225
225
  **Points obtained** : ___/2
226
226
 
227
- #### A03:2025 – Software Supply Chain Failures (1 point)
227
+ #### A06:2021 – Vulnerable and Outdated Components (1 point)
228
228
 
229
229
  ```bash
230
230
  # Audit de sécurité Composer
@@ -398,16 +398,16 @@ Fixed in: 5.4.25
398
398
  OWASP TOP 10 - RÉSUMÉ
399
399
  =================================================
400
400
 
401
- A01:2025 - Broken Access Control : [✅|⚠️|❌]
402
- A02:2025 - Security Misconfiguration : [✅|⚠️|❌]
403
- A03:2025 - Software Supply Chain Failures : [✅|⚠️|❌]
404
- A04:2025 - Cryptographic Failures : [✅|⚠️|❌]
405
- A05:2025 - Injection : [✅|⚠️|❌]
406
- A06:2025 - Insecure Design : [✅|⚠️|❌]
407
- A07:2025 - Authentication Failures : [✅|⚠️|❌]
408
- A08:2025 - Software or Data Integrity Failures : [✅|⚠️|❌]
409
- A09:2025 - Logging & Alerting Failures : [✅|⚠️|❌]
410
- A10:2025 - Mishandling of Exceptional Conditions : [✅|⚠️|❌]
401
+ A01:2021 - Broken Access Control : [✅|⚠️|❌]
402
+ A02:2021 - Cryptographic Failures : [✅|⚠️|❌]
403
+ A03:2021 - Injection : [✅|⚠️|❌]
404
+ A04:2021 - Insecure Design : [✅|⚠️|❌]
405
+ A05:2021 - Security Misconfiguration : [✅|⚠️|❌]
406
+ A06:2021 - Vulnerable Components : [✅|⚠️|❌]
407
+ A07:2021 - Authentication Failures : [✅|⚠️|❌]
408
+ A08:2021 - Software and Data Integrity : [✅|⚠️|❌]
409
+ A09:2021 - Security Logging Failures : [✅|⚠️|❌]
410
+ A10:2021 - Server-Side Request Forgery : [✅|⚠️|❌]
411
411
 
412
412
  =================================================
413
413
  CONFORMITÉ RGPD
@@ -24,7 +24,36 @@ Exemplo: `/uiux:audit src/pages/Dashboard.tsx AAA`
24
24
 
25
25
  ### Etapa 1: Auditoria de Acessibilidade (Especialista A11y)
26
26
 
27
- Executar `/uiux:a11y-audit {URL ou caminho} {nível}` e levar o seu relatório (pontuação, critérios WCAG não conformes, correções) para a síntese. Não repetir aqui a auditoria automatizada nem a checklist WCAG: `/uiux:a11y-audit` é a fonte única.
27
+ #### 1.1 Auditoria automatizada
28
+ ```bash
29
+ # Executar se disponível
30
+ npx axe-cli {URL}
31
+ npx pa11y {URL}
32
+ # Ou verificar Lighthouse
33
+ ```
34
+
35
+ #### 1.2 Verificação manual WCAG 2.2 AAA
36
+
37
+ **Perceptível**
38
+ - [ ] Imagens com texto alt
39
+ - [ ] Estrutura semântica (h1-h6, landmarks)
40
+ - [ ] Contraste ≥ 7:1 (AAA)
41
+ - [ ] Reflow em 320px
42
+
43
+ **Operável**
44
+ - [ ] Navegação completa por teclado
45
+ - [ ] Sem armadilha de teclado
46
+ - [ ] Foco visível (≥ 2px)
47
+ - [ ] Alvos de toque ≥ 44px
48
+
49
+ **Compreensível**
50
+ - [ ] lang no html
51
+ - [ ] Labels nos inputs
52
+ - [ ] Mensagens de erro claras
53
+
54
+ **Robusto**
55
+ - [ ] ARIA correto
56
+ - [ ] aria-live para dinâmico
28
57
 
29
58
  ### Etapa 2: Auditoria UX/Ergonomia (Especialista UX)
30
59
 
@@ -41,7 +41,11 @@ Definir o visual:
41
41
 
42
42
  ### Etapa 3: Especificação A11y (Especialista A11y)
43
43
 
44
- Executar `/uiux:a11y-component {NOME}` e levar a sua especificação (semântica HTML, atributos ARIA, navegação por teclado, foco, contraste, anúncios do leitor de ecrã) para a secção ♿ da síntese. Não a redefinir aqui.
44
+ Definir acessibilidade:
45
+ - Semântica HTML
46
+ - Atributos ARIA
47
+ - Navegação por teclado
48
+ - Anúncios de leitor de tela
45
49
 
46
50
  ### Etapa 4: Síntese
47
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-bearded-bear/claude-craft",
3
- "version": "8.26.0-next.66f5e86",
3
+ "version": "8.26.0-next.892c8bf",
4
4
  "description": "A comprehensive framework for AI-assisted development with Claude Code. Install standardized rules, agents, and commands for your projects.",
5
5
  "type": "module",
6
6
  "main": "cli/index.js",