Gemini Code Vulnerability Detection
Independent PiSkill directory guide. The original prompt remains hosted by Google Cloud Generative AI.
What does this prompt do?
Scans supplied code for security weaknesses, explains evidence and impact, and proposes mitigations while keeping findings distinguishable from uncertain hypotheses.
Primary use case
Review source code for security vulnerabilities.
Expected output
Prioritized vulnerability findings with evidence and mitigations.
Inputs or variables
- source code
- security context
- language
Related prompts
Gemini Prompt Attack Mitigation
Demonstrates prompt-injection and adversarial-input mitigations through layered instructions, data separation, validation, monitoring, and explicit handling of unsafe outcomes.
AI-Assisted Data Science
Uses Gemini to explore a data question, inspect a dataset, develop analysis steps, produce code, and explain findings with assumptions and validation checks.
BigQuery RAG with Gemini
Builds a retrieval-augmented question-answering workflow with BigQuery data, embeddings, retrieval, prompt context, and grounded Gemini responses.
Gemini Code RAG
Builds retrieval over source code so Gemini can answer development questions with relevant repository context instead of relying on an oversized undifferentiated prompt.
Gemini Codebase Analysis
Uses Gemini to inspect a codebase and synthesize its structure, components, dependencies, behavior, and notable risks into an evidence-linked technical overview.
Gemini Document Processing
Processes documents with Gemini by defining the target schema, extracting grounded information, handling multiple formats, and validating outputs against source evidence.