AGENOVA
Developer ToolsQ/92 · Quality reviewed

AgentGuard: Cursor Rules for Context Isolation & Injection Defense

$29.99One-time purchase

Comprehensive Cursor rule suite for building secure AI agents with strict context isolation, untrusted input boundaries, and indirect prompt injection defenses.

Current version
1.0.0
Files included
12
Digital delivery
Instant download

Share this page

How to buy

From selection to download in four clear steps.

  1. 01

    Create your account

    Sign up or log in so your order, invoice and downloads stay available.

  2. 02

    Review the package

    Check the included files, requirements, license and one-time price.

  3. 03

    Pay securely

    Complete the checkout with our secure payment provider. No card data is stored by Agenova.

  4. 04

    Download your product

    After payment confirmation, retrieve the files and license from your account.

Built to save a real afternoon

/01

Strict payload and instruction channel separation patterns

/02

Indirect prompt injection defense rules for tool outputs

/03

Pre-execution parameter sanitization for LLM tool invocation

/04

Context boundary enforcement to prevent data exfiltration

What is included

AgentGuard: Cursor Rules for Context Isolation & Injection Defense

ANTI-PATTERNS.mdFILE/01
CHANGELOG.mdFILE/02
LICENSE.mdFILE/03
README.mdFILE/04
TEST-CASES.mdFILE/05
THREAT-MODEL.mdFILE/06
fr/README.mdFILE/07
metadata/product.jsonFILE/08
rules/00-channel-separation.mdcFILE/09
rules/10-untrusted-tool-output.mdcFILE/10
rules/20-tool-parameter-validation.mdcFILE/11
rules/30-exfiltration-boundaries.mdcFILE/12

Requirements

  • An agent that calls tools, at least one of which returns content you do not control
  • At least one tool that can write, spend, send, or read something sensitive
  • The ability to enforce checks in code around the model, not only in prompts
  • A test environment for the twelve probes — never run them against production

Digital delivery

Secure download available after payment confirmation.

Practical license

Use and adapt the files in your own projects.

Versioned files

A clear changelog is included in every package.

Version history

v1.0.0

First downloadable release of agentguard-cursor-rules-for-context-isolation-injection-defense.

v2026.0812.1

Initial Product Agent release

Good questions, straight answers.

Does this stop prompt injection?+

No, and no product can. An LLM receives instructions and data as the same tokens, so a defence phrased as an instruction competes with the attacker in the same channel. What these rules do is make a successful injection survivable: the threat model marks each attack as eliminated or merely reduced, and every eliminated one is a check in code rather than a sentence in a prompt.

Which rule should I adopt if I only adopt one?+

20-tool-parameter-validation. It is the layer that holds after the model has been persuaded — resolved-path containment, argument vectors instead of shell strings, allowlists rather than blocklists, and identity taken from the authenticated session rather than from an argument. That last line alone closes a class of cross-tenant data breach that no prompt-level defence covers.

Is there an injection detector included?+

No, deliberately. Classifier detection is bypassed by paraphrase and encoding, it flags legitimate security discussion, and — the real objection — deploying one tends to displace the architectural work that actually holds. One of the documented anti-patterns is a team that expanded their agent's capabilities on the strength of a detector, then had it bypassed by a request written in French.

Are the twelve test cases safe to run?+

They are benign by design: each asks for a harmless marker — a canary string, a scratch file, a report of what the agent noticed — rather than doing damage, so they are safe to run repeatedly in a test environment and unambiguous to score. Run them against your own agent only, and never against production or a real customer record.

What is the catch?+

Taken seriously, these rules reduce what your agent may do autonomously. An agent that reads untrusted content and also holds a capability worth abusing cannot be made safe by a rule file — the two have to be separated, usually by a human confirmation step or a second agent with no network egress. That trade is stated up front rather than buried.

Related products

A monitoring dashboard showing metric tiles and a quality scoreDeveloper Tools
$29.99

Production Telemetry and Live Debugging Rules

Four Cursor rules and a diagnostic playbook for answering a question about running production code without shipping a deploy to find out.

  • Zero-redeploy state inspection in Node.js, Python and Go — stacks on signal, pool counters, goroutine and task lists
  • Log and span payloads carrying the five fields that make correlation possible at all
View product
A human head outlined in blue circuit-board traces, breaking apartDeveloper Tools
$29.99

AI Model Regression & Behavioral Drift Prevention Rules

A production-grade Cursor rules package and evaluation harness configuration designed to prevent code generation regressions, benchmark LLM outputs, and enforce deterministic guardrails across model updates.

  • Pin the model, the prompt and the decoding parameters
  • Output contracts that refuse an unknown enum instead of defaulting
View product
Blade template markup open in a dark code editorDeveloper Tools
$29.99

Cursor Rules for Laravel

Production rules for clean Laravel applications.

  • Laravel architecture rules
  • API security guardrails
View product