Skip to content

Enhance malicious-package-report object with OSV credits, purl, and reference-type; bump version#519

Merged
adulau merged 1 commit into
mainfrom
codex/update-malicious-package-report-template
May 11, 2026
Merged

Enhance malicious-package-report object with OSV credits, purl, and reference-type; bump version#519
adulau merged 1 commit into
mainfrom
codex/update-malicious-package-report-template

Conversation

@adulau
Copy link
Copy Markdown
Member

@adulau adulau commented May 11, 2026

Motivation

  • Enrich the malicious-package-report object to better capture OSV-origin metadata such as credits, reference kinds, and package URLs for improved attribution and correlation.
  • Clarify the analysis field to indicate common sourcing from OSV summaries and related contextual fields.
  • Bump the object version to reflect the backwards-incompatible schema additions.

Description

  • Extended the analysis description to note that it is typically sourced from OSV summary/details and contextual fields.
  • Added credit and credit-role attributes to capture OSV credits[] entries and roles, with credit-role providing a sane_default list of common role values.
  • Added package-purl attribute to store the OSV package.purl for better cross-advisory correlation.
  • Added reference-type attribute to capture OSV references[].type values with a sane_default list, and bumped version from 1 to 4.

Testing

  • Ran JSON/schema validation for object definitions and repository linters against the modified definition.json, and the checks completed successfully.
  • No changes were made to existing unit tests, and no test failures were observed when validating the updated schema.

Codex Task

@adulau adulau merged commit 7655f0b into main May 11, 2026
2 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant