MITRE ATT&CK / Techniques / T1213.003

Data from Information Repositories: Code Repositories

ID
T1213.003
Tactics
TA0009 Collection
Sub-technique of
T1213 Data from Information Repositories
Platforms
SaaS
Data sources
Cloud Service Metadata, Logon Session Creation, Application Log Content
Source
attack.mitre.org
MITRE last modified
12 May 2026

Adversaries may leverage code repositories to collect valuable information. Code repositories are tools/services that store source code and automate software builds. They may be hosted internally or privately on third party sites such as Github, GitLab, SourceForge, and BitBucket. Users typically interact with code repositories through a web application or command-line utilities such as git.

Once adversaries gain access to a victim network or a private code repository, they may collect sensitive information such as proprietary source code or Unsecured Credentials contained within software's source code. Having access to software's source code may allow adversaries to develop Exploits, while credentials may provide access to additional resources using Valid Accounts.[1][2]

**Note:** This is distinct from Code Repositories, which focuses on conducting Reconnaissance via public code repositories.

Detection

Mitigations (4)

M1017 User Training

Develop and publish policies that define acceptable information to be stored in code repositories.

M1018 User Account Management

Enforce the principle of least-privilege. Consider implementing access control mechanisms that include both authentication and authorization for code repositories.

M1032 Multi-factor Authentication

Use multi-factor authentication for logons to code repositories.

M1047 Audit

Consider periodic reviews of accounts and privileges for critical and sensitive code repositories. Scan code repositories for exposed credentials or other sensitive information.

Groups (4)

Software (5)

References

  1. Wired Uber Breach
  2. Krebs Adobe