diff --git a/scripts/speculator/main.go b/scripts/speculator/main.go index 59047e68..22fb2ff2 100644 --- a/scripts/speculator/main.go +++ b/scripts/speculator/main.go @@ -123,6 +123,8 @@ func serveSpec(w http.ResponseWriter, req *http.Request) { return } + // We're going to run whatever Python is specified in the pull request, which + // may do bad things, so only trust people we trust. if !allowedMembers[pr.User.Login] { w.WriteHeader(403) io.WriteString(w, fmt.Sprintf("%q is not a trusted pull requester", pr.User.Login)) @@ -158,6 +160,8 @@ func serveRstDiff(w http.ResponseWriter, req *http.Request) { return } + // We're going to run whatever Python is specified in the pull request, which + // may do bad things, so only trust people we trust. if !allowedMembers[pr.User.Login] { w.WriteHeader(403) io.WriteString(w, fmt.Sprintf("%q is not a trusted pull requester", pr.User.Login))