@blueprintlabio/prompt-injector
Version:
Experimental TypeScript library for generating AI security test conversations
18 lines • 807 B
TypeScript
/**
* Context Reset Primitive
* Attempts to clear previous context and constraints
*/
import { BasePrimitive } from './base.js';
import { ConversationContext, Turn, AttackIntent, ObfuscationLevel, Timing } from '../types.js';
export declare class ContextResetPrimitive extends BasePrimitive {
readonly id = "context-reset";
readonly name = "Context Reset";
readonly description = "Attempts to clear previous context and constraints";
readonly timing: Timing[];
readonly researchNotes = "Context manipulation observed in prompt injection research";
readonly obfuscationLevel: ObfuscationLevel;
readonly targetIntents: AttackIntent[];
readonly canFollow: string[];
generate(goal: string, context: ConversationContext): Turn;
}
//# sourceMappingURL=context-reset.d.ts.map