Skip to content

Commit 25d505f

Browse files
committed
malicious-package-report: add sane defaults for credit roles
1 parent e0fd912 commit 25d505f

1 file changed

Lines changed: 54 additions & 3 deletions

File tree

objects/malicious-package-report/definition.json

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,37 @@
1414
"ui-priority": 8
1515
},
1616
"analysis": {
17-
"description": "Behavioral details explaining why the package is malicious (payload, trigger, campaign, impact).",
17+
"description": "Behavioral details explaining why the package is malicious (payload, trigger, campaign, impact), typically sourced from OSV summary/details and related contextual fields.",
1818
"disable_correlation": true,
1919
"misp-attribute": "text",
2020
"ui-priority": 7
2121
},
22+
"credit": {
23+
"description": "Credit entry from OSV credits[].name (person, team, or organization acknowledged for discovery, analysis, or remediation).",
24+
"disable_correlation": true,
25+
"misp-attribute": "text",
26+
"multiple": true,
27+
"ui-priority": 5
28+
},
29+
"credit-role": {
30+
"description": "Role annotation from OSV credits[].type (e.g. FINDER, ANALYST, COORDINATOR, REMEDIATION_DEVELOPER, REMEDIATION_REVIEWER, REMEDIATION_VERIFIER, TOOL, SPONSOR, OTHER).",
31+
"disable_correlation": true,
32+
"misp-attribute": "text",
33+
"multiple": true,
34+
"sane_default": [
35+
"ANALYST",
36+
"COORDINATOR",
37+
"FINDER",
38+
"OTHER",
39+
"REMEDIATION_DEVELOPER",
40+
"REMEDIATION_REVIEWER",
41+
"REMEDIATION_VERIFIER",
42+
"REPORTER",
43+
"SPONSOR",
44+
"TOOL"
45+
],
46+
"ui-priority": 5
47+
},
2248
"ecosystem": {
2349
"description": "Package ecosystem from OSV package.ecosystem (e.g. npm, PyPI, Maven, Go).",
2450
"disable_correlation": true,
@@ -61,13 +87,38 @@
6187
"misp-attribute": "text",
6288
"ui-priority": 10
6389
},
90+
"package-purl": {
91+
"description": "Package URL from OSV package.purl (preferred package identifier for correlation across advisories and ecosystems).",
92+
"misp-attribute": "text",
93+
"ui-priority": 10
94+
},
6495
"reference": {
6596
"description": "Reference URL to advisories, source reports, or related analysis.",
6697
"disable_correlation": true,
6798
"misp-attribute": "link",
6899
"multiple": true,
69100
"ui-priority": 6
70101
},
102+
"reference-type": {
103+
"description": "Reference kind from OSV references[].type (e.g. ADVISORY, ARTICLE, REPORT, DETECTION, FIX, INTRODUCED, EVIDENCE, WEB).",
104+
"disable_correlation": true,
105+
"misp-attribute": "text",
106+
"multiple": true,
107+
"sane_default": [
108+
"ADVISORY",
109+
"ARTICLE",
110+
"DETECTION",
111+
"DISCUSSION",
112+
"EVIDENCE",
113+
"FIX",
114+
"GIT",
115+
"INTRODUCED",
116+
"PACKAGE",
117+
"REPORT",
118+
"WEB"
119+
],
120+
"ui-priority": 6
121+
},
71122
"report-id": {
72123
"description": "OSV report identifier (e.g. MAL-2025-XXXX).",
73124
"misp-attribute": "text",
@@ -99,5 +150,5 @@
99150
"report-id"
100151
],
101152
"uuid": "2f8a8711-6ef8-4a9d-89de-f547670573cb",
102-
"version": 1
103-
}
153+
"version": 4
154+
}

0 commit comments

Comments
 (0)