Skip to content

Commit 7a711f2

Browse files
committed
Adding relationship links (EthTrust spec)
1 parent 1e33416 commit 7a711f2

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

entries/docs/SWC-115.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ Authorization through tx.origin
1616

1717
## Relationships
1818

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

2124
## Description
2225

entries/docs/SWC-116.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ Block values as a proxy for time
1616

1717
## Relationships
1818

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

2123
## Description
2224

entries/docs/SWC-129.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ Typographical Error
1616

1717
## Relationships
1818

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

2123
## Description
2224

entries/docs/SWC-132.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ Unexpected Ether balance
1616
## Relationships
1717

1818
- [CWE-667: Improper Locking](https://cwe.mitre.org/data/definitions/667.html)
19-
19+
- EEA EthTrust Security Levels:
20+
- [**[S] No Exact Balance Check**](https://entethalliance.org/specs/ethtrust-sl/#req-1-exact-balance-check)
21+
- [**[M] Verify Exact Balance Checks**](https://entethalliance.org/specs/ethtrust-sl/#req-1-verify-exact-balance-check)
2022

2123
## Description
2224

0 commit comments

Comments
 (0)