encoding/binary package. Read() deserializes binary data from a reader — source of taint when the reader is network or user input.
.Read().Read()SourceRead(r io.Reader, order ByteOrder, data any) error
Reads binary data into data. data becomes tainted when r is user-controlled.
2| FQN | Field | |
|---|---|---|
| encoding/binary | 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 GoEncodingBinary