Download data/research/statistics.json from Helinity/python-security-benchmark: direct link, hf CLI and curl.
- Browser
- Download file 17.2 kB
-
https://huggingface.co/datasets/Helinity/python-security-benchmark/resolve/main/data/research/statistics.json
- Command line
-
hf download hf://datasets/Helinity/python-security-benchmark/data/research/statistics.json
-
curl -L -o statistics.json https://huggingface.co/datasets/Helinity/python-security-benchmark/resolve/main/data/research/statistics.json
17.2 kB
| { | |
| "baseline_sha256": "c36be954f003d107ec98ba48863ce5c4575d1660de26f75f38f148eb17633ccf", | |
| "benchmark": { | |
| "cwe_count": 14, | |
| "hard_negatives": 12, | |
| "labels": { | |
| "insecure": 24, | |
| "secure": 36 | |
| }, | |
| "pairs": 24, | |
| "provenance_sets": { | |
| "hard_negative": 12, | |
| "preserved_baseline": 40, | |
| "research_pair": 8 | |
| }, | |
| "samples": 60, | |
| "verification_statuses": { | |
| "behavior_verified": 60 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 16, | |
| "hard_negatives": 12, | |
| "labels": { | |
| "insecure": 36, | |
| "secure": 48 | |
| }, | |
| "pairs": 36, | |
| "provenance_sets": { | |
| "hard_negative": 12, | |
| "preserved_baseline": 64, | |
| "research_pair": 8 | |
| }, | |
| "samples": 84, | |
| "verification_statuses": { | |
| "ambiguous": 1, | |
| "behavior_verified": 60, | |
| "reviewed_static": 11, | |
| "unverified": 12 | |
| } | |
| }, | |
| "cwes": { | |
| "CWE-117": { | |
| "benchmark": { | |
| "cwe_count": 1, | |
| "hard_negatives": 0, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 2 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 4, | |
| "verification_statuses": { | |
| "behavior_verified": 4 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 0, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 2 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 4, | |
| "verification_statuses": { | |
| "behavior_verified": 4 | |
| } | |
| } | |
| }, | |
| "CWE-209": { | |
| "benchmark": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 3, | |
| "secure": 4 | |
| }, | |
| "pairs": 3, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4, | |
| "research_pair": 2 | |
| }, | |
| "samples": 7, | |
| "verification_statuses": { | |
| "behavior_verified": 7 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 3, | |
| "secure": 4 | |
| }, | |
| "pairs": 3, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4, | |
| "research_pair": 2 | |
| }, | |
| "samples": 7, | |
| "verification_statuses": { | |
| "behavior_verified": 7 | |
| } | |
| } | |
| }, | |
| "CWE-22": { | |
| "benchmark": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "secure": 1 | |
| }, | |
| "pairs": 0, | |
| "provenance_sets": { | |
| "hard_negative": 1 | |
| }, | |
| "samples": 1, | |
| "verification_statuses": { | |
| "behavior_verified": 1 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 3 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 5, | |
| "verification_statuses": { | |
| "ambiguous": 1, | |
| "behavior_verified": 1, | |
| "reviewed_static": 3 | |
| } | |
| } | |
| }, | |
| "CWE-295": { | |
| "benchmark": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 3 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 5, | |
| "verification_statuses": { | |
| "behavior_verified": 5 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 3 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 5, | |
| "verification_statuses": { | |
| "behavior_verified": 5 | |
| } | |
| } | |
| }, | |
| "CWE-338": { | |
| "benchmark": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 3 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 5, | |
| "verification_statuses": { | |
| "behavior_verified": 5 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 3 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 5, | |
| "verification_statuses": { | |
| "behavior_verified": 5 | |
| } | |
| } | |
| }, | |
| "CWE-378": { | |
| "benchmark": { | |
| "cwe_count": 0, | |
| "hard_negatives": 0, | |
| "labels": {}, | |
| "pairs": 0, | |
| "provenance_sets": {}, | |
| "samples": 0, | |
| "verification_statuses": {} | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 0, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 2 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 4, | |
| "verification_statuses": { | |
| "unverified": 4 | |
| } | |
| } | |
| }, | |
| "CWE-502": { | |
| "benchmark": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "secure": 1 | |
| }, | |
| "pairs": 0, | |
| "provenance_sets": { | |
| "hard_negative": 1 | |
| }, | |
| "samples": 1, | |
| "verification_statuses": { | |
| "behavior_verified": 1 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 3 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 5, | |
| "verification_statuses": { | |
| "behavior_verified": 1, | |
| "unverified": 4 | |
| } | |
| } | |
| }, | |
| "CWE-532": { | |
| "benchmark": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 3, | |
| "secure": 4 | |
| }, | |
| "pairs": 3, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4, | |
| "research_pair": 2 | |
| }, | |
| "samples": 7, | |
| "verification_statuses": { | |
| "behavior_verified": 7 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 3, | |
| "secure": 4 | |
| }, | |
| "pairs": 3, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4, | |
| "research_pair": 2 | |
| }, | |
| "samples": 7, | |
| "verification_statuses": { | |
| "behavior_verified": 7 | |
| } | |
| } | |
| }, | |
| "CWE-598": { | |
| "benchmark": { | |
| "cwe_count": 1, | |
| "hard_negatives": 0, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 2 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 4, | |
| "verification_statuses": { | |
| "behavior_verified": 4 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 0, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 2 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 4, | |
| "verification_statuses": { | |
| "behavior_verified": 4 | |
| } | |
| } | |
| }, | |
| "CWE-614": { | |
| "benchmark": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 3 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 5, | |
| "verification_statuses": { | |
| "behavior_verified": 5 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 3 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 5, | |
| "verification_statuses": { | |
| "behavior_verified": 5 | |
| } | |
| } | |
| }, | |
| "CWE-78": { | |
| "benchmark": { | |
| "cwe_count": 1, | |
| "hard_negatives": 2, | |
| "labels": { | |
| "secure": 2 | |
| }, | |
| "pairs": 0, | |
| "provenance_sets": { | |
| "hard_negative": 2 | |
| }, | |
| "samples": 2, | |
| "verification_statuses": { | |
| "behavior_verified": 2 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 2, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 4 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "hard_negative": 2, | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 6, | |
| "verification_statuses": { | |
| "behavior_verified": 2, | |
| "unverified": 4 | |
| } | |
| } | |
| }, | |
| "CWE-79": { | |
| "benchmark": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 3, | |
| "secure": 4 | |
| }, | |
| "pairs": 3, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4, | |
| "research_pair": 2 | |
| }, | |
| "samples": 7, | |
| "verification_statuses": { | |
| "behavior_verified": 7 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 3, | |
| "secure": 4 | |
| }, | |
| "pairs": 3, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4, | |
| "research_pair": 2 | |
| }, | |
| "samples": 7, | |
| "verification_statuses": { | |
| "behavior_verified": 7 | |
| } | |
| } | |
| }, | |
| "CWE-798": { | |
| "benchmark": { | |
| "cwe_count": 1, | |
| "hard_negatives": 0, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 2 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 4, | |
| "verification_statuses": { | |
| "behavior_verified": 4 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 0, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 2 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 4, | |
| "verification_statuses": { | |
| "behavior_verified": 4 | |
| } | |
| } | |
| }, | |
| "CWE-862": { | |
| "benchmark": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 3, | |
| "secure": 4 | |
| }, | |
| "pairs": 3, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4, | |
| "research_pair": 2 | |
| }, | |
| "samples": 7, | |
| "verification_statuses": { | |
| "behavior_verified": 7 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 3, | |
| "secure": 4 | |
| }, | |
| "pairs": 3, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4, | |
| "research_pair": 2 | |
| }, | |
| "samples": 7, | |
| "verification_statuses": { | |
| "behavior_verified": 7 | |
| } | |
| } | |
| }, | |
| "CWE-89": { | |
| "benchmark": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "secure": 1 | |
| }, | |
| "pairs": 0, | |
| "provenance_sets": { | |
| "hard_negative": 1 | |
| }, | |
| "samples": 1, | |
| "verification_statuses": { | |
| "behavior_verified": 1 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 1, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 3 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "hard_negative": 1, | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 5, | |
| "verification_statuses": { | |
| "behavior_verified": 1, | |
| "reviewed_static": 4 | |
| } | |
| } | |
| }, | |
| "CWE-916": { | |
| "benchmark": { | |
| "cwe_count": 0, | |
| "hard_negatives": 0, | |
| "labels": {}, | |
| "pairs": 0, | |
| "provenance_sets": {}, | |
| "samples": 0, | |
| "verification_statuses": {} | |
| }, | |
| "corpus": { | |
| "cwe_count": 1, | |
| "hard_negatives": 0, | |
| "labels": { | |
| "insecure": 2, | |
| "secure": 2 | |
| }, | |
| "pairs": 2, | |
| "provenance_sets": { | |
| "preserved_baseline": 4 | |
| }, | |
| "samples": 4, | |
| "verification_statuses": { | |
| "reviewed_static": 4 | |
| } | |
| } | |
| } | |
| }, | |
| "sha256": { | |
| "benchmark/test.jsonl": "5f6e22e0c15679ee79fa97ab795299c0b976aef82c7495beffc9cd545380ca6f", | |
| "benchmark/train.jsonl": "c094b8f2cf2941aeab131ff5b1c40f63f520b356c4ad856e5ddbfbfe0b4c73f8", | |
| "benchmark/validation.jsonl": "0ea31a9a4d767c1b9e84a40a2123380f3ea239bd4c1c4fbc1c890d940781354d", | |
| "corpus/test.jsonl": "112b16f06560a0a128e7aec12e9eff10784f79e57042475f28af01b7a35d3452", | |
| "corpus/train.jsonl": "7eada4cba52ac2cc8f3806c4e825de36fa4e1c63006e3459fa29281bdb7e2ba8", | |
| "corpus/validation.jsonl": "e6bca8757bab393db9507cde31d7c7d8165118cc842b066dc03aec86cb022d58", | |
| "evidence.json": "57a70f6b056796375ace9ddb55577dd3cee65e86f33ffa6ced840013f2fedde4", | |
| "leakage.json": "d4970eebd18758a261dce8d811ca168317600cc785625d84bd165d29dba9362d" | |
| }, | |
| "splits": { | |
| "test": { | |
| "benchmark": { | |
| "cwe_count": 3, | |
| "hard_negatives": 3, | |
| "labels": { | |
| "insecure": 4, | |
| "secure": 7 | |
| }, | |
| "pairs": 4, | |
| "provenance_sets": { | |
| "hard_negative": 3, | |
| "preserved_baseline": 8 | |
| }, | |
| "samples": 11, | |
| "verification_statuses": { | |
| "behavior_verified": 11 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 3, | |
| "hard_negatives": 3, | |
| "labels": { | |
| "insecure": 6, | |
| "secure": 9 | |
| }, | |
| "pairs": 6, | |
| "provenance_sets": { | |
| "hard_negative": 3, | |
| "preserved_baseline": 12 | |
| }, | |
| "samples": 15, | |
| "verification_statuses": { | |
| "behavior_verified": 11, | |
| "unverified": 4 | |
| } | |
| }, | |
| "families": [ | |
| "https-cookie-policy", | |
| "line-log-framing", | |
| "os-process-arguments" | |
| ], | |
| "groups": 3 | |
| }, | |
| "train": { | |
| "benchmark": { | |
| "cwe_count": 8, | |
| "hard_negatives": 7, | |
| "labels": { | |
| "insecure": 15, | |
| "secure": 22 | |
| }, | |
| "pairs": 15, | |
| "provenance_sets": { | |
| "hard_negative": 7, | |
| "preserved_baseline": 24, | |
| "research_pair": 6 | |
| }, | |
| "samples": 37, | |
| "verification_statuses": { | |
| "behavior_verified": 37 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 10, | |
| "hard_negatives": 7, | |
| "labels": { | |
| "insecure": 23, | |
| "secure": 30 | |
| }, | |
| "pairs": 23, | |
| "provenance_sets": { | |
| "hard_negative": 7, | |
| "preserved_baseline": 40, | |
| "research_pair": 6 | |
| }, | |
| "samples": 53, | |
| "verification_statuses": { | |
| "ambiguous": 1, | |
| "behavior_verified": 37, | |
| "reviewed_static": 7, | |
| "unverified": 8 | |
| } | |
| }, | |
| "families": [ | |
| "credential-provisioning", | |
| "deserialization-provenance", | |
| "html-output-encoding", | |
| "password-work-factors", | |
| "private-operational-logs", | |
| "prng-security-context", | |
| "resource-authorization", | |
| "restricted-path-selection", | |
| "temporary-file-modes", | |
| "tls-peer-authentication" | |
| ], | |
| "groups": 10 | |
| }, | |
| "validation": { | |
| "benchmark": { | |
| "cwe_count": 3, | |
| "hard_negatives": 2, | |
| "labels": { | |
| "insecure": 5, | |
| "secure": 7 | |
| }, | |
| "pairs": 5, | |
| "provenance_sets": { | |
| "hard_negative": 2, | |
| "preserved_baseline": 8, | |
| "research_pair": 2 | |
| }, | |
| "samples": 12, | |
| "verification_statuses": { | |
| "behavior_verified": 12 | |
| } | |
| }, | |
| "corpus": { | |
| "cwe_count": 3, | |
| "hard_negatives": 2, | |
| "labels": { | |
| "insecure": 7, | |
| "secure": 9 | |
| }, | |
| "pairs": 7, | |
| "provenance_sets": { | |
| "hard_negative": 2, | |
| "preserved_baseline": 12, | |
| "research_pair": 2 | |
| }, | |
| "samples": 16, | |
| "verification_statuses": { | |
| "behavior_verified": 12, | |
| "reviewed_static": 4 | |
| } | |
| }, | |
| "families": [ | |
| "public-error-details", | |
| "secret-request-location", | |
| "sql-statement-construction" | |
| ], | |
| "groups": 3 | |
| } | |
| } | |
| } | |