Back to skill

Security audit

CNB Release 处理版本插件使用

Security checks for vulnerabilities and agentic risk

Overview

The skill is judged benign with medium confidence: scanners found no AIG issues, while Skillspector flagged whitespace padding and its review was partial.

The scanners returned a benign verdict, but confidence is medium and Skillspector coverage was partial because some local references could not be resolved. Consider reviewing the skill’s whitespace-flagged sections and those references before installing; benign does not mean risk-free.

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
  • 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 (4)

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
CNB 会将 `settings` 转换为大写、带 `PLUGIN_` 前缀的环境变量。布尔值常见写法为 `true` / `false`。

| 参数                     | 类型    | 默认值       | 说明                                                                                                                        |
|--------------------------|---------|--------------|-----------------------------------------------------------------------------------------------------------------------------|
| `mode`                   | string  | 无,必填     | `parse` / `validate`                                                                                                        |
| `version`                | string  | 无,必填     | 待解析或校验的版本号;`validate` 必须传具体 Tag。`parse` 下设置 `default_nightly: true` 时可为空                            |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| 参数                     | 类型    | 默认值       | 说明                                                                                                                        |
|--------------------------|---------|--------------|-----------------------------------------------------------------------------------------------------------------------------|
| `mode`                   | string  | 无,必填     | `parse` / `validate`                                                                                                        |
| `version`                | string  | 无,必填     | 待解析或校验的版本号;`validate` 必须传具体 Tag。`parse` 下设置 `default_nightly: true` 时可为空                            |
| `commit`                 | string  | `""`         | 仅 `parse`:透传上游提交,只接受 40 位小写十六进制 SHA;非法值按空字符串输出                                                |
| `default_nightly`        | boolean | `false`      | 仅 `parse`:`version` 为空或全是空白时按 `nightly` 处理                                                                     |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
| `nightly_fallback`       | string  | `zero`       | 找不到正式版 Tag 时的策略:`zero` / `prerelease` / `prerelease_bump` / `prerelease_or_zero` / `error`                       |
| `fetch_tags`             | boolean | `true`       | 是否尽力执行 `git fetch --tags --quiet --force`;失败只告警,继续使用本地 Tag                                               |
| `allow_existing_nightly` | boolean | `false`      | 校验时是否允许同名 nightly Tag 已存在;对其他渠道无效                                                                       |
| `workspace`              | string  | 当前工作目录 | Git 仓库路径;CNB 默认工作区无需设置                                                                                        |

### nightly_fallback

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

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

md
仅在未设置 `nightly_base_version` 且仓库找不到严格匹配 `vX.Y.Z` / `VX.Y.Z` 的正式版 Tag 时生效:

| 值                   | 行为                                                                                                              |
|----------------------|-------------------------------------------------------------------------------------------------------------------|
| `zero`               | 从 `0.0.0` 开始,补丁号加一,生成 `v0.0.1-nightly.YYYYMMDD`                                                       |
| `prerelease`         | 取数值最大的 `rc` / `beta` / `alpha` / `nightly` 版本核心,不增加补丁号;如果没有预发布 Tag,则回退到 `zero` 行为 |