sdk/golang/Standard Library

Standard Library

Go stdlib: os/exec, net/http, path/filepath, strconv

All 178Source: 21Sink: 33Sanitizer: 6
GoArchiveTar
archive/tar

archive/tar package. Reader.Next() returns headers with user-controlled filenames — Zip Slip path traversal sink when extracting to filesystem.

1 source1 methods
GoArchiveZip
archive/zip

archive/zip package. OpenReader() and File[].Name are sources of user-controlled filenames — Zip Slip path traversal when extracting.

1 source1 methods
GoArena
arena

Go stdlib package — arena. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

6 methods
GoAst
go/ast

Go stdlib package — go/ast. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoBufioReader
bufio.Reader

bufio.Reader wraps an io.Reader with buffering. ReadString() and ReadLine() are sources when the underlying reader is an HTTP request body or stdin.

3 sources3 methods
GoBufioScanner
bufio.Scanner

bufio.Scanner reads tokens line-by-line. Text() and Bytes() are sources when the scanner wraps user-controlled input (stdin, HTTP body).

2 sources2 methods
GoBuild
go/build

Go stdlib package — go/build. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoBuildConstraint
go/build/constraint

Go stdlib package — go/build/constraint. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoBytes
bytes

Go stdlib package — bytes. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoCipherGCM
crypto/cipher

cipher package. NewGCMWithNonceSize() and AEAD.Seal() — finding when nonce is reused or predictable.

1 sink2 methods
GoCmp
cmp

Go stdlib package — cmp. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

3 methods
GoCompressBzip2
compress/bzip2

Go stdlib package — compress/bzip2. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

3 methods
GoCompressFlate
compress/flate

Go stdlib package — compress/flate. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoCompressGzip
compress/gzip

Go stdlib package — compress/gzip. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoCompressLzw
compress/lzw

Go stdlib package — compress/lzw. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoCompressZlib
compress/zlib

Go stdlib package — compress/zlib. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoConstant
go/constant

Go stdlib package — go/constant. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoContainerHeap
container/heap

Go stdlib package — container/heap. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

6 methods
GoContainerList
container/list

Go stdlib package — container/list. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoContainerRing
container/ring

Go stdlib package — container/ring. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

9 methods
GoContext
context.Context

Represents context.Context. Value() can propagate tainted data stored by upstream handlers — treat returned values as taint sources in inter-procedural analysis.

1 source2 methods
GoCrypto
crypto/sha256

Weak cryptographic algorithms: crypto/md5, crypto/sha1, crypto/des, crypto/rc4. All New() and Sum() calls are findings — these algorithms are cryptographically broken.

2 sinks2 methods
GoCryptoAES
crypto/aes

crypto/aes package. NewCipher() with a weak mode (ECB, CBC without IV) is a cryptographic weakness finding.

1 sink1 methods
GoCryptoBoring
crypto/boring

Go stdlib package — crypto/boring. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

1 methods
GoCryptoDes
crypto/des

Go stdlib package — crypto/des. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

4 methods
GoCryptoDsa
crypto/dsa

Go stdlib package — crypto/dsa. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

8 methods
GoCryptoEcdh
crypto/ecdh

Go stdlib package — crypto/ecdh. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoCryptoEcdsa
crypto/ecdsa

Go stdlib package — crypto/ecdsa. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoCryptoEd25519
crypto/ed25519

Go stdlib package — crypto/ed25519. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoCryptoElliptic
crypto/elliptic

Go stdlib package — crypto/elliptic. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoCryptoHMAC
crypto/hmac

crypto/hmac package. New() creates HMAC with a key. Equal() provides constant-time comparison. Using == instead of Equal() for MAC verification is a timing attack.

1 sanitizer2 methods
GoCryptoMd5
crypto/md5

Go stdlib package — crypto/md5. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

3 methods
GoCryptoRand
crypto/rand

crypto/rand package. The Reader is the cryptographically secure random source — use this instead of math/rand for tokens and session IDs.

2 methods
GoCryptoRc4
crypto/rc4

Go stdlib package — crypto/rc4. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

6 methods
GoCryptoRsa
crypto/rsa

Go stdlib package — crypto/rsa. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoCryptoSha1
crypto/sha1

