Use it when securing automation execution around Dependency Security. Keep source/revision trust, triggering principal, workload identity, policy/approval, runner/control-plane state, target authorization and verified outcome as separate security proof boundaries.
Dependency Security
Dependency Security controls the code, modules, collections, packages, container images and actions imported into automation so mutable or compromised third-party content cannot silently gain the automation system's privileges.
1. Dependency security: pin, verify hashes, scan, mirror.
2. Review new dependencies.
3. Dependabot/Renovate updates.
4. SBOMs.
5. Avoid dependency confusion.
dependencies → pinned + scanned → used
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational evidence path Verify boundary
dependency declaration → trusted source/registry → exact version/digest resolution → provenance/signature/checksum → vulnerability/risk review → isolated execution permissions → runtime digest evidence → monitored update → rollback
Healthy evidence: critical dependencies are immutable or digest-pinned, provenance is checked, runtime versions are observable and third-party components receive only necessary privileges/secrets.
Step 2 Failure modes and next checks Narrow the fault
Suspicious evidence: floating latest/main references execute with admin secrets, provenance is unknown, transitive changes are invisible or update failures cannot roll back.
Step 3 Common mistakes Narrow the fault
- Unpinned dependencies pulled at runtime.
- No vulnerability scanning of dependencies.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Pinned version tag ≠ immutable content.
- No known CVE ≠ dependency trustworthy.
- Official registry ≠ package uncompromised.
- Lockfile present ≠ runtime used lockfile exactly.
pip-audit / npm audit / ansible-galaxy collection list— dependency checks- Pinned versions with hashes — integrity
- Private mirror/allowlist — supply chain
ReferenceWhat it is1 section · depth on demand
Core model
Inventory direct and transitive dependencies, pin immutable versions/digests where feasible, verify trusted registries and provenance/signatures/checksums, scan known vulnerabilities and malicious changes, minimize dependency privilege, update through review and preserve evidence of exactly what executed.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Dependency-security evidence shows selected provenance/version/risk checks at a point in time; it cannot show dependency code is non-malicious or vulnerability-free.
In depth
Dependency security covers the third-party code automation pulls in — Python packages, Ansible collections, Terraform providers, container base images, CI actions. A vulnerable or malicious dependency runs with the automation's credentials and access.
Controls:
| Control | Tool examples |
|---|---|
| Pin versions and hashes | Lock files, --require-hashes, action SHA pinning |
| Scan for vulnerabilities | Dependabot, Renovate, pip-audit, Trivy, Grype |
| Use trusted sources | Internal mirrors/proxies, verified publishers |
| Minimise | Fewer dependencies, slim base images |
| Review updates | PRs for upgrades, changelog review |
In GitHub Actions, pin third-party actions to a full commit SHA rather than a tag, since tags can be moved to malicious code.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Automation Security > Dependency Security. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Dependency Security security proof-boundary map
Fast identity, handling/execution, effective-outcome and closure proof boundaries for Dependency Security.
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Trust / identity | Source revision, trigger, workload identity and policy/approval are explicit and immutable | Mutable code or shared admin identity reaches privileged execution without attributable trust decisions |
| Execution / isolation | Runner/controller, dependencies, credentials and target permissions are bounded to the workflow | Persistent privileged runners, broad secrets or floating dependencies widen the execution trust boundary |
| Effective outcome | Target-side authentication/authorization or secure control outcome is independently observed | Tool/job success substitutes for target authorization, effective state or workload proof |
| Closure / next action | Rotation/revocation, denied-path tests, audit evidence and residual exceptions are explicit | Old credentials remain valid, policy bypass exists, audit gaps are unknown or broad success is inferred from one signal |