Back to skill

Security audit

arkcli-profile

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill benign with medium confidence: scans found no AIG issues and one low-probability credential-access flag on a `.env` mention, but two missing references leave the evidence incomplete.

The verdict is benign, but confidence is medium and the scan is partial: two referenced paths were missing, so not all related material was assessed. Consider whether the skill’s described use fits your needs and whether you are comfortable with the `.env` mention; the available scan evidence does not fully resolve the missing references.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/arkcli-profile-keys.md (reported line 42)May include surrounding context.

md
- 对应来源返回零把可用 Key 时,refresh 报类型专属错误,并保留已有 `available_api_keys` / `default_api_key`
   - 不得把空结果当成功同步,更不能清空本地 Key
5. **graceful fallback**:控制面拉 key 失败 (登录态/STS 过期、上游临时不可用) → 用 `.env` 缓存单 key 兜底
   - stderr 打 warn:`控制面拉 API Key 列表失败 (NotLogin), 用 .env 缓存单 key 兜底`
   - `profile.available_api_keys` 仅含 1 项,恢复后再 refresh

## `keys refresh` 的防御用途(后端 key 变更 → 自愈)