git.iko.soy
/
crush
readme
files
commits
refs
on
main
help
sign in
sec: remove 'go' from safe programs (#820)
74bcdaf
Carlos Alexandro Becker
1 year ago
internal/llm/tools/safe.go
−15
compare with main
unified
split
@@ -52,21 +52,6 @@ var safeCommands = []string{
52
"git show"
,
52
"git show"
,
53
"git status"
,
53
"git status"
,
54
"git tag"
,
54
"git tag"
,
55
−
56
−
// Go
57
−
"go build"
,
58
−
"go clean"
,
59
−
"go doc"
,
60
−
"go env"
,
61
−
"go fmt"
,
62
−
"go help"
,
63
−
"go install"
,
64
−
"go list"
,
65
−
"go mod"
,
66
−
"go run"
,
67
−
"go test"
,
68
−
"go version"
,
69
−
"go vet"
,
70
}
55
}
71
56
72
func
init() {
57
func
init() {
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list