Skip to content

Update python/ql/src/Security/CWE-1427/PromptInjection.ql

df979da
Select commit
Loading
Failed to load commit list.
Closed

Models openai for Prompt injection #21086

Update python/ql/src/Security/CWE-1427/PromptInjection.ql
df979da
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Jan 2, 2026 in 6s

6 configurations not found

Warning: Code scanning may not have found all the alerts introduced by this pull request, because 6 configurations present on refs/heads/main were not found:

Actions workflow (rust-analysis.yml)

  • ❓  .github/workflows/rust-analysis.yml:analyze/language:rust

Actions workflow (csv-coverage-metrics.yml)

  • ❓  .github/workflows/csv-coverage-metrics.yml:publish-csharp
  • ❓  .github/workflows/csv-coverage-metrics.yml:publish-java

Actions workflow (codeql-analysis.yml)

  • ❓  .github/workflows/codeql-analysis.yml:CodeQL-Build/language:actions
  • ❓  .github/workflows/codeql-analysis.yml:CodeQL-Build/language:csharp

Actions workflow (cpp-swift-analysis.yml)

  • ❓  .github/workflows/cpp-swift-analysis.yml:CodeQL-Build

New alerts in code changed by this pull request

  • 2 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 37 in python/ql/lib/semmle/python/security/dataflow/PromptInjectionCustomizations.qll

See this annotation in the file changed.

Code scanning / CodeQL

Class QLDoc style Warning

The QLDoc for a class should start with 'A', 'An', or 'The'.

Check warning on line 1 in python/ql/test/query-tests/Security/CWE-1427-PromptInjection/PromptInjection.qlref

See this annotation in the file changed.

Code scanning / CodeQL

Query test without inline test expectations Warning test

Query test does not use inline test expectations.