# Easily customize code scanning using CodeQL model packs for Java (beta)

DevFeed: [Easily customize code scanning using CodeQL model packs for Java (beta)](<https://devfeed.tech/articles/easily-customize-code-scanning-using-codeql-model-packs-for-java-beta-73362.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2023-09-19-easily-customize-code-scanning-using-codeql-model-packs-for-java-beta>)

Author: Kevin Duck

Published: 2023-09-19T16:11:04Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>), [VS Code Extension](<https://devfeed.tech/topics/vscode-extension.md>), [openjdk](<https://devfeed.tech/topics/openjdk.md>), [Secret Scanning](<https://devfeed.tech/topics/secret-scanning.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [beta](<https://devfeed.tech/tags/beta.md>), [code-scanning](<https://devfeed.tech/tags/code-scanning.md>), [codeql](<https://devfeed.tech/tags/codeql.md>), [java](<https://devfeed.tech/tags/java.md>), [model](<https://devfeed.tech/tags/model.md>), [package-management](<https://devfeed.tech/tags/package-management.md>), [security-vulnerabilities](<https://devfeed.tech/tags/security-vulnerabilities.md>), [vs-code](<https://devfeed.tech/tags/vs-code.md>)

## AI overview

CodeQL model packs for Java (beta) let teams extend code scanning to recognize custom or internally built libraries and frameworks that standard threat models may miss. Packs describe library methods as taint sources, sinks, or propagators (flow summaries), helping CodeQL identify additional potential vulnerabilities. The CodeQL model editor in the VS Code extension can find methods standard analysis does not recognize, let users classify them interactively, and generate a model pack for code scanning. The text says the packs work with both default and advanced setup; it does not detail differences between those setups.

## Source excerpt

With CodeQL model packs for Java, users can improve their code scanning results by ensuring that any custom Java libraries and frameworks used by their codebase are recognised by CodeQL....