T09 · Insecure Skill Coding Practices
- Location
scripts/atomgit-batch.ps1.txt:14- Finding
Dot-Sourcing the Batch Script Automatically Approves Hard-Coded Pull Requests
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This AtomGit skill is mostly a disclosed repository-management tool, but its batch PowerShell script can perform authenticated PR approvals just by being loaded.
Review this skill carefully before installing. Use only a least-privilege AtomGit token, avoid putting tokens in command lines or URLs, and do not dot-source the batch script unless it has been fixed so loading it cannot approve any PRs. Treat bulk approval and merge commands as live repository changes that may affect review integrity and automation.
scripts/atomgit-batch.ps1.txt:14Dot-Sourcing the Batch Script Automatically Approves Hard-Coded Pull Requests
scripts/atomgit-batch.ps1.txt:206Parallel Batch Approval Bypasses Function-Level Input and Concurrency Validation
API-REFERENCE.md:16API Documentation Recommends Passing Access Tokens in URL Query Strings
The batch approval workflow enables parallel approval of multiple PRs and is presented as a performance feature without strong caution about governance or review integrity. In the context of a repository-management skill, bulk approvals can bypass meaningful human review at scale, increasing the chance of unsafe code being trusted and merged across important repositories.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
# AtomGit-PowerShell API 快速参考
> **API 版本**: v5
> **Base URL**: `https://api.atomgit.com/api/v5`
> **技能版本**: v3.0.0
---
The authentication section recommends header-based auth but also documents passing access tokens in the URL query string without any warning. Tokens in URLs can be exposed via browser history, shell history, logs, proxies, referrers, and monitoring systems, leading to credential leakage and unauthorized API access.
This markdown file includes POST/PUT endpoints for adding PR comments, creating/updating issues, and merging pull requests, plus a concrete merge example. The document does not disclose that these actions modify remote repository state and may be irreversible or workflow-impacting, which matches the markdown-specific missing-warning criterion for user data/system integrity effects.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
curl -H "Authorization: Bearer TOKEN" \
https://api.atomgit.com/api/v5/user
The documentation promotes parallel batch approval of multiple PRs, which is a safety-sensitive bulk operation affecting several remote resources at once. There is no accompanying warning about verifying the target PR list, limiting scope, or the risk of accidental mass approvals.
This markdown file describes state-changing operations such as approving and merging pull requests, which can directly affect repository workflow and project history. The examples show how to perform these actions but provide no warning or caution about their consequences, review requirements, or reversibility considerations.
The skill advertises capabilities such as approving, merging, and repository management directly in the top-level description, but does not pair them with an explicit warning that these actions modify remote state and may be irreversible. In an agent skill context, prominently exposing destructive operations without user-facing cautions increases the risk of accidental authorization of impactful actions.
The batch approval feature encourages parallel bulk processing of PRs and emphasizes performance gains, but does not include a strong warning that it can apply remote approvals at scale very quickly. That makes operator mistakes more damaging, especially in automated or agent-assisted workflows where multiple PRs may be approved before a human notices an error.
The documentation instructs users to pass a personal access token directly on the command line without warning about secrecy or safer handling. Tokens entered this way may be exposed through shell history, process listings, logs, screenshots, or copied transcripts, which can lead to account compromise on the code hosting platform.