security

Check version pinning for a separately built plugin

Trace a plugin's resolved dependencies through its own build and distribution. Verify which plugin version the host application actually loaded.

TrustIvan · · 5 min read

The host application resolves plugin version 3.4 in integration tests. In production, the plugin ships as a separately built artifact pulled from an approved channel. This fictional release needs evidence of the actual host and plugin pair, including what happens if the channel advances between verification and deployment.

Review the two output identities

RecordFixture valueVerification
Host outputHost digest HCompare release and runtime record
Plugin outputPlugin digest P34Check exact packaged or delivered plugin
Provider channelStable plugin releasesResolve and retain immutable reference
Startup evidenceHost H loads P34Approved runtime observation

Identify whether the plugin is bundled at assembly time, copied into a package, or separately resolved in production according to the supported architecture. Trace its immutable reference along that route. A version in a host lockfile can be evidence for development testing without establishing what a runtime attached to a separately managed channel obtains.

Identify the bill of materials and its subject

Name the output the document describes and the stage where it was collected. A repository inventory, a builder inventory and a final output can each contain a valid observation about the same package. Establish where the question belongs before using names or totals to compare documents. Write down how the package was identified, including the ecosystem and resolved version where available. Preserve relationships and collector limitations. A line in a lockfile proves resolution in that file, and an artifact inspection establishes something different about shipped contents.

Start from the host's configured plugin release. Capture the plugin repository, release tag or immutable digest, platform variant and source manifest used by that release. Compare a finding with the plugin's resolved inventory to determine whether updating the host alone would change the dependency. If the plugin is fetched at runtime, ask the operator what pins the selection and how updates are approved.

Run an approved staging check that confirms the loaded plugin identity after the intended upgrade. Retain relevant logs or inventory fields without exposing credentials. When judging a scanning tool, test whether it can report independent plugin packages and their paths. The Semgrep comparison documents dependency analysis criteria and links to its sources.

Stage two approved test outputs behind the fixture channel. First verify host H with P34. Advance the channel to P35 before deploying the candidate through the usual workflow. Inspect the pair reported after deployment. If the deployment used a reviewed pinned reference, it should load P34. Otherwise the release needs an explicit review of what it actually loaded.

Check resolution at assembly and startup

Record host H's plugin reference when the approved pair is tested and compare with the reference resolved during the deployment. In the fixture the channel name did not change, but P35 became current after verification. A report that records only the channel can show the same value on both runs. The release evidence should distinguish the earlier verified P34 from the actually loaded output. Add the applicable plugin inventory for P34 or P35 and note the host configuration that selected it so a future reviewer can recover both sides of the release.

Compare host compatibility and dependency evidence for the tested pair, including any runtime fallback that selects an older plugin. An archived plugin can still be relevant to a supported recovery image. Record which team can publish the plugin, who selects the deployed reference and who confirms runtime evidence.

Ask the plugin build owner to repeat the check using the ordinary workflow. Provide the known evidence in the approved host and plugin release manifest and request the exact record the reviewer would attach to their decision. A timestamp and stable identifier should carry over to the reviewed result. Capture agreement directly and log any change to that result as a new observation. Do the comparison before broadening the check to another service or project where collection and responsibilities may differ.

Keep paired versions with the release

Keep enough evidence for a release reviewer to recover the exact document they used and the packaging claim it supports. Cite the output identity, collector scope, relevant components and relationship, and owner of the result. Give unresolved component identity a named follow-up linked to the affected output. A reviewer needs to see where the report ends and the build team's inspection begins. If a release proceeds with an open coverage question, retain the approved disposition and the next observation due before someone relies on the same assumption again.

Store separate immutable references and the effective configuration that selected them. A later reviewer should be able to reconstruct the supported pair even when the channel points elsewhere. If the runtime produces only a display version, add an approved observation that confirms the corresponding artifact.

Verify that the open-work view includes one fixture row awaiting evidence. A reviewer's output should name the system where that evidence will appear and the owner responsible for gathering it. The next decision should still be visible after a new inventory run.

In an escalation, send the active owner the decision being requested and the source they can consult. Give them one record to confirm and a date for responding. This keeps follow-up anchored to a reviewable observation instead of a broad request to take another look.