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 Why this conclusion was reached
3/4 dimensions flagged1 undeclared or violating capabilities were inferred.
1 high-risk artifacts or egress signals were extracted.
The report includes 3 attack-chain steps and 3 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
Attack Chain
Entry · scripts/fetch_repos.py:7
Escalation · scripts/fetch_repos.py:14
Impact · scripts/fetch_repos.py:7
What drove the risk score up
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
Most important evidence
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 Declared capability vs actual capability
SKILL.md states read access only SKILL.md documents API operations fetch_repos.py:14-18 uses subprocess.run() Suspicious artifacts and egress
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
Dependencies and supply chain
There are no structured dependency warnings.
File composition
scripts/config.json scripts/gitlab_api.py SKILL.md scripts/fetch_repos.py