GenAI Output Scanning With Easter Eggs to Block Information Leaks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Generative artificial intelligence (GenAI) models are vulnerable to cyberattacks that manipulate their outputs to leak sensitive information or behave undesirably, posing risks such as data leakage and unauthorized access.

Innovation Solution

Implementing a monitoring environment with an analysis engine and remediation engine to scan outputs for Easter eggs, which are specialized tags, and initiate remediation actions to thwart information leaks by sanitizing or modifying outputs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If GenAI models are used to process user prompts, then productivity and user service capability are improved, but the models become vulnerable to cyberattacks that can manipulate outputs to leak sensitive information

Engineering Contradiction:
Improveuser service capabilityVSAvoidinformation leakage vulnerability
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The patent introduces an intermediary scanning system that sits between the GenAI model and the user interface. This intermediary layer scans model outputs for Easter eggs before displaying them to users, effectively mediating the interaction and blocking malicious content without affecting the model's core functionality or productivity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system applies preliminary anti-action by proactively scanning outputs for Easter eggs before they can be displayed to users. The scanning process detects potential information leakage attempts in advance and prevents them from reaching the user interface, countering attacks before they can succeed.

Inventive Principle:
Principle #9Preliminary anti-action

2Measurement precision

If Easter eggs are embedded in system prompts to detect attacks, then security detection capability is improved, but the risk of accidental leakage of sensitive information increases

Engineering Contradiction:
Improveattack detection capabilityVSAvoidaccidental information leakage
Core Design Contradiction:
Measurement precisionVSObject-generated harmful factors

Solution Approach 1:

The system implements feedback by scanning outputs for Easter eggs and using the detection results to determine whether to display content. When an Easter egg is detected, the system provides feedback by blocking the output and optionally alerting administrators, creating a closed-loop security mechanism that prevents accidental leakage while maintaining detection capability.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The scanning system acts as an intermediary that separates the Easter egg detection mechanism from the user interface. This intermediary layer ensures that even if Easter eggs are present in outputs, they are filtered before reaching users, preventing accidental information leakage while preserving the detection capability.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If output scanning is implemented to detect Easter eggs, then security against adversarial attacks is improved, but system complexity and processing time increase

Engineering Contradiction:
Improvesecurity against adversarial attacksVSAvoidsystem architecture complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system applies partial action by scanning only for specific Easter egg patterns rather than performing comprehensive output analysis. This targeted approach provides sufficient security against adversarial attacks while minimizing the addition of system complexity and processing overhead.

Inventive Principle:
Principle #16Partial or excessive action

4Reliability

If remediation actions are taken to sanitize outputs, then information leakage is prevented, but the quality and completeness of user responses may deteriorate

Engineering Contradiction:
Improveinformation leakage preventionVSAvoidresponse quality
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The system extracts and removes only the malicious Easter egg portions from outputs while preserving the rest of the content. This selective extraction approach prevents information leakage by removing harmful elements while maintaining the quality and completeness of legitimate user responses.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12632545B2Generative AI model information leakage prevention
Publication Date: 2026.05.19 HIDDENLAYER INC
  • US12632545B2 patent drawing
  • US12632545B2 patent drawing
  • US12632545B2 patent drawing

AI summary

An output of a GenAI model responsive to a prompt is received. The GenAI model is configured using one or more system prompts including one or more Easter eggs. The output is scanned to confirm whether an Easter egg is present. In cases in which at least one Easter egg is present, one or more remediation actions can be initiated to thwart an information leak by the GenAI model. Related apparatus, systems, techniques and articles are also described.