huawei-cloud-codearts-code-gen

Fail

Audited by Snyk on Jul 8, 2026

Risk Level: CRITICAL
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 1.00). The skill explicitly asks the agent to request the user's AK/SK, store them in plaintext (~/.bashrc), and execute commands embedding the credentials verbatim (e.g., setup.sh --save-aksk "user's AK" "user's SK"), which forces the LLM to handle/output secret values directly.

CRITICAL E006: Malicious code pattern detected in skill scripts.

  • Malicious code pattern detected (high risk: 0.90). The package contains deliberate high-risk behaviors: it forcefully mandates running a setup that downloads and executes remote install scripts, persistently stores cloud AK/SK in plaintext (or user environment), and writes broad file-permission policies that enable wide read/write access — patterns that enable supply-chain execution, credential capture, and potential filesystem compromise.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).


MEDIUM W013: Attempt to modify system services in skill instructions.

  • Attempt to modify system services in skill instructions detected (high risk: 1.00). This skill explicitly instructs the agent to auto-download and install a CLI, modify the user's shell config (~/.bashrc) to store plaintext AK/SK, and run permission scripts that create/modify files in the workspace—actions that change the machine's state and handle sensitive credentials.

Issues (4)

W007
HIGH

Insecure credential handling detected in skill instructions.

E006
CRITICAL

Malicious code pattern detected in skill scripts.

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

W013
MEDIUM

Attempt to modify system services in skill instructions.

Audit Metadata
Risk Level
CRITICAL
Analyzed
Jul 8, 2026, 12:58 AM
Issues
4
Security Audit — snyk — huawei-cloud-codearts-code-gen