SITF technique T-R004: Publishing Malicious Package
Component: RegistryStage: Discovery and Lateral MovementID: T-R004
Attacker publishes malicious package to registry.
SITF technique T-R004 (Publishing Malicious Package) 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
- Overprivileged NPM token
- Lack of provenance
- Lack of trusted publishing
- No package signing
- Trusted publisher not bound to a protected environment
- Provenance not verified before publishing
Protective controls
- Trusted publishing
OWASP SPVS: V3.2 Credential Hygiene - Provenance attestation
OWASP SPVS: V3.4 Integrity of Artifacts - MFA for registry account
OWASP SPVS: V1.1 Identity and Access Management - Package signing and verification
OWASP SPVS: V2.6 3rd Party Library Audit; V3.4 Integrity of Artifacts - OIDC for publishing
OWASP SPVS: V1.1 Identity and Access Management; V3.2 Credential Hygiene - Pre-publish provenance verification
OWASP SPVS: V3.4 Integrity of Artifacts
Detective controls
None mapped yet.
Framework mappings
- MITRE ATT&CK: T1195.001
Observed in
- AsyncAPI Generator (2026) (incident)
- Clinejection (incident)
- CodeBreach (incident)
- LiteLLM (October 2026) (incident)
- Miasma (Red Hat) (incident)
- s1ngularity (incident)
- Shai-Hulud 2.0 (incident)
- TeamPCP Campaign (incident)
- Trivy Act II (incident)
- Trust Wallet (incident)
- Ultralytics (incident)
Explore
- Open T-R004 in the interactive technique library
- Map an attack using T-R004 in the SITF flow builder
- Previous Registry technique: T-R003 Registry Vulnerability Exploitation
- Next Registry technique: T-R005 Publishing Malicious Container/VM Image
How to reference
Cite as SITF technique T-R004 (Publishing Malicious Package), SDLC Infrastructure Threat Framework (SITF), https://wiz-sec-public.github.io/SITF/techniques/T-R004.html.