Emmanuel T Odeke
Emmanuel T Odeke
I've seen this error ```shell [/go/src/github.com/cosmos/cosmos-sdk/crypto/hd/hdpath.go:269] - G703 (CWE-): Returned error is not propagated up the stack. (Confidence: HIGH, Severity: LOW) 268: // sha512 does not err > 269: _,...
time.Now() uses local clocks that unfortunately when used in distributed consensus introduce lots of skew and can be exploited in vulnerabilities. Instead there is consensus aware clock whose timestamp is...
### Summary If we look at this cosmos-sdk issue https://github.com/cosmos/cosmos-sdk/issues/7766 we can see that it was fixed by https://github.com/cosmos/cosmos-sdk/pull/8719 and one of the root causes was this code ```go sort.Slice(balances,...
Requested in #1 by @ebuchman saying >panics in Begin/EndBlock (these are allowed in tx handling, since they're handled by the SDK, but not in the Begin/EndBlock)
### Summary There is this cosmos-sdk bug https://github.com/cosmos/cosmos-sdk/issues/5621 in which an sdk.Dec value was cast from an interface{} value, thus can be nil. We really should be able to detect...
I've just seen this report for G701 for code already in the rules themselbves ```shell [/Users/emmanuelodeke/go/src/github.com/informalsystems/gosec/output/junit_xml_format.go:39] - G701 (CWE-): Potential integer overflow by integer type conversion (Confidence: MEDIUM, Severity: HIGH)...
The purpose of this issue is to ask if we are being pedantic about some of these imports: If we look at https://github.com/informalsystems/gosec/blob/a284576b08668f2835734b359b27faea587a98b1/rules/sdk/blocklist.go#L71-L78 we can see a bunch of critical...
Just noticed while auditing the code https://github.com/teserakt-io/libe4/blob/601fd4dbddfa608cb226dff85609b6c9dff29590/src/e4c_store_mem.c#L84-L104 but we don't have an explanation on the number of keys that can be stored in e4store. What's going to be the usual...
While at the meeting at Uber, I recall a suggestion that I should make a readiness report with a checklist to list out methods that are already completed. This issue...
Raised offline by @indragiek(citation for credit) when I was marketing the project to him, getting a total sum of trips would be a convenience method.