Skip to content
Back to skills

Codeql Audit

ASecurity

Build a CodeQL database and run dataflow-backed query-suite analysis via the mantis_codeql MCP server

  • 493 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added August 31, 2026
ai-agentsdatabasesecurity

Works with

  • mcp

Security analysis

A100/100

Scanned August 31, 2026

npx -y skills add deonmenezes/mantishack --skill codeql-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codeql Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codeql Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/deonmenezes-codeql-audit/badge)](https://www.skillsdirectory.com/skills/deonmenezes-codeql-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codeql-audit
description: Build a CodeQL database and run dataflow-backed query-suite analysis via the mantis_codeql MCP server
---

Use `codeql_create_database` then `codeql_analyze` (mantis_codeql MCP server) when you need dataflow-aware SAST beyond what regex/pattern tools (semgrep, ast-grep) can prove -- CodeQL's query suites trace actual source-to-sink data flow through the codebase.

Workflow:
1. `codeql_create_database({ source_root, language, database_path })` once per target/language. This is slow (can take minutes on large repos); don't repeat it unless the source changed.
2. `codeql_analyze({ database_path, query_suite })`. Default `query_suite` is `"security-extended"`; use `"security-and-quality"` only if the user wants broader quality findings too.
3. Treat every SARIF result as a `candidate` with a dataflow-backed path, which is stronger recall evidence than a plain grep match -- but it is still not a confirmed finding. CodeQL's own dataflow models can miss framework-specific sanitization; verify the path manually before validating.
4. If `codeql` reports `available: false`, fall back to `semgrep_scan` and `program-analysis`'s `source_sink_scan`/`ast_grep_scan` for recall, and tell the user CodeQL-grade dataflow coverage wasn't available for this run.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.