Skip to content

Add author information to package.json for automatic retrieval for SBOM #6063

Open

Description

@SmartHMI-OSS

This would solve...

This would solve issues with extracting author information automatically for legal purposes., Currently this is the only package we use that does not have the author information set. Instead, only contributors are set. This means that npx @cyclonedx/cyclonedx-npm --omit dev --gather-license-texts will not be able to extract author information and leading to manual setting for each new version on our side.

The implementation should look like...

{
  "name": "undici",
  "version": "8.12.3",
  "description": "An HTTP/1.1 client, written from scratch for Node.js",
  "author": {
    "name": "Jane Doe",
    "email": "jane.doe@example.com",
    "url": "https://github.com/janedoe"
  },
  "homepage": "https://undici.nodejs.org",
  "bugs": {
    "url": "https://github.com/nodejs/undici/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/nodejs/undici.git"
  },
  "license": "MIT"
}

I have also considered...

...requesting this from CycloneDX but I think an author would be more generalized as almost everyone is using it.

Additional context

n/a

Activity

  1. added
    enhancement
    on Oct 20, 2026
  2. metcoder95 commented on Nov 12, 2026

    @metcoder95
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions