Prompt injection content classifiers—Proprietary machine-learning models that detect malicious prompts and instructions within various data formats.
Security thought reinforcement—Targeted security instructions that are added around the prompt content. These instructions remind the LLM (large language model) to perform the user-directed task and ignore adversarial instructions.
Markdown sanitization and suspicious URL redaction—Identifying and redacting external image URLs and suspicious links using Google Safe Browsing to prevent URL-based attacks and data exfiltration.
User confirmation framework—A contextual system that requires explicit user confirmation for potentially risky operations, such as deleting calendar events.
End-user security mitigation notifications—Contextual information provided to users when security issues are detected and mitigated. These notifications encourage users to learn more via dedicated help center articles.
Model resilience—The adversarial robustness of Gemini models, which protects them from explicit malicious manipulation.LLM System Prompt Security Measures (Conceptual)
This is not an image generation prompt, but a conceptual LLM prompt detailing security measures used by Google Finance, generated by Nano Banana Pro. It outlines various techniques like prompt injection content classifiers, security thought reinforcement, markdown sanitization, and user confirmation frameworks to prevent adversarial attacks and system prompt leakage.
Services with a clipboard icon will copy the prompt to your clipboard first.
Version History
Prompt documentation
Related Prompts
prompt for Large Language Models Security Specialist
prompt evaluate c++ code base on quality, readability and security for c++
Parallel read-only multi-agent review of a current git diff or explicit file scope to find behavioral regressions, security or privacy risks, performance or reliability issues, and contract or test coverage gaps. Use when the user asks for a review swarm, parallel review, diff review, regression review, security review, or wants high-signal issues plus a prioritized fix path without editing files.
A detailed prompt for Nano Banana Pro to generate an X (Twitter) header image. It uses a 21:6 aspect ratio, which is close to the required dimensions, and defines an invisible safe zone to ensure the main face and a custom title logo (based on user text and a style preset) are visible and centered. It includes options for zooming in on the face.
A structured JSON prompt for Nano Banana Pro aimed at generating an ultra-realistic 8K close-up portrait of a rugged man enduring a brutal snowstorm. It includes an identity safety clause for face preservation and specifies the subject's appearance, such as wind-burned skin and intense eyes, for a cinematic documentary aesthetic.
Comments (0)
Be the first to comment
to start the conversation.