@@ -21,6 +21,27 @@ I'll maintain security remediation progress:
2121
2222## Phase 1: Security Assessment
2323
24+ ### Extended Thinking for Security Analysis
25+
26+ For complex security scenarios, I'll use extended thinking to identify sophisticated vulnerabilities:
27+
28+ <think >
29+ When analyzing security:
30+ - Attack vectors that aren't immediately obvious
31+ - Chain vulnerabilities that individually seem harmless
32+ - Business logic flaws that enable exploitation
33+ - Timing attacks and race conditions
34+ - Supply chain vulnerabilities in dependencies
35+ - Architectural weaknesses that enable lateral movement
36+ </think >
37+
38+ ** Triggers for Extended Analysis:**
39+ - Authentication and authorization systems
40+ - Financial transaction processing
41+ - Cryptographic implementations
42+ - Multi-tenant architectures
43+ - API security boundaries
44+
2445** MANDATORY FIRST STEPS:**
25461 . First, check for ` security-scan ` directory in project root
26472 . Check for existing session files in ` security-scan/ ` (NOT in parent directories or absolute paths)
@@ -155,12 +176,19 @@ Continuing remediation...
155176- Add AI attribution
156177- Log sensitive data
157178
179+ ## Command Integration
180+
181+ When appropriate for critical security fixes:
182+ - ` /test ` - Verify functionality after security patches
183+ - ` /commit ` - Create security-focused commits with proper messages
184+
158185## What I'll Actually Do
159186
160- 1 . ** Scan thoroughly** - Find all vulnerabilities
161- 2 . ** Prioritize wisely** - Critical issues first
162- 3 . ** Fix safely** - Preserve functionality
163- 4 . ** Track completely** - Perfect continuity
164- 5 . ** Verify constantly** - Ensure security improved
187+ 1 . ** Deep analysis** - Use extended thinking for complex threats
188+ 2 . ** Scan thoroughly** - Find all vulnerabilities
189+ 3 . ** Prioritize wisely** - Critical issues first
190+ 4 . ** Fix safely** - Preserve functionality
191+ 5 . ** Track completely** - Perfect continuity
192+ 6 . ** Verify constantly** - Ensure security improved
165193
166194I'll maintain complete continuity between sessions, always resuming exactly where we left off with full remediation context.
0 commit comments