扫描报告
20 /100
gitlab
GitLab operations including creating and cloning repositories, listing projects, managing issues, merge requests, branches, commits, and pipelines
Legitimate GitLab CLI wrapper with minor documentation gaps: shell:WRITE via subprocess not explicitly declared, SSL bypass documented, but no malicious behavior detected.
可以安装
Consider updating SKILL.md to explicitly declare shell:WRITE capability for git clone and curl operations, and add security notes about --insecure flag usage in production.
安全发现 3 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 中危 | Shell execution not declared in SKILL.md 文档欺骗 | scripts/gitlab_api.py:140 |
| 低危 | SSL verification bypass flag 权限提升 | scripts/gitlab_api.py:46 |
| 提示 | All resources declared as NONE 文档欺骗 | SKILL.md:1 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 网络访问 | READ | READ | ✓ 一致 | Scripts make HTTPS requests to GitLab API endpoints |
| 命令执行 | NONE | WRITE | ✗ 越权 | gitlab_api.py:140-148 (git clone), gitlab_api.py:159-174 (_make_request_curl), f… |
| 文件系统 | NONE | READ | ✗ 越权 | credential_loader.py reads ~/.claude/gitlab_config.json and scripts/config.json |
9 项发现
中危 外部 URL 外部 URL
https://gitlab.example.com SKILL.md:19 中危 外部 URL 外部 URL
https://gitlab.example.com/username/my-project SKILL.md:236 中危 外部 URL 外部 URL
https://gitlab.example.com/username/my-project.git SKILL.md:237 中危 外部 URL 外部 URL
https://gitlab.example.com/group/project SKILL.md:260 中危 外部 URL 外部 URL
https://oauth2:TOKEN@host/project.git SKILL.md:267 中危 外部 URL 外部 URL
https://gitlab.example.com/group/project-name SKILL.md:291 中危 外部 URL 外部 URL
https://gitlab.example.com/user/settings/tokens scripts/config.json:3 中危 外部 URL 外部 URL
https://gitlab.example.com\ scripts/credential_loader.py:265 中危 外部 URL 外部 URL
https://host/group/project scripts/gitlab_api.py:130 目录结构
8 文件 · 66.8 KB · 1921 行 Python 4f · 1354L
Markdown 1f · 501L
JSON 3f · 66L
├─
▾
evals
│ └─
evals.json
JSON
├─
▾
scripts
│ ├─
config.example.json
JSON
│ ├─
config.json
⚠
JSON
│ ├─
credential_loader.py
⚠
Python
│ ├─
fetch_repos.py
Python
│ ├─
gitlab_api.py
Python
│ └─
list_repos.py
Python
└─
SKILL.md
Markdown
依赖分析 1 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
stdlib | Built-in | Python standard library | 否 | Uses urllib, ssl, subprocess, json - all standard library |
安全亮点
✓ No credential theft or exfiltration - tokens used only for GitLab API authentication
✓ No obfuscation techniques (base64, eval, etc.) detected
✓ Credential loader validates tokens and filters placeholders
✓ User config files created with restrictive 0o600 permissions
✓ No access to sensitive paths (~/.ssh, ~/.aws, .env)
✓ No reverse shell, C2 communication, or data theft patterns
✓ Network requests limited to configured GitLab host only
✓ Clean, readable code with no suspicious patterns