| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5e27402b-4caf-d4ee-448a-8d72f1f704f5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B04A:1FE82D:935EED:C9BB0B:696E8112 |
| html-safe-nonce | 6a0cc9d8f9ba0d70096cdf433d33e9c6327c3f17d61e25dbc3f3a446414ee2e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDRBOjFGRTgyRDo5MzVFRUQ6QzlCQjBCOjY5NkU4MTEyIiwidmlzaXRvcl9pZCI6Ijc5MzA4NzY2NjgyNjYwNTM5MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1bd840ef15c9f3daeed5aebb8616833415bbd42017c51da1a51b6609f30badd5 |
| hovercard-subject-tag | pull_request:3160387369 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql/pull/21141/files |
| twitter:image | https://avatars.githubusercontent.com/u/5237080?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5237080?s=400&v=4 |
| og:image:alt | This pull request introduces a new CodeQL query for detecting prompt injection vulnerabilities in Python code targeting AI prompting APIs such as agents and openai. The changes includes a new expe... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql git https://github.com/github/codeql.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 143040428 |
| octolytics-dimension-repository_nwo | github/codeql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143040428 |
| octolytics-dimension-repository_network_root_nwo | github/codeql |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 27b23bc056eb973d350fc95afc848757edb9e7a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F21141%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F21141%2Ffiles |
|
Sign up
| https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fcodeql |
| Reload | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
| Reload | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
| Reload | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
|
github
| https://patch-diff.githubusercontent.com/github |
| codeql | https://patch-diff.githubusercontent.com/github/codeql |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fcodeql |
|
Fork
1.9k
| https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fcodeql |
|
Star
9.1k
| https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fcodeql |
|
Code
| https://patch-diff.githubusercontent.com/github/codeql |
|
Issues
919
| https://patch-diff.githubusercontent.com/github/codeql/issues |
|
Pull requests
367
| https://patch-diff.githubusercontent.com/github/codeql/pulls |
|
Discussions
| https://patch-diff.githubusercontent.com/github/codeql/discussions |
|
Actions
| https://patch-diff.githubusercontent.com/github/codeql/actions |
|
Projects
0
| https://patch-diff.githubusercontent.com/github/codeql/projects |
|
Models
| https://patch-diff.githubusercontent.com/github/codeql/models |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://patch-diff.githubusercontent.com/github/codeql/security |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
|
Insights
| https://patch-diff.githubusercontent.com/github/codeql/pulse |
|
Code
| https://patch-diff.githubusercontent.com/github/codeql |
|
Issues
| https://patch-diff.githubusercontent.com/github/codeql/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/github/codeql/pulls |
|
Discussions
| https://patch-diff.githubusercontent.com/github/codeql/discussions |
|
Actions
| https://patch-diff.githubusercontent.com/github/codeql/actions |
|
Projects
| https://patch-diff.githubusercontent.com/github/codeql/projects |
|
Models
| https://patch-diff.githubusercontent.com/github/codeql/models |
|
Security
| https://patch-diff.githubusercontent.com/github/codeql/security |
|
Insights
| https://patch-diff.githubusercontent.com/github/codeql/pulse |
| Sign up for GitHub
| https://patch-diff.githubusercontent.com/signup?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose |
| mbaluda | https://patch-diff.githubusercontent.com/mbaluda |
| github:main | https://patch-diff.githubusercontent.com/github/codeql/tree/main |
| mbaluda:prompt-injection | https://patch-diff.githubusercontent.com/mbaluda/codeql/tree/prompt-injection |
|
Conversation
14
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141 |
|
Commits
29
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits |
|
Checks
13
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/checks |
|
Files changed
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
|
Python: Prompt injection in OpenAI clients
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#top |
|
Show all changes
29 commits
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
|
005db5b
Add first version prompt injection query python openai agents sdk
knewbury01 Dec 12, 2025
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/005db5bdcf9572585a2a902072263136c12de463 |
|
7a9e03d
Add support for `openai.OpenAI` client library
mbaluda Jan 2, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/7a9e03d1be3171f1ed0789cc4dfd10393e25a3f5 |
|
b30444b
Merge branch 'knewbury01/add-prompt-injection-query-python' into prom…
mbaluda Jan 2, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/b30444bcacb0346111ec14c7c638cabfc6878189 |
|
6c5c87e
Fix projcet build errors
mbaluda Jan 2, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/6c5c87e05075ee49977eadd4f71e0630be300bb9 |
|
616698c
Fix newline at end of PromptInjection.qlref
mbaluda Jan 2, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/616698cb4a9c96e53cbc0725693eb37aeac29677 |
|
942834d
Update python/ql/lib/semmle/python/frameworks/OpenAI.qll
mbaluda Jan 2, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/942834d86f4cbe70fa9208fb34288eae9ce53596 |
|
df979da
Update python/ql/src/Security/CWE-1427/PromptInjection.ql
mbaluda Jan 2, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/df979da1b6bd4a54443d91fc537aca5c74397fe6 |
|
bacecb7
Add example to qlhelp
mbaluda Jan 2, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/bacecb7250265341e113378b7306126725faa555 |
|
a9d0a16
Fix missing predicate
mbaluda Jan 2, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/a9d0a1639a3cca767650e21d1d016ed2e3ffa48e |
|
04193f4
Une inline expectations
mbaluda Jan 5, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/04193f4bb585eeef90da5c9df35fedd77e3d6558 |
|
2c83dc3
Use models as data
mbaluda Jan 5, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/2c83dc3689ed94c8450d74db50b2b278296e12da |
|
0c7996e
Update python/ql/src/Security/CWE-1427/examples/example.py
mbaluda Jan 6, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/0c7996eb7efe549d0745fc6e50fcf22f1c303b1a |
|
21a2146
Update python/ql/lib/semmle/python/Concepts.qll
mbaluda Jan 6, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/21a21469f1afd7decd76e3efee785621223e8530 |
|
7d450c5
Update python/ql/src/Security/CWE-1427/PromptInjection.qhelp
mbaluda Jan 6, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/7d450c580b66c3bbd0785549d61dbe3f57985adc |
|
c352ffd
Update python/ql/lib/change-notes/2026-01-02-prompt-injection.md
mbaluda Jan 6, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/c352ffd28c043484170e146eb4f00f8af0482680 |
|
9ea0a12
Fix capitalization typo
mbaluda Jan 6, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/9ea0a1258c306751d047c94ddd90108915333d7a |
|
fd8e170
QLdoc
mbaluda Jan 6, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/fd8e1700c252249f2470183badc4b92fea3e0780 |
|
b4275e8
Merge branch 'main' into knewbury01/add-prompt-injection-query-python
knewbury01 Jan 7, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/b4275e8a2ae7543827daafcb86f7e61b818bcfbc |
|
4117252
Merge pull request #4 from github/main
mbaluda Jan 7, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/4117252725aaf1d1894e0229e8b336addffc4659 |
|
c7d99a1
Merge branch 'knewbury01/add-prompt-injection-query-python' into prom…
mbaluda Jan 7, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/c7d99a1339ceae805090bff578df0af04f6546b0 |
|
1a0feb4
precise models for experimental query
mbaluda Jan 7, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/1a0feb4bac33d6e112d54f6ac8e4c670d083a58a |
|
01b9fa2
removed spurious file
mbaluda Jan 7, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/01b9fa245388341c70a6e4d731f21d94d1fa3d5b |
|
29aad2e
remove test
mbaluda Jan 7, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/29aad2e5164accba59bcc5900fdcdeb2ebd20672 |
|
0a36be1
Refactor openai model
mbaluda Jan 7, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/0a36be1ae34ac25ae43819682c6cb4c9e7f1117f |
|
dccaa84
Improve agents sdk modelling (#5)
knewbury01 Jan 9, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/dccaa84b96e557e85a146ff1c9b6a7939a443f66 |
|
1ec82d9
Update OpenAI.qll
mbaluda Jan 9, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/1ec82d9f56878eb24a27aa0c2d700cfc7e78da70 |
|
3c14266
Merge branch 'github:main' into prompt-injection
mbaluda Jan 9, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/3c14266b972ae247da55c7b46edf7ac6b31dec35 |
|
16370d6
Update python/ql/test/experimental/query-tests/Security/CWE-1427-Prom…
mbaluda Jan 9, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/16370d6cd1c38d11114f1ba6de9dd5b073dee7ec |
|
4542681
Update python/ql/lib/semmle/python/frameworks/OpenAI.qll
mbaluda Jan 9, 2026
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/commits/454268187f87928e1e261648d7e8ea60f59859ea |
|
Clear filters
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
|
2026-01-02-prompt-injection.md
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-6dc492180bafdf1e80af9f4e6efe37bacb44fd908e4bbbe867e43aa5703917d7 |
|
Concepts.qll
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-d31b95d0643733e70ef7320bd131b75f31ea4a9701fd817781a438ef1a87a48d |
|
Frameworks.qll
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-29692e4114f44187490ab5c3a2b9c937ffd91123fc3bbd9298aae38a09a2e256 |
|
OpenAI.qll
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-a6c92437a20f4c6214b62086fb0fd536a1b16eeaa6f1666322e22acfd49a4060 |
|
agent.model.yml
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-1ca4da26285a4c1794961987e7077b39b4b87e74214e5c46a894e63f74366b34 |
|
openai.model.yml
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-e1a3500e7337f088f644055e9afda8984d8c796722beb524ce01b38d026bfd9b |
|
PromptInjectionCustomizations.qll
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-8af665bf47e86b6ce929b72469873d6f59a339d10148b22d48663913f964f689 |
|
PromptInjectionQuery.qll
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-9a2295bbb2a4cac84750e26b94a8a4445b75675c45fb371cdf29a673967191ac |
|
PromptInjection.qhelp
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-d20eb93347e104727690e2e8c3be1e6c0986286a38a96dacaf99946d7a4a7ed9 |
|
PromptInjection.ql
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-331ea0175e7e42f2f9a848afe8a5beab8903318c21f9ae53c4136d4d86d7710e |
|
example.py
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-c9610644f8623ad9a16a9553eb1c748e1aaa80934cb814a7ce4d0aad76b83b96 |
|
PromptInjection.expected
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-34e413246060ea4799d8a5fd1b35aa318ba9ed23fb9cd3881dc1cd50c5c30dd6 |
|
PromptInjection.qlref
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-627937193477a4affb4b8ff6df98c434f267c78a776ecc153071f136b3ec5b9a |
|
agent_instructions.py
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-c788d78a6e8e1496c01c8eaa67250de709b2f6cdd93f77bc5170bf922b6ac8f2 |
|
openai_test.py
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-90d2ef6bd61151b45f6a215abaf2947dfabc93b0dc8780da0056a9b444460afe |
|
| https://patch-diff.githubusercontent.com/github/codeql/blob/main/CODEOWNERS#L19 |
| python/ql/lib/change-notes/2026-01-02-prompt-injection.md | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-6dc492180bafdf1e80af9f4e6efe37bacb44fd908e4bbbe867e43aa5703917d7 |
|
View file
| https://patch-diff.githubusercontent.com/github/codeql/blob/454268187f87928e1e261648d7e8ea60f59859ea/python/ql/lib/change-notes/2026-01-02-prompt-injection.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/github/codeql/blob/main/CODEOWNERS#L19 |
| python/ql/lib/semmle/python/Concepts.qll | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-d31b95d0643733e70ef7320bd131b75f31ea4a9701fd817781a438ef1a87a48d |
|
View file
| https://patch-diff.githubusercontent.com/github/codeql/blob/454268187f87928e1e261648d7e8ea60f59859ea/python/ql/lib/semmle/python/Concepts.qll |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-d31b95d0643733e70ef7320bd131b75f31ea4a9701fd817781a438ef1a87a48d |
|
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-d31b95d0643733e70ef7320bd131b75f31ea4a9701fd817781a438ef1a87a48d |
|
| https://patch-diff.githubusercontent.com/github/codeql/blob/main/CODEOWNERS#L19 |
| python/ql/lib/semmle/python/Frameworks.qll | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-29692e4114f44187490ab5c3a2b9c937ffd91123fc3bbd9298aae38a09a2e256 |
|
View file
| https://patch-diff.githubusercontent.com/github/codeql/blob/454268187f87928e1e261648d7e8ea60f59859ea/python/ql/lib/semmle/python/Frameworks.qll |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-29692e4114f44187490ab5c3a2b9c937ffd91123fc3bbd9298aae38a09a2e256 |
|
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-29692e4114f44187490ab5c3a2b9c937ffd91123fc3bbd9298aae38a09a2e256 |
|
| https://patch-diff.githubusercontent.com/github/codeql/blob/main/CODEOWNERS#L19 |
| python/ql/lib/semmle/python/frameworks/OpenAI.qll | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-a6c92437a20f4c6214b62086fb0fd536a1b16eeaa6f1666322e22acfd49a4060 |
|
View file
| https://patch-diff.githubusercontent.com/github/codeql/blob/454268187f87928e1e261648d7e8ea60f59859ea/python/ql/lib/semmle/python/frameworks/OpenAI.qll |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/{{ revealButtonHref }} |
| Copilot | https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer |
| Jan 9, 2026 | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#r2677058601 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
| Copilot | https://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
|
| https://patch-diff.githubusercontent.com/github/codeql/blob/main/CODEOWNERS#L19 |
| python/ql/lib/semmle/python/frameworks/agent.model.yml | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-1ca4da26285a4c1794961987e7077b39b4b87e74214e5c46a894e63f74366b34 |
|
View file
| https://patch-diff.githubusercontent.com/github/codeql/blob/454268187f87928e1e261648d7e8ea60f59859ea/python/ql/lib/semmle/python/frameworks/agent.model.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/github/codeql/blob/main/CODEOWNERS#L19 |
| python/ql/lib/semmle/python/frameworks/openai.model.yml | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-e1a3500e7337f088f644055e9afda8984d8c796722beb524ce01b38d026bfd9b |
|
View file
| https://patch-diff.githubusercontent.com/github/codeql/blob/454268187f87928e1e261648d7e8ea60f59859ea/python/ql/lib/semmle/python/frameworks/openai.model.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/github/codeql/blob/main/CODEOWNERS#L19 |
| python/ql/lib/semmle/python/security/dataflow/PromptInjectionCustomizations.qll | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-8af665bf47e86b6ce929b72469873d6f59a339d10148b22d48663913f964f689 |
|
View file
| https://patch-diff.githubusercontent.com/github/codeql/blob/454268187f87928e1e261648d7e8ea60f59859ea/python/ql/lib/semmle/python/security/dataflow/PromptInjectionCustomizations.qll |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/github/codeql/blob/main/CODEOWNERS#L19 |
| python/ql/lib/semmle/python/security/dataflow/PromptInjectionQuery.qll | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-9a2295bbb2a4cac84750e26b94a8a4445b75675c45fb371cdf29a673967191ac |
|
View file
| https://patch-diff.githubusercontent.com/github/codeql/blob/454268187f87928e1e261648d7e8ea60f59859ea/python/ql/lib/semmle/python/security/dataflow/PromptInjectionQuery.qll |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/github/codeql/blob/main/CODEOWNERS#L19 |
| python/ql/src/experimental/Security/CWE-1427/PromptInjection.qhelp | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-d20eb93347e104727690e2e8c3be1e6c0986286a38a96dacaf99946d7a4a7ed9 |
|
View file
| https://patch-diff.githubusercontent.com/github/codeql/blob/454268187f87928e1e261648d7e8ea60f59859ea/python/ql/src/experimental/Security/CWE-1427/PromptInjection.qhelp |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/{{ revealButtonHref }} |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
|
| https://patch-diff.githubusercontent.com/github/codeql/blob/main/CODEOWNERS#L19 |
| python/ql/src/experimental/Security/CWE-1427/PromptInjection.ql | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-331ea0175e7e42f2f9a848afe8a5beab8903318c21f9ae53c4136d4d86d7710e |
|
View file
| https://patch-diff.githubusercontent.com/github/codeql/blob/454268187f87928e1e261648d7e8ea60f59859ea/python/ql/src/experimental/Security/CWE-1427/PromptInjection.ql |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/github/codeql/blob/main/CODEOWNERS#L19 |
| python/ql/src/experimental/Security/CWE-1427/examples/example.py | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#diff-c9610644f8623ad9a16a9553eb1c748e1aaa80934cb814a7ce4d0aad76b83b96 |
|
View file
| https://patch-diff.githubusercontent.com/github/codeql/blob/454268187f87928e1e261648d7e8ea60f59859ea/python/ql/src/experimental/Security/CWE-1427/examples/example.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/github/codeql/pull/21141/{{ revealButtonHref }} |
| Copilot | https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer |
| Jan 9, 2026 | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files#r2677058700 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
| Copilot | https://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
| Please reload this page | https://patch-diff.githubusercontent.com/github/codeql/pull/21141/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |