Overview
composer.lock has a matching Composer content-hash, no duplicate or malformed package identities, and contains or provides/replaces each declared root package dependency. This does not prove the full dependency solver result or installed vendor file integrity.
Why it Matters
A stale or malformed lockfile weakens reproducibility and can hide unintended dependency changes. Coherent hashes and package identities help reviewers understand what the release declares.
Manifest consistency does not authenticate package bytes or prove full solver correctness.
Verification Steps
Manual Verification
- Validate manifest/lock consistency, duplicate identities and each root requirement's installed/provided/replaced identity.
- Review platform solving and installed bytes separately.
Command / Review Sample
composer validate --strict --no-check-publish
Use the assessed Magento project and the appropriate application or read-only review account. Replace example hosts, paths and identifiers with the assessment scope; configuration and source fragments are illustrative.
Remediation / Fix Guidance
- Investigate and change: Compare composer.json with composer.lock and identify mismatched content hashes, duplicate identities or missing dependency resolution. Regenerate the lockfile through Composer in a reviewed build environment, never by editing hashes manually.
- Validate the change: Run composer validate and a reproducible composer install from the committed lockfile; test the resulting Magento release.
- Recheck MB-0070: Resolve the relevant Composer update in a reviewed build, inspect the lockfile diff and test Magento/module compatibility in staging before deployment. Rerun against the deployed lockfile and the same advisory/source policy.
Examples
Illustrative examples only. Interpret them within the current revision criterion above; missing collection evidence is unresolved, never PASS.
Fail Example
The manifest changed but the lock hash is stale or required identities are inconsistent.
Pass Example
Hash and identities are consistent, with root dependency identities satisfied or explicitly provided/replaced.
Scope and Evidence Limits
Rule revision: 3. Target modes: LOCAL.
composer.lock has a matching Composer content-hash, no duplicate or malformed package identities, and contains or provides/replaces each declared root package dependency. This does not prove the full dependency solver result or installed vendor file integrity.
This check covers only the collected observation. Missing collection scope, external controls and runtime behavior require separate evidence.
Catalog coverage describes implementation capability, not a scan outcome. An incomplete manual review cannot establish that the criterion is satisfied.