T09 · Insecure Skill Coding Practices
- Location
incident_capture.py:218- Finding
Plaintext Collection and Retention of Sensitive Workspace and Agent-Memory Content
- Content
View full analysis
self.max_snapshot_size: raise RuntimeError( f"Snapshot exceeds MAX_SNAPSHOT_SIZE ({self.max_snapshot_size} bytes). " f"Adjust INCLUDE_PATTERNS or MAX_SNAPSHOT_SIZE." ) fhash = _file_hash(full_path) content = None if size <= self.max_file_size: try: with open(full_path, "r", encoding="utf-8", errors="replace") as fh: ...[truncated 2852 chars]- Remediation
View remediation
