io.Reader interface. ReadAll() from io package returns the full content of a reader — source of taint when the reader wraps HTTP request body.
.ReadAll().ReadAll()SourceReadAll(r Reader) ([]byte, error)
Reads all bytes from r. Source when r is http.Request.Body.
return| FQN | Field | |
|---|---|---|
| io | fqns[0] |
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 GoIOReader