Credential Access
- Category
- Privilege Escalation
- Confidence
- 70% confidence
- Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Content
md - **Git 安装检查:** 运行 `git --version`。如果未安装,需引导用户前往 Git 官网或包管理器进行安装。 - **身份认证配置:** 这是克隆私有仓库或进行推送的前提。 - **SSH 方式(推荐):** 指导生成 SSH 密钥 (`ssh-keygen`) 并添加到 GitHub 账户。使用 `git@github.com:username/repo.git` 格式。 - **HTTPS 方式:** 使用 `https://github.com/username/repo.git` 格式。需提醒用户配置凭据管理器或使用 Personal Access Token (PAT) 代替密码。 #### 2. 基础克隆操作
