Skip to content

[HIGH] debugger copy-as-file has command injection on macOS #52

Description

@NotKiwy

debuggerWindow.js:85,96 uses osascript with raw ${filePath} in double quotes.
escaping only handles single quotes, so a path with " or $(cmd) breaks out and executes arbitrary shell commands

OPENED THIS ISSUE FOR MYSELF so i don t forget to fix my own mess. will patch it when i can, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions