Skip to content

Commit a2a0052

Browse files
committed
More related links to EthTrust Spec
1 parent 7a711f2 commit a2a0052

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

entries/docs/SWC-126.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ Insufficient Gas Griefing
1616

1717
## Relationships
1818

19-
[CWE-691: Insufficient Control Flow Management](https://cwe.mitre.org/data/definitions/691.html)
19+
- [CWE-691: Insufficient Control Flow Management](https://cwe.mitre.org/data/definitions/691.html)
20+
- EEA EthTrust Security Levels:
21+
- [**[Q] Manage Gas Usage Increases**](https://entethalliance.github.io/eta-registry/security-levels-spec.html#req-3-enough-gas)
22+
- [**[Q] Protect Gas Usage**](https://entethalliance.github.io/eta-registry/security-levels-spec.html#req-3-protect-gas)
2023

2124
## Description
2225

entries/docs/SWC-127.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ Arbitrary Jump with Function Type Variable
1616

1717
## Relationships
1818

19-
[CWE-695: Use of Low-Level Functionality](https://cwe.mitre.org/data/definitions/695.html)
19+
- [CWE-695: Use of Low-Level Functionality](https://cwe.mitre.org/data/definitions/695.html)
20+
- EEA EthTrust Security Levels:
21+
- [**[S] No `assembly {}`**](https://entethalliance.github.io/eta-registry/security-levels-spec.html#req-1-no-assembly)
22+
- [**[M] Avoid Common `assembly {}` Attack Vectors**](https://entethalliance.github.io/eta-registry/security-levels-spec.html#req-2-safe-assembly)
2023

2124
## Description
2225

entries/docs/SWC-128.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ DoS With Block Gas Limit
1616

1717
## Relationships
1818

19-
[CWE-400: Uncontrolled Resource Consumption](https://cwe.mitre.org/data/definitions/400.html)
20-
19+
- [CWE-400: Uncontrolled Resource Consumption](https://cwe.mitre.org/data/definitions/400.html)
20+
- EEA EthTrust Security Levels:
21+
- [**[Q] Manage Gas Usage Increases**](https://entethalliance.github.io/eta-registry/security-levels-spec.html#req-3-enough-gas)
22+
2123
## Description
2224

2325
When smart contracts are deployed or functions inside them are called, the execution of these actions always requires a certain amount of gas, based of how much computation is needed to complete them. The Ethereum network specifies a block gas limit and the sum of all transactions included in a block can not exceed the threshold.

0 commit comments

Comments
 (0)