Pcornel
Automation · Automation Security

Dependency Security

Cheat sheet · https://pcornel.dk/topic.php?topic=5909

Back to the Topic

Answer

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.

Remember

  • Pinned version tag ≠ immutable content.
  • No known CVE ≠ dependency trustworthy.
  • Official registry ≠ package uncompromised.
  • Lockfile present ≠ runtime used lockfile exactly.

First checks

  • pip-audit / npm audit / ansible-galaxy collection list — dependency checks
  • Pinned versions with hashes — integrity
  • Private mirror/allowlist — supply chain

Verify in this order

dependencies → pinned + scanned → used

Where it usually breaks

Dependency-security evidence proves selected provenance/version/risk checks at a point in time; it cannot prove dependency code is non-malicious or vulnerability-free.

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5909

Confirmation

Confirm action

Continue?