SITF Techniques Incidents Interactive library Flow builder GitHub

Techniques › Registry › T-R012

SITF technique T-R012: Package Lifecycle Script Abuse

Component: RegistryStage: Discovery and Lateral MovementID: T-R012

Attacker leverages package manager lifecycle hooks (postinstall, preinstall) or language-specific initialization mechanisms (.pth files) to execute malicious code during package installation.

SITF technique T-R012 (Package Lifecycle Script Abuse) is a Discovery and Lateral Movement technique in the SDLC Infrastructure Threat Framework (SITF). It targets the Registry component (Container and artifact registries (NPM, Docker, PyPI)).

Risks that enable this technique

Protective controls

Detective controls

Observed in

Explore

How to reference

Cite as SITF technique T-R012 (Package Lifecycle Script Abuse), SDLC Infrastructure Threat Framework (SITF), https://wiz-sec-public.github.io/SITF/techniques/T-R012.html.