vetkit.go.cors.permissive-with-credentials
CORS allows every origin together with credentials. Any website can then make authenticated requests on behalf of a signed-in user and read the responses.
Last updated:
Suite: Security
go
CORS allows every origin together with credentials. Any website can then make authenticated requests on behalf of a signed-in user and read the responses.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
List the trusted origins explicitly when credentials are allowed; never reflect the Origin header or use a wildcard.
References
Source: packages/engine/rules/sast/go.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.