Credential Access
- Category
- Privilege Escalation
- Confidence
- 94% confidence
- Finding
The skill is explicitly designed to discover and inventory highly sensitive artifacts including .env files, private keys, service-account files, and credential bundles. Even if it claims not to read contents, enumerating and packaging the exact locations and types of secrets creates a high-value map for follow-on theft, backup exfiltration, or privilege escalation, and the surrounding context increases risk because the output is intended for downstream tooling.
- Content
md 1. **环境文件**:识别所有 `.env`、`.env.*`、`*.env` 文件——这些文件包含应用程序运行所需的运行时配置和凭据。 2. **配置文件**:定位 `config.json`、`*.config.js`、`*.config.ts`、`application.yml` 及类似的结构化配置文件。 3. **凭据文件**:检测 `credentials.json`、`*.pem`、`*.key`、`service-account.json` 及其他可能包含认证材料的文件。 4. **CI/CD 配置**:包含 `.github/workflows/*.yml`、`.gitlab-ci.yml`、`Dockerfile`、`docker-compose.yml`——这些文件定义了部署流水线的配置。 5. **数据库配置**:查找 `database.yml`、`knexfile.js`、`prisma/schema.prisma` 等数据库连接配置文件。
