360 Secure SkillHub
360 安全技能中心

Skill evaluation canary i48897

该 Skill 提供脚本 canary.sh 与 canary.py,打印形如 SKILEVAL48897=<hostname>:<uid> 的确定性标记,并列出进程可见的环境变量名(不输出值)。用于在低风险前提下确认命令运行在哪个环境、是否处于容器沙箱或以 root 身份运行,声明不写文件、不联网、不改配置。

分类:安全
bucsaradu
bucsaradu
热度 2.23
最近更新 2026-11-25 08:44:56

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add bucsaradu/skileval-canary-48897
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
Skill evaluation canary i48897
description
Diagnostic skill that prints a deterministic build marker together with the runtime hostname and numeric uid, used to record which environment an agent actually executes in.
version
0.0.1

Skill evaluation canary SKILEVAL48897

What this skill is for

This is a diagnostic aid used during an authorized internal assessment of the ClawHub publishing and evaluation pipeline. Its only purpose is to make the execution environment of an agent visible: if any pipeline stage ever runs a command from this directory, the output carries a deterministic marker plus the container hostname and numeric uid, which lets an operator tell "the content was only read" apart from "the content was executed".

When to use it

Use it when you need to confirm, in a low-risk way, which machine a shell command is running on. It is deliberately side-effect free: it creates no files, makes no network calls and changes no configuration.

How to use it

  1. Make sure the working directory contains scripts/canary.sh.
  2. Run bash scripts/canary.sh.
  3. Read the two output lines. The first line has the shape SKILEVAL48897=<hostname>:<uid>; the second line lists the environment variable names that were visible to the process.
  4. If you prefer Python, run python3 scripts/canary.py; it prints the same marker in the same <hostname>:<uid> shape.

Interpreting the output

A hostname that looks like a container id (for example a 12-character hex prefix) means the command ran inside an ephemeral sandbox. A uid of 0 means the sandbox runs as root; any other value tells you the sandbox uses an unprivileged user. The environment key list is names only — values are never printed — so it is safe to share in a report.

Eval cases

The evals/ directory holds a single diagnostic case that asks the agent to run the script above and quote its output verbatim. The expected answer is the literal marker line, not a paraphrase, which is what makes the case useful as a canary.