Skip to content

common/hexec: Remove github.com/cli/safeexec #13516

Closed
@jmooring

Description

@jmooring

https://pkg.go.dev/os/exec#hdr-Executables_in_the_current_directory

To avoid those security problems, as of Go 1.19, this package will not resolve a program using an implicit or explicit path entry relative to the current directory.

Our go.mod requires Go 1.23 or later, so it seems like it would be safe to remove the github.com/cli/safeexec package.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions