SITF technique T-R013: Version String Impersonation
Component: RegistryStage: Discovery and Lateral MovementID: T-R013
Attacker republishes packages using identical version strings as legitimate releases, replacing trusted versions with malicious code to bypass version pinning defenses.
SITF technique T-R013 (Version String Impersonation) 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
- Registry permits version republishing
- No immutable version policy
- Lockfile integrity checks not enforced
- No alerting on content changes for existing versions
- Version strings trusted without content verification
Protective controls
- Immutable version policy
OWASP SPVS: V3.4 Integrity of Artifacts - Lockfile integrity enforcement
OWASP SPVS: V2.6 3rd Party Library Audit; V3.3 Continuous Security Checks - Registry mirror with snapshots
OWASP SPVS: V2.6 3rd Party Library Audit - Provenance attestation requirement
OWASP SPVS: V3.4 Integrity of Artifacts
Detective controls
- Package content hash monitoring
OWASP SPVS: V5.4 Detection & Monitoring - Unpublish event monitoring
OWASP SPVS: V5.4 Detection & Monitoring - Install integrity failure alerting
OWASP SPVS: V3.3 Continuous Security Checks; V5.4 Detection & Monitoring
Explore
- Open T-R013 in the interactive technique library
- Map an attack using T-R013 in the SITF flow builder
- Previous Registry technique: T-R012 Package Lifecycle Script Abuse
How to reference
Cite as SITF technique T-R013 (Version String Impersonation), SDLC Infrastructure Threat Framework (SITF), https://wiz-sec-public.github.io/SITF/techniques/T-R013.html.