update-codeql-query-dataflow-java
OfficialMigrate Java/Kotlin dataflow to v2 safely.
Authoradvanced-security
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Java and Kotlin CodeQL queries often rely on the legacy v1 dataflow API, which makes maintenance and modernization difficult. This skill provides a clear migration path to the modern v2 API using DataFlow::ConfigSig modules while preserving query results.
Core Features & Use Cases
- Convert v1 DataFlow::Configuration implementations to v2 DataFlow::ConfigSig modules.
- Rename predicates: isSanitizer to isBarrier and isAdditionalTaintStep to isAdditionalFlowStep, with behavior preserved.
- Replace cfg.hasFlow calls with module-based flow predicates (e.g., MyFlow::flow) and update path queries accordingly.
- Enable a TDD-driven migration workflow: establish baselines, run migrations, verify exact result equivalence, and update query metadata.
- Address Java/Kotlin-specific patterns (RemoteFlowSource, Spring/Servlet sources, lambdas, streams) during migration.
Quick Start
Perform a mechanical migration of a sample Java/Kotlin dataflow query from v1 to v2, convert configuration classes to modules, and run tests to verify equivalence with the original baseline.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: update-codeql-query-dataflow-java Download link: https://github.com/advanced-security/codeql-development-mcp-server/archive/main.zip#update-codeql-query-dataflow-java Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.