Skip to content

Commit

Permalink
more efficient eth-txreceipt-status.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
GrosQuildu committed Jun 21, 2024
1 parent 104a852 commit 17c678b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions go/eth-txreceipt-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,11 @@ rules:
severity: WARNING
languages: [go]
patterns:
- pattern: |
- pattern-inside: |
import "github.com/ethereum/go-ethereum/core/types"
...
$RECEIVER.$FUNCTION
- metavariable-pattern:
metavariable: $FUNCTION
pattern: Status
- focus-metavariable: $FUNCTION
- pattern: |
$RECEIVER.Status
metadata:
category: security
confidence: LOW
Expand Down

0 comments on commit 17c678b

Please sign in to comment.