3 matches found
Banks: Unsafe Importlib.import_module Of Attacker-controlled Tool.import_path In CompletionExtension Allows RCE
Summary "banks" parses "Tool" JSON objects from the rendered body of "% completion %" blocks and later resolves their "importpath" field through "importlib.importmodule..." + "getattr..." to obtain the callable that handles a tool call. There is no allowlist or sanitization on "importpath", so an...
Banks: Unsafe importlib.import_module of attacker-controlled Tool.import_path in CompletionExtension allows RCE
Summary banks parses Tool JSON objects from the rendered body of % completion % blocks and later resolves their importpath field through importlib.importmodule... + getattr... to obtain the callable that handles a tool call. There is no allowlist or sanitization on importpath, so any importable...
GHSA-64VX-6H2C-RJH7 Banks: Unsafe importlib.import_module of attacker-controlled Tool.import_path in CompletionExtension allows RCE
Summary banks parses Tool JSON objects from the rendered body of % completion % blocks and later resolves their importpath field through importlib.importmodule... + getattr... to obtain the callable that handles a tool call. There is no allowlist or sanitization on importpath, so any importable...