Skip to content

bug: os.execvp passes unsanitized sys.argv in rust_bridge.py #877

@rysweet

Description

@rysweet

Severity: LOW
File: src/azlin/rust_bridge.py:189
Found by: code-atlas bug hunt (amplihack)

_exec_rust() passes sys.argv directly to os.execvp without argument sanitization. The binary path is controlled (from a known search path) but the arguments come from user input.

Low severity because this is a CLI tool where the user controls their own arguments, but it's worth noting for defense-in-depth.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions