Skip to content

Commit dcec59f

Browse files
update prompt injection comment to note built-in sanitization
1 parent 8e4a062 commit dcec59f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/claude-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Requires ANTHROPIC_API_KEY secret in repo Settings > Secrets and variables > Actions.
22
#
3-
# Note: PR diffs are attacker-controlled content. The allowedTools scope is
4-
# restricted to read-only operations to limit impact of prompt injection.
3+
# Prompt injection: the action sanitizes untrusted PR content (strips HTML comments,
4+
# invisible chars, hidden attributes). Tools are restricted to read-only as a second layer.
55

66
name: Claude Code
77

0 commit comments

Comments
 (0)