The Drift Log · Provenance, licensing and the paper trail
Tracing Load-Bearing Code When Dependencies Mask Logic
5 September 2026 · 3 min read · 710 words · established

SBOM inventories show what sits in your build, but fail to reveal when critical tenant boundaries sit inside unmaintained transitive dependencies.
A single handler in your API validates a bearer token, parses a tenant header, and commits a record to the database. The file is eighty lines long. It looks disciplined in code review.
Two layers deeper, inside a transitive dependency pulled into your build three minor versions ago, a twelve-line helper function evaluates whether an empty string matches a wildcard scope.
That helper is the actual boundary between your tenants. You did not write it. You do not test it directly. If the upstream maintainer alters that fallback behaviour tomorrow, your system fails open.
The modern software supply chain rarely breaks because an entire library is malicious. It breaks because teams delegate core architectural invariants to third-party packages without knowing where the execution path leaves their own code.
The SBOM Fallacy
Software bills of materials have become the standard answer to supply chain security. An SBOM gives you an inventory: package names, version strings, declared licenses, and cryptographic hashes.
That inventory tells you what sits in your artifact archive. It does not tell you what executes when a user hits an endpoint.
[API Endpoint]
│
├──> framework.authenticate()
│ │
│ └──> jwt-wrapper (direct dependency)
│ │
│ └──> string-utils (transitive) ──> [Invariant: empty != wildcard]
│
└──> db.insert()
An SBOM treats all packages as flat items in a manifest. In reality, ten packages in your lockfile are passive utilities invoked once during startup, while an unmaintained transitive utility sits squarely on the hot path of your authorization flow.
Software provenance is meaningless if it stops at metadata. Knowing the legal author and commit hash of a package is useful, but true provenance requires understanding whether that package is executing load-bearing logic. When you treat the dependency tree as a black box, you lose the execution trace of your own business rules.
Reachability Separates Fluff From Risk
Static call graphs show what could be reached. Dynamic execution paths show what must be correct for your application to remain safe.
When you audit a repository, the danger is not simply having hundreds of dependencies. The danger is that critical invariants—credential sanitization, cryptographic validation, multi-tenant isolation—have migrated silently into transitive code.
Consider what happens during an incident. A vulnerability scanner flags a critical CVE in a low-level parsing library. Your security team opens three tickets. Your senior developers spend four hours reading dependency trees to answer a single question: Does our execution path hit the vulnerable function with untrusted input?
If you cannot answer that in minutes, your architecture is obscured by its dependencies. As we argued regarding provenance debt, vendoring code without a paper trail is unsecured debt. Relying on deep transitive dependencies for core logic without tracing the execution path is the exact same failure mode, just deferred to your package manager.
When you mask core logic inside external packages, you forfeit control over your failure states.
How SHPBL Isolates the Invariant
SHPBL eliminates hidden execution debt by providing self-contained, model-independent software components that keep critical invariants explicit and owned.
No AI model runs inside our software, and runtime behaviour is strictly deterministic. We do not hide core logic behind sprawling dependency trees. Every artifact is validated by our certification harness, which executes the code against strict contracts and records a formal verdict: CERTIFIED, PROVISIONAL, INCONCLUSIVE, or FAILED.
You can inspect your own dependency exposure by running a free repository evaluation. Our release archives are sealed by published archive checksums for byte-for-byte reproducibility, ensuring that what you audit is precisely what runs in production.
Monday Morning Audit
You do not need to rewrite your entire dependency tree next week. Start with your most critical invariant.
- Pick one write boundary. Select the endpoint that handles authentication, tenant switching, or financial transactions.
- Trace the call stack manually. Follow the execution flow downward past your application boundary. Step into your
node_modules,vendor/, or virtual environment. - Locate the invariant check. Find the exact lines of code that assert your security or state assumption.
- Decide ownership. If that assertion lives in an unmaintained transitive dependency, you have two choices: write an integration test that explicitly asserts the failure mode, or pull that logic into your own codebase as explicitly managed, owned code.
If an invariant is critical to your business, it belongs where you can see it, test it, and trace its provenance directly.
This post supports the longer argument in Vendoring Code Without a Paper Trail Is Unsecured Debt.
Keep reading
Next in the log
- Vendoring Code Without a Paper Trail Is Unsecured Debt
Inlining unverified code severs upstream security alerts and license tracking. Provenance must be captured at intake, not guessed by SBOMs.
- Link SBOM entries to exact source commits
Store Git blob hashes in your SBOM to link every file entry to its exact source bytes, enabling instant provenance verification.
- Why an SBOM Without Origin Hashes Is Meaningless
An SBOM based solely on package names and declared licenses records your intent, not the actual bytes running in production.
The Strategic Master Library · written and reviewed under the house's own epistemic rules: nothing claimed that we cannot show.