Skip to content
Back to skills

Edge Case Context Poisoning

ASecurity

Users are injecting adversarial prompts into our chatbot that corrupt the agent's behavior for the rest of the session. Even after the malicious message, the agent keeps behaving incorrectly. What's happening and how do I prevent it? - [ ] Identifies context poisoning as degradation pattern - [ ] Explains how malicious content persists in context window - [ ] Recommends input validation/sanitization - [ ] Suggests context isolation or session segmentation - [ ] May recommend masking or filter...

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 20, 2026
ai-agents

Security analysis

A100/100

Scanned September 20, 2026

npx -y skills add tstapler/dotfiles --skill edge-case-context-poisoning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Edge Case Context Poisoning?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Edge Case Context Poisoning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tstapler-edge-case-context-poisoning/badge)](https://www.skillsdirectory.com/skills/tstapler-edge-case-context-poisoning)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: edge-case-context-poisoning
description: ''
---

# Prompt
Users are injecting adversarial prompts into our chatbot that corrupt the agent's behavior for the rest of the session. Even after the malicious message, the agent keeps behaving incorrectly. What's happening and how do I prevent it?

# Expected
- [ ] Identifies context poisoning as degradation pattern
- [ ] Explains how malicious content persists in context window
- [ ] Recommends input validation/sanitization
- [ ] Suggests context isolation or session segmentation
- [ ] May recommend masking or filtering strategies
- [ ] References context-degradation.md for poisoning patterns

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…