Skip to content

Commit 7015525

Browse files
authored
Merge pull request #9 from Kritt-ai/fix/resource_exhaustion_chip
feat: changed resource_exhaustion to _chip_resource_exhaustion
2 parents f0c939d + be89c98 commit 7015525

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

database/init/009_seed_post_scripts.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ Finding:
2323
Task:
2424
Decide whether this finding is fundamentally a resource exhaustion attack.
2525

26-
Set resource_exhaustion=true when the core exploit is memory exhaustion, out-of-memory, unbounded storage growth, queue/pool exhaustion, connection/session exhaustion, file descriptor exhaustion, or another bounded runtime resource being consumed until service or network function fails.
26+
Set _chip_resource_exhaustion=true when the core exploit is memory exhaustion, out-of-memory, unbounded storage growth, queue/pool exhaustion, connection/session exhaustion, file descriptor exhaustion, or another bounded runtime resource being consumed until service or network function fails.
2727

28-
Set resource_exhaustion=false for unrelated bug classes, purely logical consensus bugs, authorization bypasses, reward/accounting bugs, or cases where resource pressure is only incidental.
28+
Set _chip_resource_exhaustion=false for unrelated bug classes, purely logical consensus bugs, authorization bypasses, reward/accounting bugs, or cases where resource pressure is only incidental.
2929

3030
Score:
3131
- attack_reliability: 1 = rare/specific state, 2 = realistic but conditional, 3 = reliable when attempted.
3232
- network_scale: 1 = one node/user, 2 = several nodes/users, 3 = broad network participation or many victims.
3333
- mainnet_impact: 0 = no meaningful mainnet impact, 1 = limited, 2 = material but not catastrophic, 3 = severe chain-wide or high-value impact.
3434

35-
Be conservative. If evidence is ambiguous, set resource_exhaustion=false and explain what is missing.
35+
Be conservative. If evidence is ambiguous, set _chip_resource_exhaustion=false and explain what is missing.
3636
$script$,
37-
'{"resource_exhaustion":"boolean","attack_reliability":"number","network_scale":"number","mainnet_impact":"number","resource_exhaustion_reason":"string","attack_reliability_reason":"string","network_scale_reason":"string","mainnet_impact_reason":"string"}'
37+
'{"_chip_resource_exhaustion":"boolean","attack_reliability":"number","network_scale":"number","mainnet_impact":"number","resource_exhaustion_reason":"string","attack_reliability_reason":"string","network_scale_reason":"string","mainnet_impact_reason":"string"}'
3838
WHERE NOT EXISTS (SELECT 1 FROM public.post_scripts WHERE name = 'Resource exhaustion');
3939

4040
INSERT INTO public.post_scripts (name, description, content, output_format)

0 commit comments

Comments
 (0)