Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scanners/boostsecurityio/gosec/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ steps:
- scan:
command:
docker:
image: securego/gosec:2.16.0@sha256:c63f91e8d6af392313b24de92d1e35fb61306ddb8231ef0f112e3e4f0d8e96fc
image: securego/gosec:2.20.0@sha256:484c5a420c9bff73e365de264d86cbb279f332a07d9b31a0b8e1ad6e79fc3701
command: -fmt sarif -no-fail -track-suppressions ./...
workdir: /app
environment:
Expand Down
11 changes: 11 additions & 0 deletions scanners/boostsecurityio/gosec/rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,17 @@ rules:
description: The software does not restrict or incorrectly restricts operations
within the boundaries of a resource.
ref: https://cwe.mitre.org/data/definitions/119.html
G602:
categories:
- ALL
- cwe-118
- boost-hardened
group: top10-insecure-design
name: G602
pretty_name: "G602: Slice access out of bounds"
description: The software does not restrict or incorrectly restricts operations
within the boundaries of a resource that is accessed using an index or pointer.
ref: https://cwe.mitre.org/data/definitions/118.html
G109:
categories:
- ALL
Expand Down