Review a lockfile or a bill of materials as one list, with each package judged on its own.
A lockfile and an inventory are lists. Reviewing them one name at a time feels thorough and does not survive a real change, because the next pull request has forty bumps. Assess the list. Each package is judged on its own, so one unknown name does not hide the others, and one malicious name does not paint the whole file as hostile.
What to ask for
- A security summary when you need the current picture of each name: verdict, and enough context to sort the list.
- A threat assessment when you also need a safer version for anything suspicious or malicious. This is the right request for a dependency update.
- An inventory when the output has to be CycloneDX, SPDX, or JSON for someone who is not reading the verdict.
The fields for each item are the same ones you would use for a single lookup: registry, name, and an optional version. Pin versions from the lockfile. If you omit versions, you are assessing latest-stored releases, which may not be what the build resolved. Say which of those you did in the review, so nobody thinks the list was the lockfile when it was the floating names.
How to read the list
Sort by verdict, not by package fame. Malicious versions are the stop list. Suspicious versions are the reading list. Safe versions are the record that you looked. Unknown names and versions still being analyzed are a third list: they are not safe, and they are not findings yet. Do not drop them to make the report cleaner.
Keep a list to a size your review can actually read. A long list is still one review. It is not a reason to skip the packages that failed to resolve, and it is not a reason to accept the malicious rows because they are few. For each malicious row, record the safer version or the decision to remove the dependency. For each suspicious row, record who is going to read the evidence, and whether policy currently allows the install while they do.
What the list does not do
A bulk assessment does not rewrite the lockfile, open a pull request, or notify the owner of the service. It gives you the verdicts. The change to the build is still your change. If you need the organization gate rather than the package verdict, apply allow or block to the versions you are actually about to install.