Go stdlib package — crypto/sha1. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

2 methods
GoCryptoStdlib
crypto

Go stdlib package — crypto. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoCryptoSubtle
crypto/subtle

Go stdlib package — crypto/subtle. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

7 methods
GoCryptoTlsFipsonly
crypto/tls/fipsonly

Go stdlib package — crypto/tls/fipsonly. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

0 methods
GoCryptoX509Pkix
crypto/x509/pkix

Go stdlib package — crypto/x509/pkix. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoDatabaseSQL
database/sql.Stmt

Alias reference: database/sql.Stmt. Prepared statement execution methods — safe when using ? placeholders, sink when mixing with string concatenation.

3 methods
GoDatabaseSqlDriver
database/sql/driver

Go stdlib package — database/sql/driver. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoDebugBuildinfo
debug/buildinfo

Go stdlib package — debug/buildinfo. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

3 methods
GoDebugDwarf
debug/dwarf

Go stdlib package — debug/dwarf. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoDebugElf
debug/elf

Go stdlib package — debug/elf. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoDebugGosym
debug/gosym

Go stdlib package — debug/gosym. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoDebugMacho
debug/macho

Go stdlib package — debug/macho. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoDebugPe
debug/pe

Go stdlib package — debug/pe. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoDebugPlan9obj
debug/plan9obj

Go stdlib package — debug/plan9obj. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoDoc
go/doc

Go stdlib package — go/doc. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoDocComment
go/doc/comment

Go stdlib package — go/doc/comment. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoEmbed
embed

Go stdlib package — embed. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

4 methods
GoEncoding
encoding

Go stdlib package — encoding. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

4 methods
GoEncodingAscii85
encoding/ascii85

Go stdlib package — encoding/ascii85. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

7 methods
GoEncodingAsn1
encoding/asn1

Go stdlib package — encoding/asn1. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoEncodingBase32
encoding/base32

Go stdlib package — encoding/base32. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoEncodingBase64
encoding/base64

encoding/base64 package. DecodeString() decodes user input — the result is still tainted and must be sanitized before use in sinks.

2 methods
GoEncodingBinary
encoding/binary

encoding/binary package. Read() deserializes binary data from a reader — source of taint when the reader is network or user input.

1 source1 methods
GoEncodingCSV
encoding/csv

encoding/csv package. Reader.Read() and Reader.ReadAll() return user-controlled CSV data as string slices — treat as taint sources.

2 sources2 methods
GoEncodingGob
encoding/gob

encoding/gob package. Decoder.Decode() deserializes arbitrary Go types — unsafe deserialization sink when decoding untrusted data.

1 sink1 methods
GoEncodingHex
encoding/hex

encoding/hex package. DecodeString() converts hex to bytes — does not sanitize taint. EncodeToString() may be used as a sanitizer in specific contexts.

1 sanitizer2 methods
GoEncodingJSON
encoding/json

encoding/json package. Unmarshal and Decoder.Decode() are sources of tainted data from JSON input. Marshal() propagates taint to output.

1 source2 methods
GoEncodingPem
encoding/pem

Go stdlib package — encoding/pem. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

4 methods
GoEncodingXML
encoding/xml

encoding/xml package. Unmarshal and Decoder.Decode() are sources. Can also be an XXE sink if xml.Decoder is used without disabling external entity processing.

1 source1 sink2 methods
GoErrors
errors

Go stdlib package — errors. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

5 methods
GoExpvar
expvar

Go stdlib package — expvar. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoFilepath
path/filepath

The path/filepath standard library package. Join(), Abs(), Clean() are used as sanitizers in path traversal rules when combined with containment checks.

4 sanitizers4 methods
GoFlag
flag

Go stdlib package — flag. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoFmt
fmt

The fmt standard library package. Sprintf, Fprintf, Sscanf are sources of formatted string data. Fprintf to http.ResponseWriter is an XSS sink.

1 source1 sink3 methods
GoFormat
go/format

Go stdlib package — go/format. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

2 methods
GoGobDecoder
encoding/gob.Decoder

encoding/gob.Decoder. Decode() deserializes arbitrary Go values — unsafe deserialization when decoding user-supplied bytes.

2 sinks2 methods
GoHTMLTemplate
html/template

