strands-agents is vulnerable to Use of Incorrectly-Resolved Name or Reference
72
High Risk
Affected versions of this package are vulnerable to use of incorrectly resolved names or references through dynamic tool-module registration in ToolLoader. The load_tools_from_file_path and load_python_tools helpers insert tool modules into sys.modules using names derived directly from the file’s base_name or the provided tool_name, without validation or namespacing. An attacker can register a tool whose name matches a standard library or internal module, overwriting that entry in sys.modules and hijacking subsequent imports, which can silently modify SDK or application behavior.
You are affected if you are using a version that falls within the vulnerable range.
strands-agents is vulnerable to Use of Incorrectly-Resolved Name or Reference in versions 1.12.0 - 1.17.0.
Upgrade the strands-agents library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant