mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-04 10:48:19 +00:00
feat(pre-push-safety-net): declare the provisional advisory scope and print it on every run
One packaged record (advisory-scope.json, shipped in the wheel beside eligibility.json) states the provisional scope, every exclusion with its reason, and what each exclusion leaves untold. The hook renders exactly one bounded Scope line per run in every state (provisional, with defects, record unavailable) and the artifact carries the record under advisory_scope. The record is provisional if and only if the shipped registry is NO-GO with no enabled declaration. Task 15.2. The task text cites a requirement 5.6 that does not exist, so this is implemented against 3.1, 5.1, 7.1 and 7.3.
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"status": "provisional",
|
||||
"basis": "No capability is qualified for alerts today: the shipped capability registry (eligibility.json) has verdict NO-GO and enables no declaration. This is the intended v1 advisory scope; it becomes effective only through the M4 evaluation bound to an immutable spent population (valid-detection-benchmark tasks 11.6 and 11.7).",
|
||||
"scope": [
|
||||
{
|
||||
"family": "injection",
|
||||
"label": "injection",
|
||||
"reason": "Injection entails with witnesses on the measured subjects."
|
||||
},
|
||||
{
|
||||
"family": "untrusted_destination",
|
||||
"label": "untrusted destination",
|
||||
"reason": "Untrusted destination entails with witnesses on the measured subjects."
|
||||
},
|
||||
{
|
||||
"family": "config_secrets",
|
||||
"label": "configuration",
|
||||
"reason": "Configuration entails with witnesses on the measured subjects."
|
||||
}
|
||||
],
|
||||
"exclusions": [
|
||||
{
|
||||
"family": "access_control",
|
||||
"label": "access control",
|
||||
"reason": "Access control does not entail with witnesses on the measured subjects: on an application that splits its route from its data access the obligation is carried, and a carried obligation corroborates by design, so shipping the family would ship silence.",
|
||||
"not_told": "No defect is reported for access control, so a contributor is not told that a change reaches a protected operation without the guard or ownership constraint its siblings carry, even when it does."
|
||||
},
|
||||
{
|
||||
"family": "output_encoding",
|
||||
"label": "output encoding",
|
||||
"reason": "Has not earned a place through evaluation.",
|
||||
"not_told": "No defect is reported for output encoding, so a contributor is not told that a change sends untrusted data to a rendered document or a header without encoding, even when it does."
|
||||
},
|
||||
{
|
||||
"family": "path",
|
||||
"label": "path",
|
||||
"reason": "Has not earned a place through evaluation.",
|
||||
"not_told": "No defect is reported for path, so a contributor is not told that a change lets untrusted input reach a filesystem path, even when it does."
|
||||
},
|
||||
{
|
||||
"family": "prototype",
|
||||
"label": "prototype",
|
||||
"reason": "Has not earned a place through evaluation.",
|
||||
"not_told": "No defect is reported for prototype, so a contributor is not told that a change lets untrusted keys reach an object merge or an attribute assignment, even when it does."
|
||||
},
|
||||
{
|
||||
"family": "deserialization",
|
||||
"label": "deserialization",
|
||||
"reason": "Has not earned a place through evaluation.",
|
||||
"not_told": "No defect is reported for deserialization, so a contributor is not told that a change deserializes untrusted data into objects the process then trusts, even when it does."
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user