@roo-code/types@1.19.0

TypeScript type definitions for Roo Code.

  • latest version

    1.115.0

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    9 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @roo-code/types 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
    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

    @roo-code/types is a TypeScript type definitions for Roo Code.

    Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') via the search_files function. An attacker can access sensitive files outside the intended workspace and exfiltrate their contents by injecting prompts that cause the agent to write this information to a JSON schema, which then triggers a network request without user intervention.

    Note:

    This is only exploitable if the attacker is able to submit prompts to the agent and schema fetching is enabled in the environment.

    How to fix Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')?

    Upgrade @roo-code/types to version 1.27.0 or higher.

    <1.27.0
    • H
    Arbitrary Command Injection

    @roo-code/types is a TypeScript type definitions for Roo Code.

    Affected versions of this package are vulnerable to Arbitrary Command Injection via the MCP configuration process. An attacker can execute arbitrary commands by crafting a prompt that causes the agent to write malicious commands to the configuration file.

    Note:

    This is only exploitable if the attacker can submit prompts to the agent, the user has MCP enabled, and auto-approved file writes are enabled.

    How to fix Arbitrary Command Injection?

    Upgrade @roo-code/types to version 1.27.0 or higher.

    <1.27.0