banks@1.7.0

A prompt programming language

  • latest version

    2.5.0

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    6 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the banks 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
    Directory Traversal

    banks is an A prompt programming language

    Affected versions of this package are vulnerable to Directory Traversal via the Path parameter. An attacker can access sensitive files by supplying crafted path traversal sequences in user-controlled template variables, resulting in unauthorized disclosure of file contents, including credentials and system files, which are returned base64-encoded in the output.

    How to fix Directory Traversal?

    Upgrade banks to version 2.4.4 or higher.

    [,2.4.4)
    • H
    Arbitrary Code Injection

    banks is an A prompt programming language

    Affected versions of this package are vulnerable to Arbitrary Code Injection via the importlib.import_module. An attacker can execute arbitrary code by supplying a malicious Tool.import_path value in a Tool JSON object, which is then imported and invoked with attacker-controlled arguments.

    How to fix Arbitrary Code Injection?

    Upgrade banks to version 2.4.3 or higher.

    [,2.4.3)
    • H
    Improper Neutralization of Special Elements Used in a Template Engine

    banks is an A prompt programming language

    Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine via the Prompt process. An attacker can execute arbitrary code on the host system by supplying specially crafted template strings that are rendered without proper sandboxing.

    How to fix Improper Neutralization of Special Elements Used in a Template Engine?

    Upgrade banks to version 2.4.2 or higher.

    [,2.4.2)