codeql

Run CodeQL static analysis to detect security vulnerabilities and track data flow.

1|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/statick88/dotfiles --skill codeql-statick88
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codeql
Source: https://github.com/statick88/dotfiles/tree/main/amp/.agents/skills/codeql
Command: npx skills add https://github.com/statick88/dotfiles --skill codeql-statick88

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of identifying security vulnerabilities, performing taint tracking, and analyzing data flow within your codebase using the powerful CodeQL static analysis engine.

Core Features & Use Cases

  • Vulnerability Detection: Finds security flaws like SQL injection, cross-site scripting (XSS), and more.
  • Data Flow & Taint Tracking: Traces how untrusted data moves through your application to identify potential exploits.
  • Custom Querying: Enables writing and running custom QL queries for specific security needs.
  • CI/CD Integration: Facilitates setting up automated CodeQL scans in your development pipelines.
  • Use Case: Analyze a new feature branch for potential security risks before merging it into the main codebase.

Quick Start

Use the codeql skill to create a CodeQL database for a Python project and 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 do I detect security vulnerabilities using static analysis on my source code?

Static analysis identifies security vulnerabilities by tracing untrusted data flow and taint tracking within your codebase. It automates finding flaws like SQL injection and cross-site scripting (XSS) before merging new feature branches.

How do I write custom QL queries for specific code security checks?

You can write and run custom QL queries to perform tailored static analysis for specific security needs. This enables targeted vulnerability detection and data flow analysis beyond standard security audits.

Do I need the CodeQL CLI installed to analyze compiled languages?

Yes, you need the CodeQL CLI installed to analyze code and create databases. For compiled languages, specific build commands are required during database creation to accurately capture the code structure.

How do I integrate automated static analysis scans into a CI/CD pipeline?

You can integrate static analysis into CI/CD pipelines to automate security vulnerability detection. This facilitates running automated scans on your codebase during development to identify risks before deployment.

What is taint tracking and how does it find potential exploits in an application?

Taint tracking is a static analysis technique that traces how untrusted data moves through an application. By analyzing this data flow, it identifies potential exploits where malicious input could cause security vulnerabilities.