T09 · Insecure Skill Coding Practices
- Location
scripts/lib/diff-engine.js:163- Finding
Sensitive files are read and processed without the documented confirmation
- Content
View full analysis
0 ? sensitiveFiles : undefined, format_detected: result.format_detected || resultA.format || 'text', }; } ``` Directory mode automatically submits every common readable file for comparison: ```js for (const relPath of allFiles) { const hasA = mapA.has(relPath); const hasB = mapB.has(relPath); if (!hasA && hasB) { added.push(relPath); } else if (hasA && !hasB) { deleted.push(relPath); } else { // Both exist — compare them const pathA ...[truncated 2693 chars]- Remediation
View remediation
