Skip to content

Releases: cosmos/gosec

Release v0.10.4 (twende)

05 Nov 10:05
Compare
Choose a tag to compare

What's Changed

  • rules/sdk: exempt "core", "runtime" from map iteration checks by @odeke-em in #68

Full Changelog: v0.10.3...v0.10.4

Release v0.10.3 umkomboti

31 Oct 20:27
Compare
Choose a tag to compare

What's Changed

  • rules/sdk/blocklist: permit depinject to import unsafe by @odeke-em in #67

Full Changelog: v0.10.2...v0.10.3

Release v0.10.2 baridi sana

23 Oct 01:51
b887802
Compare
Choose a tag to compare

What's Changed

  • rules/sdk: allow hash.Hash.Write et al to ignore errors since contract permits by @odeke-em in #66

Full Changelog: v0.10.1...v0.10.2

Release v0.10.1 haraka

22 Oct 05:45
Compare
Choose a tag to compare

What's Changed

  • rules/sdk: allow packages with /crypto/ to import unsafe by @odeke-em in #64

Full Changelog: v0.10.0...v0.10.1

Release v0.10.0 kamata moto

21 Oct 03:49
Compare
Choose a tag to compare

Release v0.0.9 shika moto

21 Oct 03:30
Compare
Choose a tag to compare

What's Changed

  • analyzer: skip over files under /tests by @odeke-em in #61

Full Changelog: v0.0.8...v0.0.9

Release v0.0.8

13 Oct 23:02
Compare
Choose a tag to compare

What's Changed

  • rules/sdk: more accurately determine overflow for int(len(...)) by type & 32/64-bit architectures by @odeke-em in #55
  • rules/sdk: intelligently flag overflowing uint*->uint* + int*->int* conversions by @odeke-em in #58

Full Changelog: v0.0.7...v0.0.8

Release v0.0.7: skip over */testutil/*

06 Oct 21:38
Compare
Choose a tag to compare

What's Changed

  • (*Analyzer).Check: skip analyzing files within /testutil/ by @odeke-em in #53

Full Changelog: v0.0.6...v0.0.7

Release v0.0.6 (Revival)

24 Sep 02:33
Compare
Choose a tag to compare

This change features a couple of new changes that radically reduce false flags like:

What's Changed

  • all: fix tests by migrating to github.com/onsi/ginkgo/v2 by @odeke-em in #47
  • rules/sdk: sdk allow unsafe+*/rand in specific packages by @odeke-em in #46
  • rules/errors: allow hash.Hash.Write to not return an error as its Go contract holds by @odeke-em in #49
  • rules/sdk: exclude "testutil" from map ranging checks by @odeke-em in #51

Full Changelog: v0.0.5...v0.0.6

and that reduces the flagged errors for cosmos/cosmos-sdk from 1,142 down to 970!

Release v0.0.5 (Fall collection)

21 Sep 02:13
Compare
Choose a tag to compare

With PR #40 by @odeke-em, implemented filtering out of checking code from generated go code. This was polluting reports such as in the cosmos-sdk where we were getting 5,000+ reports per https://github.com/cosmos/cosmos-sdk/security/code-scanning
Screen Shot 2022-09-20 at 6 42 00 PM

We now skip over files with the standard generated Go header regex

^// Code generated .* DO NOT EDIT\.