Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion agentic_harness/core/redaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ def sensitive_json_key(key: str) -> bool:
for index in range(len(piece_sequence) - len(phrase) + 1)
):
return True
if "githubpat" in semantic_compact and not semantic_compact.endswith("githubpattern"):
return True
return any(
marker in semantic_compact
for marker in (
Expand All @@ -141,7 +143,6 @@ def sensitive_json_key(key: str) -> bool:
"bearer",
"credential",
"credentials",
"githubpat",
"password",
"passwd",
"pwd",
Expand Down