T05 · Unauthorized Access and Privilege Escalation
- Location
scripts/audit.py:109- Finding
Broad Sensitive-File Reconnaissance Beyond the Minimum Audit Scope
- Content
View full analysis
= 500: break files_scanned += 1 try: content = fp.read_text(errors="replace")[:16384] except OSError: continue for pattern, label in secret_patterns: if re.search(pattern, content): rel = str(fp.relative_to(oc_dir)) workspace_secrets.append((rel, label)) break # one finding per file ``` `scripts/audit.py:599-617` expands skill discovery to personal and system-level locations outside the selected OpenClaw dir ...[truncated 4913 chars]- Remediation
View remediation
