Represents net/http.ResponseWriter. Write() and WriteString() are XSS sinks when writing unsanitized user input into the HTTP response body.
.Write().Write()SinkWrite(b []byte) (int, error)
Writes raw bytes to response. XSS sink when b contains user input.
0| FQN | Field | |
|---|---|---|
| net/http.ResponseWriter | fqns[0] | |
| *.ResponseWriter | patterns |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import GoHTTPResponseWriter