Anti-AIClone

Log date · Thu

What dependencies can Syft find in a release?

Artifact scans reveal dependency evidence, but coverage depends on input and catalogers. Compare them with source inventories.

What can Syft find in a shipped artifact?

Scanning a shipped artifact can reveal dependency evidence, but SBOM completeness depends on the input and catalogers. In our Go comparison, the source manifest declared two modules while the executable recorded only one. Compare source and artifact inventories; neither alone proves the other complete.

On July 16, 2026 at 14:47 UTC, Syft 1.48.0 added a macOS .app cataloger and fixed detection of deps.json packages in Linux ELF .NET single-file bundles. [1] Our Go comparison illustrates why inventories differ; it is not a test of that release.

Results at a glance
Question or caseFinding or recommendation
What did the manifest declare?Two locally replaced modules.
What did the executable record?One dependency module: used v1.2.3.
Was Syft run?No; the Go toolchain illustrates the underlying issue.
Does an empty result mean safe?No; inspect input, catalogers and build scope first.

What changed in the release

The release notes also list Go binary symbol capture, vcpkg support, Kerberos 5 library cataloging, a safetensors model type, and scan duration and date. Fixes include Swift PURL matching, case-insensitive PE extensions and npm keys in deno.lock; the release page lists 17 contributors. [1] These are release-note claims, not measurements of each feature.

Catalogers recognize software from different evidence. Anchore documents that image defaults focus on installed packages, while directory defaults also include declared dependencies. [2] A later scan may report more components because detection changed, or because the input or configuration changed. Preserve those conditions so a diff can be explained.

An application bundle or single-file format is a distribution choice, not a security boundary for hiding dependencies. Include shipped models and configuration in the asset review too. An SBOM is an inventory, not an automatic judgement of which files are sensitive or whether an application is secure.

Comparison: declared versus linked

We wrote a Go main module and two local modules; their versions are demonstration labels. The program imports used, while unused is required in go.mod but never imported. After an offline build with Go 1.26.2, we read the executable’s embedded module records. This controlled sample does not measure Syft coverage of .app or .NET bundles.

The two declared requirements, as printed from go.mod.
example.test/used v1.2.3
example.test/unused v2.0.0+incompatible

The program printed demo component. The executable has one dep row, for used; the following arrow identifies its local replacement. Go defines a dep row as a module providing linked packages and explains that a local replacement supplies a directory path without a checksum. [3] Thus v1.2.3 here is not evidence of a downloaded, verified third-party release.

Contiguous records selected from go version -m.
	path	example.test/app
	mod	example.test/app	(devel)	
	dep	example.test/used	v1.2.3
	=>	./used	(devel)	

The distinction is useful: declared inventories help review build intent, while artifact records help identify what was linked. The absence of unused is an observation for this build. Other targets, build tags, test dependencies or additional packaged files can change the scope that needs review.

Recommendations for scan differences

These are workflow recommendations, not security effects measured by our experiment. Match component identifiers and versions, then inspect locations, dependency relationships and scan targets. A count alone is not a quality measure.

Recommendations by case
Question or caseFinding or recommendation
Source onlyCheck target, build conditions and whether it was packaged; retain unresolved items.
Artifact onlyTrace build images, copy steps and system or bundled dependencies.
Added after upgradeHold input and configuration fixed; inspect release notes and evidence locations.
Model or internal configuration shippedInventory packaged files, assess exposure and adjust distribution design.

For a vulnerability response, associate component versions with the exact release artifact, platform and build identity, then check whether affected code is present and whether advisory conditions apply. Scan results start an investigation: duplicates, missing versions and false identifications need review. Archive the SBOM with the scanner version so the response has a reproducible basis.

Check your own release build

For a project you are authorized to inspect, scan the source directory and the unpacked final release directory separately. The commands below use Syft’s documented directory scan and JSON output form; substitute your own paths and record the Syft version and configuration first. [4] Formats and fields can differ by version, so retain the original outputs when comparing.

Example commands: replace the paths with your source and release directories.
syft version
syft dir:./source -o syft-json > source.sbom.json
syft dir:./release -o syft-json > release.sbom.json

For a Go executable, go version -m can provide embedded module information when available; compare it with SBOM components and locations. [3] Do not assume that command covers neighboring dynamic libraries, resources or components in other languages. It is another piece of evidence. For .app and .NET single-file bundles, choose an appropriate scan target and spot-check known dependencies.

Replace the path with your own Go executable.
go version -m path/to/your-executable

Establish the process for each release platform and retain the artifact hash, tool version, configuration and SBOM together. After a cataloger upgrade, rescan the same archived artifact and review the diff. Investigate mismatches against build records and actual files before fixing or recording the reason.

Your checklist

  • Scan source and final release directories separately.
  • Record artifact hashes, scanner version and configuration.
  • Check differing component versions and evidence locations.
  • Inspect shipped models, configuration and dynamic libraries.
  • Rescan the same artifact after upgrades and archive results.

Primary sources

All sources and reproduction status ↗