![]() |
Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
|
DEMO |
DREAD risk quantification — 5 factors scored 1..10. More...
#include <threat_model.hpp>
Public Member Functions | |
| double | composite () const |
| Composite DREAD score (arithmetic mean, 1.0 .. 10.0). | |
| ThreatSeverity | severity () const |
| Derive severity from composite score. | |
| bool | valid () const |
| Validate all factors are in range [1, 10]. | |
Public Attributes | |
| int32_t | damage = 1 |
| Potential damage if exploited (1-10) | |
| int32_t | reproducibility = 1 |
| Ease of reproducing the attack (1-10) | |
| int32_t | exploitability = 1 |
| Effort required to exploit (1-10) | |
| int32_t | affected_users = 1 |
| Fraction of users affected (1-10) | |
| int32_t | discoverability = 1 |
| Ease of discovering the vulnerability (1-10) | |
DREAD risk quantification — 5 factors scored 1..10.
Composite score = arithmetic mean of all 5 factors.
Definition at line 82 of file threat_model.hpp.
|
inline |
Composite DREAD score (arithmetic mean, 1.0 .. 10.0).
Definition at line 90 of file threat_model.hpp.
|
inline |
Derive severity from composite score.
Definition at line 96 of file threat_model.hpp.
|
inline |
Validate all factors are in range [1, 10].
Definition at line 105 of file threat_model.hpp.
| int32_t signet::forge::DreadScore::affected_users = 1 |
Fraction of users affected (1-10)
Definition at line 86 of file threat_model.hpp.
| int32_t signet::forge::DreadScore::damage = 1 |
Potential damage if exploited (1-10)
Definition at line 83 of file threat_model.hpp.
| int32_t signet::forge::DreadScore::discoverability = 1 |
Ease of discovering the vulnerability (1-10)
Definition at line 87 of file threat_model.hpp.
| int32_t signet::forge::DreadScore::exploitability = 1 |
Effort required to exploit (1-10)
Definition at line 85 of file threat_model.hpp.
| int32_t signet::forge::DreadScore::reproducibility = 1 |
Ease of reproducing the attack (1-10)
Definition at line 84 of file threat_model.hpp.