strands-agents@1.16.0 vulnerabilities

A model-driven approach to building AI agents in just a few lines of code

  • latest version

    1.24.0

  • latest non vulnerable version

  • first published

    8 months ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the strands-agents package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Use of Incorrectly-Resolved Name or Reference

    strands-agents is an A model-driven approach to building AI agents in just a few lines of code

    Affected versions of this package are vulnerable to Use of Incorrectly-Resolved Name or Reference via dynamic tool module registration in ToolLoader. The load_tools_from_file_path and load_python_tools helpers insert tool modules into sys.modules under names taken directly from the tool file’s base_name or the tool_name argument without validation or namespacing. An attacker can load a tool whose name matches a standard library or internal module, overwriting that entry in sys.modules and hijacking subsequent imports, potentially altering SDK or application behavior.

    How to fix Use of Incorrectly-Resolved Name or Reference?

    Upgrade strands-agents to version 1.18.0 or higher.

    [,1.18.0)