CycloneDX / CycloneDX/cyclonedx-dotnet-library

Clone BOM in memory

Open
#348 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
28
Forks
35
PR merge metrics
No merged PRs in 30d

Description

Currently BOM's are being cloned by serialising the BOM to protobuf and then de-serializing the string to a new BOM. This serialization was done as a shortcut and should be replaced with an in-memory deep copy.

Contributor guide

Open the contributing guide

Research direction

Find the BOM cloning path and inspect where it currently serializes to protobuf and deserializes into a new BOM. Replace that shortcut with an in-memory deep copy, then verify that cloned BOMs preserve the existing behavior without sharing mutable state with the source.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
security
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.