html/template package — the safe version of text/template. Auto-escapes context-appropriately. HTML(), JS(), URL() types are escape bypasses when used with user input.

3 sinks3 methods
GoHTTPClient
net/http.Client

Represents net/http.Client. Do(), Get(), Post() are SSRF sinks when the URL comes from user input.

3 sinks3 methods
GoHTTPCookie
net/http.Cookie

net/http.Cookie struct. Missing Secure, HttpOnly, or SameSite flags are security findings for session cookies.

1 sink1 methods
GoHTTPMux
net/http.ServeMux

net/http.ServeMux is the HTTP request multiplexer. Handle() and HandleFunc() register handlers — not typically a security sink but relevant for routing analysis.

2 methods
GoHTTPRequest
net/http.Request

Represents *http.Request from the net/http standard library. Used in standard http.HandlerFunc handlers. FormValue, URL.Query(), Header.Get(), and Body are all taint sources.

4 sources4 methods
GoHTTPResponseWriter
net/http.ResponseWriter

Represents net/http.ResponseWriter. Write() and WriteString() are XSS sinks when writing unsanitized user input into the HTTP response body.

1 sink2 methods
GoHTTPServer
net/http.Server

net/http.Server. ListenAndServe() without TLS is a finding in server configurations that should enforce HTTPS.

1 sink2 methods
GoHash
hash

Go stdlib package — hash. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

3 methods
GoHashAdler32
hash/adler32

Go stdlib package — hash/adler32. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

2 methods
GoHashCrc32
hash/crc32

Go stdlib package — hash/crc32. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

7 methods
GoHashCrc64
hash/crc64

Go stdlib package — hash/crc64. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

5 methods
GoHashFnv
hash/fnv

Go stdlib package — hash/fnv. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

6 methods
GoHashMaphash
hash/maphash

Go stdlib package — hash/maphash. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoHtml
html

Go stdlib package — html. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

2 methods
GoIO
io

The io standard library package. ReadAll and Copy move data from readers — sources when the underlying reader is user-controlled (e.g. an http.Request.Body). WriteString writes to a writer and is a sink when the writer is an HTTP response.

2 sources1 sink6 methods
GoIOFS
io/fs

io/fs package (Go 1.16+). FS interface and ReadFile() operate on filesystem abstractions — path traversal sinks when path is user-controlled.

2 sinks2 methods
GoIOReader
io

io.Reader interface. ReadAll() from io package returns the full content of a reader — source of taint when the reader wraps HTTP request body.

1 source3 methods
GoImage
image

Go stdlib package — image. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoImageColor
image/color

Go stdlib package — image/color. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoImageColorPalette
image/color/palette

Go stdlib package — image/color/palette. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

0 methods
GoImageDraw
image/draw

Go stdlib package — image/draw. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

8 methods
GoImageGif
image/gif

Go stdlib package — image/gif. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

7 methods
GoImageJpeg
image/jpeg

Go stdlib package — image/jpeg. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

9 methods
GoImagePng
image/png

Go stdlib package — image/png. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoImporter
go/importer

Go stdlib package — go/importer. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

4 methods
GoIndexSuffixarray
index/suffixarray

Go stdlib package — index/suffixarray. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

7 methods
GoIoIoutil
io/ioutil

Go stdlib package — io/ioutil. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

7 methods
GoJSON
encoding/json

encoding/json for JSON encode/decode. Unmarshal and Decoder.Decode deserialize JSON into Go values — the destination struct becomes tainted if the input bytes are user-controlled. Encoder.Encode writes JSON to a writer, a sink when the writer is an HTTP response.

2 sources1 sink6 methods
GoLog
log

log standard library package. Printf, Println, and Fatal variants may log sensitive user input — a finding for privacy/compliance rules.

3 sinks3 methods
GoLogSlog
log/slog

log/slog package (Go 1.21+). Structured logging — Info, Warn, Error are log injection sinks when message or attributes contain unsanitized user input.

3 sinks3 methods
GoLogSyslog
log/syslog

Go stdlib package — log/syslog. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoMaps
maps

Go stdlib package — maps. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

5 methods
GoMath
math

Go stdlib package — math. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoMathBig
math/big

Go stdlib package — math/big. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoMathBits
math/bits

Go stdlib package — math/bits. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoMathCmplx
math/cmplx

Go stdlib package — math/cmplx. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoMathRand
math/rand

math/rand package. Intn(), Float64() and related functions use a deterministic PRNG — a finding when used for cryptographic purposes (tokens, session IDs).

2 sinks2 methods
GoMime
mime

Go stdlib package — mime. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoMimeMultipart
mime/multipart

mime/multipart package. Reader.ReadForm() parses multipart form data including file uploads — source of user-controlled filenames and content.

2 sources2 methods
GoMimeQuotedprintable
mime/quotedprintable

Go stdlib package — mime/quotedprintable. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

7 methods
GoNetDial
net

net.Dial and net.DialTCP create network connections. Dial() is an SSRF sink when the address is user-controlled.

3 sinks3 methods
GoNetHTTP
net/http

Package-level net/http functions: Get(), Post(), Head(). SSRF sinks when the URL argument is derived from user input.

4 sinks4 methods
GoNetHttpCgi
net/http/cgi

Go stdlib package — net/http/cgi. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

5 methods
GoNetHttpCookiejar
net/http/cookiejar

Go stdlib package — net/http/cookiejar. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

6 methods
GoNetHttpFcgi
net/http/fcgi

Go stdlib package — net/http/fcgi. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

2 methods
GoNetHttpHttptest
net/http/httptest

Go stdlib package — net/http/httptest. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoNetHttpHttptrace
net/http/httptrace

Go stdlib package — net/http/httptrace. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

7 methods
GoNetHttpHttputil
net/http/httputil

Go stdlib package — net/http/httputil. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoNetHttpPprof
net/http/pprof

Go stdlib package — net/http/pprof. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

6 methods
GoNetMail
net/mail

Go stdlib package — net/mail. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoNetNetip
net/netip

Go stdlib package — net/netip. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoNetRpc
net/rpc

Go stdlib package — net/rpc. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoNetRpcJsonrpc
net/rpc/jsonrpc

Go stdlib package — net/rpc/jsonrpc. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

5 methods
GoNetSMTP
net/smtp

net/smtp package. SendMail() and SMTP.Mail() are email injection sinks when headers or body are built from user input without sanitization.

1 sink1 methods
GoNetTLS
crypto/tls

crypto/tls package. Config.InsecureSkipVerify = true disables certificate verification — a finding for all production code.

1 sink1 methods
GoNetTextproto
net/textproto

Go stdlib package — net/textproto. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoNetURL
net/url

net/url package. Parse() returns a *url.URL from a string — source of taint when parsing user-supplied URLs. Used in SSRF detection for URL validation.

3 sanitizers4 methods
GoOS
os

The os standard library package. Getenv() is a source of environment variable data. Open(), Create(), Remove() are file operation sinks for path traversal.

1 source4 sinks5 methods
GoOSExec
os/exec

The os/exec standard library package. exec.Command and exec.CommandContext are command injection sinks when any argument comes from user-controlled input. Most dangerous with shell=true-equivalent patterns.

2 sinks2 methods
GoOSUser
os/user

os/user package. Lookup() and LookupId() resolve usernames — source of OS-level user data. Relevant for privilege escalation analysis.

1 source1 sink2 methods
GoOsSignal
os/signal

Go stdlib package — os/signal. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

6 methods
GoParser
go/parser

Go stdlib package — go/parser. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

5 methods
GoPath
path

Go stdlib package — path. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

8 methods
GoPlugin
plugin

plugin package. Open() loads a shared library — code execution sink when the plugin path is user-controlled.

1 sink1 methods
GoPrinter
go/printer

Go stdlib package — go/printer. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

5 methods
GoReflect
reflect

reflect package. reflect.ValueOf() and reflect.New() with user-controlled type strings enable dynamic code execution — a finding for unsafe reflection rules.

1 sink2 methods
GoRegexp
regexp

regexp package. FindString() and FindAllString() return tainted matches. MustCompile() with user-controlled pattern is a ReDoS risk.

2 sinks3 methods
GoRegexpSyntax
regexp/syntax

Go stdlib package — regexp/syntax. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoRuntime
runtime

runtime package. SetFinalizer(), GOMAXPROCS() — not typical security sinks but relevant for resource exhaustion rules.

1 source1 sink2 methods
GoRuntimeAsan
runtime/asan

Go stdlib package — runtime/asan. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

0 methods
GoRuntimeCgo
runtime/cgo

Go stdlib package — runtime/cgo. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

5 methods
GoRuntimeCoverage
runtime/coverage

Go stdlib package — runtime/coverage. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

5 methods
GoRuntimeDebug
runtime/debug

Go stdlib package — runtime/debug. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoRuntimeMetrics
runtime/metrics

Go stdlib package — runtime/metrics. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoRuntimeMsan
runtime/msan

Go stdlib package — runtime/msan. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

0 methods
GoRuntimePprof
runtime/pprof

Go stdlib package — runtime/pprof. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoRuntimeRace
runtime/race

Go stdlib package — runtime/race. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

0 methods
GoRuntimeTrace
runtime/trace

Go stdlib package — runtime/trace. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoSQLDB
database/sql.DB

Represents database/sql.DB and database/sql.Tx from the Go standard library. Query(), Exec(), and Prepare() are SQL injection sinks when the query string is built from user input instead of using ? placeholders.

4 sinks4 methods
GoScanner
go/scanner

Go stdlib package — go/scanner. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoSlices
slices

Go stdlib package — slices. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoSort
sort

Go stdlib package — sort. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoStrconv
strconv

The strconv standard library package. Atoi, ParseInt, ParseFloat, and related functions serve as sanitizers in SQL injection and path traversal rules — converting a string to a numeric type eliminates injection risk.

4 sanitizers4 methods
GoStrings
strings

strings package. Contains(), HasPrefix(), ReplaceAll() are used as partial sanitizers. Builder is used to construct tainted strings.

2 sanitizers4 methods
GoSync
sync

sync package. Mutex, RWMutex, Once — not security sinks but relevant for race condition detection rules.

2 methods
GoSyncAtomic
sync/atomic

Go stdlib package — sync/atomic. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoSyncMap
sync.Map

sync.Map provides a concurrent map. Load() and Store() are relevant for data flow tracking in concurrent handlers where shared state is modified.

1 source2 methods
GoSyscall
syscall

syscall package. Exec(), RawSyscall(), and socket operations are low-level command and network injection sinks.

1 source1 sink2 methods
GoSyscallJs
syscall/js

Go stdlib package — syscall/js. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoTemplate
html/template.Template

Represents html/template.Template and text/template.Template. Execute() and ExecuteTemplate() are XSS sinks when data contains unsanitized user input passed to text/template (not html/template).

3 sinks3 methods
GoTesting
testing

Go stdlib package — testing. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoTestingFstest
testing/fstest

Go stdlib package — testing/fstest. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

9 methods
GoTestingIotest
testing/iotest

Go stdlib package — testing/iotest. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

9 methods
GoTestingQuick
testing/quick

Go stdlib package — testing/quick. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoTestingSlogtest
testing/slogtest

Go stdlib package — testing/slogtest. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

1 methods
GoTextScanner
text/scanner

Go stdlib package — text/scanner. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoTextTabwriter
text/tabwriter

Go stdlib package — text/tabwriter. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

5 methods
GoTextTemplateParse
text/template/parse

Go stdlib package — text/template/parse. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoTime
time

time package. time.Parse() with user-controlled layout strings is a denial-of-service risk (algorithmic complexity). Not a typical injection sink.

2 methods
GoTimeTzdata
time/tzdata

Go stdlib package — time/tzdata. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

0 methods
GoToken
go/token

Go stdlib package — go/token. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoTypes
go/types

Go stdlib package — go/types. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoUnicode
unicode

Go stdlib package — unicode. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoUnicodeUtf16
unicode/utf16

Go stdlib package — unicode/utf16. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

6 methods
GoUnicodeUtf8
unicode/utf8

Go stdlib package — unicode/utf8. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoUnsafe
unsafe

Go stdlib package — unsafe. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

10 methods
GoX509
crypto/x509

crypto/x509 package. Certificate.Verify() is the TLS chain validation entry point. Skipping verification or using empty VerifyOptions is a finding.

1 source1 sink2 methods