T09 · Insecure Skill Coding Practices
- Location
shared/scripts/self_guard_runtime_hook_template.py:2001- Finding
Unredacted Sensitive Task Data Is Persisted in Default Unified Logs
- Content
View full analysis
Dict[str, Any]: ... unified_log = { "meta": { "version": "3.0", "ts": now_iso(), "session_id": session_id, "turn_id": turn_id, "trace_id": trace_id, "policy_profile": policy_profile, "project_root": project_root, "duration_ms": duration_ms, }, "input": { "user_prompt": user_prompt, "planned_actions": planned_actions, "intent_tags": intent_tags, "runtime_events": runtime_events, "sources": sources, "candidate_response": candidate_response, }, ... "output_guard": { "decision": output.get("output_decision", "unknown"), "leakage_detected": output.get("leakage_detected", False), "residual_leakage_detected": output.get( "residual_leakage_detected", False ), "redaction_applied": output.get("redaction_applied", False), "redaction_summary": output.get("redaction_summary", []), "confidence_level": output.get("confidence_level", "unknown"), "or ...[truncated 3764 chars]- Remediation
View remediation
