Gemini 2.5 Pro with Hybrid Reasoning for Security Tasks

implementationChallenge

Prompt Content

Implement the core reasoning for both agents using Gemini 2.5 Pro. The 'Red Team Attacker' should use Gemini's capabilities for code analysis to identify weaknesses and generate conceptual exploit methods. The 'Blue Team Defender' should use Gemini's hybrid reasoning (instant for quick scans, deep for detailed analysis) to suggest robust mitigation strategies. Focus on how Gemini's multi-modal strengths can be leveraged for code understanding.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations