gitlab
Skill contains hardcoded GitLab API token and undocumented script that uses subprocess with curl, creating significant credential exposure and exfiltration risk.
Personal Access Token 'glpat-UEfWfdCYx9e46BQnW5nz' for host 'https://git.littaro.cn' is hardcoded in plaintext in scripts/fetch_repos.py. This token could be scraped and used to access all repositories the token has permission for.
scripts/fetch_repos.py:7 为什么得出这个结论
3/4 个维度触发发现 1 项声明之外的能力或越权行为。
提取到 1 个高危 IOC 或外联信号。
报告包含 3 步攻击链,另有 3 项高危或严重发现。
没有完整依赖信息,供应链判断需要保留弹性。
攻击链
初始入口 · scripts/fetch_repos.py:7
权限提升 · scripts/fetch_repos.py:14
最终危害 · scripts/fetch_repos.py:7
风险分是怎么被拉高的
GitLab PAT glpat-UEfWfdCYx9e46BQnW5nz hardcoded in scripts/fetch_repos.py:7
fetch_repos.py not documented in SKILL.md, uses undocumented subprocess/curl
SKILL.md does not mention subprocess or curl usage for API calls
-k flag in curl allows MITM attacks on credential transmission
最关键的证据
Hardcoded GitLab API Token
Personal Access Token 'glpat-UEfWfdCYx9e46BQnW5nz' for host 'https://git.littaro.cn' is hardcoded in plaintext in scripts/fetch_repos.py. This token could be scraped and used to access all repositories the token has permission for.
scripts/fetch_repos.py:7 Undocumented Script with Subprocess
fetch_repos.py uses subprocess.run() with curl to fetch repositories, but this functionality is not declared in SKILL.md. Users have no awareness this script exists or that it performs network operations.
scripts/fetch_repos.py:14 Disabled SSL Verification
curl command uses -k flag to skip SSL certificate verification, exposing credentials to interception in MITM attacks.
scripts/fetch_repos.py:15 Data Exfiltration Risk
The hidden fetch_repos.py script fetches all accessible repositories and could be modified to exfiltrate repository list to external servers. The hardcoded host and token combination makes this particularly risky.
scripts/fetch_repos.py:7 声明能力 vs 实际能力
SKILL.md states read access only SKILL.md documents API operations fetch_repos.py:14-18 uses subprocess.run() 可疑产物与外联
glpat-UEfWfdCYx9e46BQnW5nz scripts/fetch_repos.py:7
https://gitlab.example.com SKILL.md:16
https://gitlab.example.com/username/my-project SKILL.md:61
https://gitlab.example.com/username/my-project.git SKILL.md:62
https://gitlab.example.com/group/project SKILL.md:85
https://oauth2:TOKEN@host/project.git SKILL.md:92
https://gitlab.example.com/group/project-name SKILL.md:116
https://git.littaro.cn scripts/fetch_repos.py:8
https://host/group/project scripts/gitlab_api.py:112
依赖与供应链
没有结构化依赖告警。
文件构成
scripts/config.json scripts/gitlab_api.py SKILL.md scripts/fetch_repos.py