1. Rename AgentSDK -> AgentSdk

2. Remove redundant constant comparison barriers. This is already happening by default by the taint tracking library.
This commit is contained in:
BazookaMusic
2026-06-08 12:55:52 +02:00
parent e370af6444
commit 2cb0851900
6 changed files with 375 additions and 43 deletions

View File

@@ -13,7 +13,7 @@ private import semmle.python.ApiGraphs
*
* See https://github.com/openai/openai-agents-python.
*/
module AgentSDK {
module AgentSdk {
/** Gets a reference to the `agents.Runner` class. */
API::Node classRef() { result = API::moduleImport("agents").getMember("Runner") }

View File

@@ -54,7 +54,7 @@ module PromptInjection {
PromptContentSink() {
this = OpenAI::getContentNode().asSink()
or
this = AgentSDK::getContentNode().asSink()
this = AgentSdk::getContentNode().asSink()
}
}