Skip to content

Commit

Permalink
Adding relationship links (EthTrust spec)
Browse files Browse the repository at this point in the history
  • Loading branch information
chaals committed Jul 29, 2024
1 parent 1e33416 commit 7a711f2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
5 changes: 4 additions & 1 deletion entries/docs/SWC-115.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ Authorization through tx.origin

## Relationships

[CWE-477: Use of Obsolete Function](https://cwe.mitre.org/data/definitions/477.html)
- [CWE-477: Use of Obsolete Function](https://cwe.mitre.org/data/definitions/477.html)
- EEA EthTrust Security Levels:
- [**[S] No `tx.origin`**](https://entethalliance.github.io/eta-registry/security-levels-spec.html#req-1-no-tx.origin)
- [**[Q] Verify `tx.origin` Usage**](https://entethalliance.github.io/eta-registry/security-levels-spec.html#req-3-verify-tx.origin)

## Description

Expand Down
4 changes: 3 additions & 1 deletion entries/docs/SWC-116.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ Block values as a proxy for time

## Relationships

[CWE-829: Inclusion of Functionality from Untrusted Control Sphere](https://cwe.mitre.org/data/definitions/829.html)
- [CWE-829: Inclusion of Functionality from Untrusted Control Sphere](https://cwe.mitre.org/data/definitions/829.html)
- [**[M] Document Special Code Use**](https://entethalliance.org/specs/ethtrust-sl/#req-2-documented)
- [**[M] Don't Misuse Block Data**](https://entethalliance.org/specs/ethtrust-sl/#req-2-block-data-misuse)

## Description

Expand Down
4 changes: 3 additions & 1 deletion entries/docs/SWC-129.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ Typographical Error

## Relationships

[CWE-480: Use of Incorrect Operator](https://cwe.mitre.org/data/definitions/480.html)
- [CWE-480: Use of Incorrect Operator](https://cwe.mitre.org/data/definitions/480.html)
- EEA EthTrust Security Levels:
- [**[Q] Implement as Documented**](https://entethalliance.github.io/eta-registry/security-levels-spec.html#req-3-implement-as-documented)

## Description

Expand Down
4 changes: 3 additions & 1 deletion entries/docs/SWC-132.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ Unexpected Ether balance
## Relationships

- [CWE-667: Improper Locking](https://cwe.mitre.org/data/definitions/667.html)

- EEA EthTrust Security Levels:
- [**[S] No Exact Balance Check**](https://entethalliance.org/specs/ethtrust-sl/#req-1-exact-balance-check)
- [**[M] Verify Exact Balance Checks**](https://entethalliance.org/specs/ethtrust-sl/#req-1-verify-exact-balance-check)

## Description

Expand Down

0 comments on commit 7a711f2

Please sign in to comment.