Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Dec 17, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Max Black and others added 3 commits December 16, 2025 11:21
Adds proxy-related environment variables to npm config list output
to help users understand their proxy configuration. Variables are
checked case-insensitively to match the agent library behavior.

Closes #4170
As mentioned in the issue #8837, BOM files in cyclonedx format created
by npm-sbom contain an invalid statically UUID value in the serialNumber
field: `"serialNumber": "urn:uuid:***"`, because it was being redacted
each time.

This change uses `output.standard()` with `{ [META]: true, redact: false
}` to bypass redaction for SBOM output, following the same pattern used
in `lib/commands/token.js` for outputting authentication tokens that
should not be redacted.
 
**Before:**
```json
"serialNumber": "urn:uuid:***"
```

**After:**
```json
"serialNumber": "urn:uuid:12345678-1234-1234-1234-123456789abc"
```
<img width="1265" height="518" alt="image"
src="https://github.com/user-attachments/assets/fc21aa65-2bef-4336-a55c-e7417ae9eebd"
/>


## Testing 

- All existing tests pass
- Verified locally that `serialNumber` now displays the complete UUID

## References
Fixes #8837
@pull pull bot locked and limited conversation to collaborators Dec 17, 2025
@pull pull bot added the ⤵️ pull label Dec 17, 2025
@pull pull bot merged commit c2f784d into LadyK-21:latest Dec 17, 2025
9 of 12 checks passed
@LadyK-21
Copy link
Owner

⚠️ Snyk checks are incomplete.

Status Scanner Critical High Medium Low Total (0)
⚠️ Open Source Security 0 0 0 0 See details

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants