CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/codeql-queries

Configures and runs GitHub CodeQL - semantic-database SAST with queries written in the CodeQL declarative query language; supports `codeql database create` (per-language) + `codeql database analyze` with --format=sarif; ships query packs (`codeql/javascript-queries`, `codeql/python-queries`, `codeql/java-queries`, `codeql/go-queries`, etc.); integrates with GitHub Code Scanning via SARIF upload; suppression via inline comment + sarif-filter + Security-tab dismissal. Use when the team uses GitHub-hosted repos and needs deep semantic SAST beyond pattern matching (cross-file taint flows, dataflow analysis).

72

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

Low

Low-risk findings.

2 low severity findings. Worth noting, but not necessarily harmful.

Low

W011: Third-party content exposure detected (indirect prompt injection risk).

What this means

The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.

Why it was flagged

The required workflow runs CodeQL over a repository’s source code (the build/source-root you supply via `codeql database create ... --source-root=.` and then `codeql database analyze ... codeql/<lang>-queries`), so any outsider-authored text included in that repo (e.g., PR/issue-linked code contributions) is ingestible at runtime by design.

Where we found it

repository source code (--source-root=.)

content-type · 4 sites

The plugin instructs the agent to run `codeql database create --source-root=.`, which ingests the entire repository source tree — including any outsider-authored code from PRs or issue-linked contributions — into a CodeQL database for analysis.

SKILL.md

56

codeql database create my-db --language=javascript --source-root=.

SKILL.md

59

codeql database create my-db --language=java --command="./gradlew build" --source-root=.

SKILL.md

61

codeql database create my-db --language=cpp --command="make all"

SKILL.md

118

codeql database create my-db --language=java \

Report incorrect finding
Low

W012: Unverifiable external dependency detected (runtime URL that controls agent).

What this means

The skill fetches instructions or code from an external URL at runtime, and the fetched content directly controls the agent’s prompts or executes code. This dynamic dependency allows the external source to modify the agent’s behavior without any changes to the skill itself.

Why it was flagged

The skill's install step runs a curl to download and unzip the CodeQL CLI at runtime (https://github.com/github/codeql-cli-binaries/releases/latest/download/codeql-linux64.zip), which fetches and executes remote binary code required to run the skill.

Where we found it

curl -L https://github.[REDACTED].zip -o codeql.zip

command · 1 site

The plugin's install step uses curl to download and unzip the CodeQL CLI binary from a remote GitHub release URL at runtime, fetching and executing unverified remote binary code.

SKILL.md

41

curl -L https://github.[REDACTED].zip -o codeql.zip

github/codeql-action/init@v3

dependency · 1 site

The CI integration invokes the github/codeql-action/init GitHub Action at a mutable tag reference (@v3), which is a remote dependency executed at runtime.

references/codeql-reference.md

70

- uses: github/codeql-action/init@v3

github/codeql-action/analyze@v3

dependency · 1 site

The CI integration invokes the github/codeql-action/analyze GitHub Action at a mutable tag reference (@v3), which is a remote dependency executed at runtime.

references/codeql-reference.md

75

- uses: github/codeql-action/analyze@v3

actions/checkout@v5

dependency · 1 site

The CI integration invokes the actions/checkout GitHub Action at a mutable tag reference (@v5), which is a remote dependency executed at runtime.

references/codeql-reference.md

69

- uses: actions/checkout@v5

Audited
Security analysis
Snyk