codeql

Perform static code analysis with CodeQL for security vulnerabilities and data flow.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/andrescardonas7/salchipapa-web --skill codeql-andrescardonas7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codeql
Source: https://github.com/andrescardonas7/salchipapa-web/tree/main/.cursor/skills/codeql
Command: npx skills add https://github.com/andrescardonas7/salchipapa-web --skill codeql-andrescardonas7

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of identifying security vulnerabilities, taint tracking, and data flow issues within codebases using the CodeQL static analysis engine.

Core Features & Use Cases

  • Vulnerability Detection: Finds common and complex security flaws like SQL injection, cross-site scripting (XSS), and more.
  • Data Flow Analysis: Tracks how data moves through the application to identify potential security risks.
  • Custom Querying: Allows for the creation and execution of tailored QL queries for specific security needs.
  • CI/CD Integration: Provides guidance on integrating CodeQL analysis into automated build and deployment pipelines.
  • Use Case: A developer can use this Skill to scan a new feature branch for potential security vulnerabilities before merging it into the main codebase, ensuring higher code quality and security.

Quick Start

Use the codeql skill to create a database for the current project's Python code and then analyze it for security vulnerabilities.

Frequently Asked Questions about codeql

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does static analysis find security vulnerabilities in my code?

Static analysis identifies security vulnerabilities by using CodeQL to track data flow and taint across multiple programming languages, detecting flaws like SQL injection and XSS without executing the code.

How do I create a CodeQL database for a Python project?

You can create a CodeQL database for Python code by invoking the CodeQL CLI within your project directory, which builds a database required before running any vulnerability detection queries.

Can I integrate CodeQL into my CI/CD pipelines for automated security audits?

Yes, you can integrate CodeQL into CI/CD pipelines to perform automated security audits, scanning new feature branches for vulnerabilities during the build and deployment process.

Do I need the CodeQL CLI installed to perform data flow analysis?

Yes, the CodeQL CLI must be installed to perform data flow analysis, as it is required to create project databases and execute QL queries for taint tracking.

How do I write custom QL queries for specific security needs?

You can write custom QL queries to target specific security needs by utilizing the CodeQL query language, allowing tailored vulnerability detection beyond standard analysis rules.