SITF technique T-V010: Malicious Code Modification in Repository
Component: VCSStage: Post-CompromiseID: T-V010
Attacker with repository access directly modifies source code to inject backdoors, malicious logic, or vulnerabilities into the codebase.
SITF technique T-V010 (Malicious Code Modification in Repository) is a Post-Compromise technique in the SDLC Infrastructure Threat Framework (SITF). It targets the VCS component (Version Control Systems (GitHub, GitLab, Azure DevOps)).
Risks that enable this technique
- Overprivileged VCS access
- No code review requirements
- Direct push to protected branches allowed
- Lack of commit signing
- No automated code security scanning
- Insufficient branch protection rules
- No detection of suspicious code patterns
- Admins can bypass branch protection
Protective controls
- Branch protection rules (VCS)
OWASP SPVS: V1.5 Source Code Management Hardening - Require code owner approval
OWASP SPVS: V1.5 Source Code Management Hardening; V2.3 Code Review and Analysis - Mandatory code review by multiple reviewers
OWASP SPVS: V1.5 Source Code Management Hardening; V2.3 Code Review and Analysis - Commit signing enforcement
OWASP SPVS: V1.5 Source Code Management Hardening; V3.4 Integrity of Artifacts - Minimal VCS permissions (principle of least privilege)
OWASP SPVS: V1.5 Source Code Management Hardening; V5.1 Access Audit - Pre-commit hooks for security checks
OWASP SPVS: V1.5 Source Code Management Hardening; V2.4 Perform Security Checks - Branch rulesets with no bypass actors
OWASP SPVS: V1.5 Source Code Management Hardening
Detective controls
- Automated code security scanning (SAST)
OWASP SPVS: V5.4 Detection & Monitoring - Detection infra on audit logs (VCS)
OWASP SPVS: V5.4 Detection & Monitoring - Code change anomaly detection
OWASP SPVS: V5.4 Detection & Monitoring - Branch protection override alerting
OWASP SPVS: V5.4 Detection & Monitoring
Framework mappings
- MITRE ATT&CK: T1195.002
Observed in
- AsyncAPI Generator (2026) (incident)
- CodeBreach (incident)
- LiteLLM (October 2026) (incident)
- Miasma (Red Hat) (incident)
- TeamPCP Campaign (incident)
- tj-actions/changed-files (incident)
- Trivy Act II (incident)
Explore
- Open T-V010 in the interactive technique library
- Map an attack using T-V010 in the SITF flow builder
- Previous VCS technique: T-V009 Mass Deletion of Repositories
- Next VCS technique: T-V011 Git Tag/Reference Manipulation
How to reference
Cite as SITF technique T-V010 (Malicious Code Modification in Repository), SDLC Infrastructure Threat Framework (SITF), https://wiz-sec-public.github.io/SITF/techniques/T-V010.html.