Back to skill

Security audit

Codeup

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Codeup command-line helper that uses a user-provided Alibaba Cloud DevOps token for expected repository, organization, and merge-request operations.

Install only if you intend to let the agent operate on Alibaba Cloud Codeup with your token. Use a least-privilege YUNXIAO_ACCESS_TOKEN, avoid broad write or admin scopes when read-only use is enough, and review destructive commands such as delete_branch, delete_file, merge_change_request, and comment deletion before running them.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T08 · Insecure Dependencies

Note
Location
scripts/requirements.txt:1
Finding

Unpinned Third-Party Dependency

Content
View full analysis

Vulnerability Details

File Location: scripts/requirements.txt:1
Vulnerability Type: Unbounded dependency version / supply-chain risk
Risk Level: Low

Vulnerable Code

text
requests>=2.28.0

Technical Analysis

The project declares requests using an open-ended minimum-version constraint and provides no lockfile or package-integrity hashes. Consequently, separate installations can resolve to different releases, including future versions that were not included in this audit.

This does not establish that the current requests package is malicious. However, it weakens dependency reproducibility and increases exposure to a future compromised release, compromised package index, or unexpected incompatible update. Python package installation may execute package build or installation logic, while the installed dependency later runs in the same process as the Codeup client.

Attack Path

  1. An attacker compromises a future permitted requests release, its distribution artifacts, or the dependency distribution channel.
  2. A user installs the project dependencies after that compromised version becomes available.
  3. Because requests>=2.28.0 accepts that version and no hashes constrain the selected artifact, the package manager installs it.
  4. Malicious installation logic can execute during installation, or malicious runtime logic can execute when requests is imported or used.
  5. If the Skill is subsequently run with YUNXIAO_ACCESS_TOKEN in its environment, malicious dependency code may read and exfiltrate that token or tamper with Codeup API operations.

Impact Assessment

Successful exploitation would execute code with the privileges of the user installing or running the Skill. Potential scope includes access to files and environment variables available to that process, including YUNXIAO_ACCESS_TOKEN. Compromise of that token could permit Alibaba Cloud Codeup actions within the token's assigned permissions, such as read ...[truncated 283 chars]

Remediation
View remediation

Remediation Suggestions

  1. Replace the open-ended constraint with an exact version reviewed and tested by the project:
text
requests==<reviewed-version>
  1. Generate a hash-locked requirements file using a reproducible dependency-management tool, and require hash verification during installation.
  2. Lock transitive dependencies as well as direct dependencies.
  3. Use a trusted package index and restrict unapproved alternate indexes.
  4. Enable automated dependency vulnerability monitoring and review updates before regenerating the lockfile.
  5. Run dependency installation and the Skill with least privilege, and expose YUNXIAO_ACCESS_TOKEN only to the runtime process that requires it.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (63)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 8)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 25)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 73)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 76)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 81)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 86)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 140)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 143)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 150)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 153)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 156)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 159)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 162)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 165)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 172)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 175)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 178)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 181)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 188)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 198)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 205)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 214)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 222)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 229)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 240)May include surrounding context.

md
本 skill 提供与云效(Codeup)平台交互的 Python 脚本工具,统一通过 `codeup.py` 调用。