|
From: | Jack Hill |
Subject: | [bug#47539] [PATCH 00/28] Add gh and dependencies |
Date: | Thu, 1 Apr 2021 13:21:50 -0400 (EDT) |
User-agent: | Alpine 2.21 (DEB 202 2017-01-01) |
On Thu, 1 Apr 2021, Leo Prikler wrote:
After doing some quick investigations myself, I think the following pair of substitute*s might work: (("github.com/cli/safeexec") "os/exec") (("safeexec") "exec")
I happened to be reading the Go blog post about command path security [0]. I haven't looked at it very closely, but I'm hopeful that future gh versions may be able to get safeexec-like behavior from the Go standard library.
[0] https://blog.golang.org/path-security Best, Jack
[Prev in Thread] | Current Thread | [Next in Thread] |