Skip to content

Create body_prompt_injection_llm_instructions_new_sender.yml - #5259

Draft
sublimebrian wants to merge 6 commits into
mainfrom
brian/prompt-injection-llm-new-sender
Draft

Create body_prompt_injection_llm_instructions_new_sender.yml#5259
sublimebrian wants to merge 6 commits into
mainfrom
brian/prompt-injection-llm-new-sender

Conversation

@sublimebrian

@sublimebrian sublimebrian commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

New detection rule: Prompt injection: Body instructions directed at an LLM from a new sender.

Flags inbound messages whose plaintext body contains instructions aimed at an LLM (beta.prompt_injection_detection) when the sender has no established, benign relationship (profile.by_sender() prevalence of new/outlier/rare and no prior benign messages). Graymail is excluded via beta.fuzzy_attack_score(), and a temporary allowlist suppresses DMARC-authenticated mail from a set of high-volume legitimate newsletter/service domains.

Notes

  • The // TEMPORARY DMARC allowlist is a stopgap to suppress known-benign newsletter senders while the PI signal is tuned; expected to be removed once the model's false-positive rate on these senders drops.

@sublimebrian sublimebrian added the in-test-rules PR is in our testing suite to collect telemetry label Sep 3, 2026
github-actions Bot added a commit that referenced this pull request Sep 4, 2026
github-actions Bot added a commit that referenced this pull request Sep 4, 2026
…Body instructions directed at an LLM from a new sender
Replace the unconditional graymail exclusion and the TEMPORARY
hardcoded sender list with a single condition that excludes graymail
only when the sender passes DMARC. Authenticated bulk senders are still
suppressed without maintaining a domain list, and unauthenticated
senders whose payload scores graymail no longer bypass the rule.
github-actions Bot added a commit that referenced this pull request Sep 4, 2026
…tions directed at an LLM from a new sender
github-actions Bot added a commit that referenced this pull request Sep 4, 2026
…n: Body instructions directed at an LLM from a new sender
github-actions Bot added a commit that referenced this pull request Sep 8, 2026
…tions directed at an LLM from a new sender
github-actions Bot added a commit that referenced this pull request Sep 8, 2026
…n: Body instructions directed at an LLM from a new sender
github-actions Bot added a commit that referenced this pull request Sep 9, 2026
…n: Body instructions directed at an LLM from a new sender
github-actions Bot added a commit that referenced this pull request Sep 9, 2026
…tions directed at an LLM from a new sender
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in-test-rules PR is in our testing suite to collect telemetry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants