zes-scan
Detection skill of Zero-Exec Shield (ZES) v5.2. Quarantines supply-chain attacks, CA compromise, infrastructure RCE, AI development environment traps, and divergence between what an AI agent skill declares and what it actually does (SkillPact contracts, experimental) with static analysis that never executes the target, and outputs findings.json. Also has an "IoC extraction mode" that extracts IoCs from new threat intelligence to extend rules/ioc.json. Detection only (read-only); decisions are made by ZET (zero-exec-triage) and remediation by GER (gated-exec-remediation).
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-24
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- zes-scan
- description
- Detection skill of Zero-Exec Shield (ZES) v5.2. Quarantines supply-chain attacks, CA compromise, infrastructure RCE, AI development environment traps, and divergence between what an AI agent skill declares and what it actually does (SkillPact contracts, experimental) with static analysis that never executes the target, and outputs findings.json. Also has an "IoC extraction mode" that extracts IoCs from new threat intelligence to extend rules/ioc.json. Detection only (read-only); decisions are made by ZET (zero-exec-triage) and remediation by GER (gated-exec-remediation).
02 资源文件 500
- 参考文档.github/workflows/ci.yml2.9 KB
- 参考文档.github/workflows/release.yml1.9 KB
- 其他.nojekyll—
- 其他brand/.gitignore14 B
- 其他brand/.npmrc20 B
- 资产文件brand/AppIcon.icon/Assets/shield.svg6.8 KB
- 资产文件brand/AppIcon.icon/Assets/zero.svg6.3 KB
- 参考文档brand/AppIcon.icon/icon.json1.7 KB
- 脚本brand/build.mjs8.2 KB
- 资产文件brand/logo/zes-logo-dark.svg34.5 KB
- 资产文件brand/logo/zes-logo-light.svg34.5 KB
- 资产文件brand/logo/zes-mark.svg28.7 KB
- 资产文件brand/logo/zes-wordmark-black.svg5.6 KB
- 资产文件brand/logo/zes-wordmark-white.svg5.6 KB
- 参考文档brand/package-lock.json51.6 KB
- 参考文档brand/package.json297 B
- 资产文件brand/png/AppIcon-1024.png199.8 KB
- 资产文件brand/png/AppIcon-dark-1024.png186.8 KB
- 资产文件brand/png/AppIcon-fullbleed-1024.png112.4 KB
- 参考文档brand/README.ja.md3.4 KB
- 参考文档brand/README.md3.0 KB
- 资产文件brand/social/github-social-preview.png204.3 KB
- 资产文件brand/social/og-image.png199.3 KB
- 参考文档brand/src/brand.json174 B
- 脚本brand/src/layers.py2.7 KB
- 资产文件brand/src/shield.svg6.8 KB
- 参考文档brand/src/spec.json1.2 KB
- 参考文档brand/src/wordmark.json5.5 KB
- 脚本brand/src/wordmark.py1.3 KB
- 资产文件brand/src/zero.svg6.3 KB
- 资产文件brand/web/apple-touch-icon.png11.6 KB
- 资产文件brand/web/favicon-64.png4.7 KB
- 其他brand/web/favicon.ico5.9 KB
- 资产文件brand/web/favicon.svg28.7 KB
- 资产文件brand/web/icon-192.png20.6 KB
- 资产文件brand/web/icon-512.png75.6 KB
- 资产文件brand/web/icon-maskable-512.png43.4 KB
- 参考文档CHANGELOG.md86.4 KB
- 资产文件docs/design/ui-components.svg26.4 KB
- 参考文档docs/design/ui-design-0.3.ja.md91.3 KB
- 参考文档docs/design/ui-design-0.3.md84.9 KB
- 参考文档docs/design/ui-design.ja.md41.5 KB
- 参考文档docs/design/ui-design.md40.1 KB
- 资产文件docs/design/ui-overview.svg25.7 KB
- 资产文件docs/design/ui-skillpact.svg25.6 KB
- 参考文档docs/ioc-verification.ja.md69.5 KB
- 参考文档docs/ioc-verification.md67.7 KB
- 参考文档docs/skill-contracts.ja.md15.0 KB
- 参考文档docs/skill-contracts.md14.9 KB
- 参考文档i18n/en.json54.3 KB
- 参考文档i18n/ja.json61.7 KB
- 参考文档i18n/tests/render-cases.json2.6 KB
- 参考文档index.html904.3 KB
- 许可证LICENSE11.1 KB
- 参考文档README.ja.md32.8 KB
- 参考文档README.md27.4 KB
- 参考文档rules/campaigns/chaindrop-keyv.json3.9 KB
- 参考文档rules/campaigns/ebpf-rootkit.json1.1 KB
- 参考文档rules/campaigns/ghostaction-oct2026.json3.1 KB
- 参考文档rules/campaigns/hf-supply-chain.json1.9 KB
- 参考文档rules/campaigns/litellm-oct2026.json606 B
- 参考文档rules/campaigns/mcp-poisoning.json3.9 KB
- 参考文档rules/campaigns/post-shaihulud.json2.2 KB
- 参考文档rules/campaigns/pypi-oct2026.json1.2 KB
- 参考文档rules/campaigns/skillpact.json7.5 KB
- 参考文档rules/campaigns/solana-typosquat.json1.4 KB
- 参考文档rules/campaigns/teampcp-mini-shai-hulud.json2.8 KB
- 参考文档rules/ioc.json185.3 KB
- 参考文档schemas/findings.schema.json7.6 KB
- 参考文档SECURITY.ja.md1.2 KB
- 参考文档SECURITY.md1.1 KB
- 脚本tests/check-versions.sh1.1 KB
- 其他tests/expected-codes.jq806 B
- 参考文档tests/expected-codes/brotli-http2shell.json615 B
- 参考文档tests/expected-codes/browser-ext.json834 B
- 参考文档tests/expected-codes/build-hooks.json504 B
- 参考文档tests/expected-codes/chaindrop.json1.4 KB
- 参考文档tests/expected-codes/codex-toml-broken.json3 B
- 参考文档tests/expected-codes/codex-toml.json1.8 KB
- 参考文档tests/expected-codes/cosign.json150 B
- 参考文档tests/expected-codes/ebpf.json171 B
- 参考文档tests/expected-codes/github-actions.json2.5 KB
- 参考文档tests/expected-codes/gitlab.json3.1 KB
- 参考文档tests/expected-codes/hf.json785 B
- 参考文档tests/expected-codes/history.json763 B
- 参考文档tests/expected-codes/host-paths-home.json1.3 KB
- 参考文档tests/expected-codes/host-paths-safe.json3 B
- 参考文档tests/expected-codes/intel-2026q3-safe.json585 B
- 参考文档tests/expected-codes/intel-2026q3.json8.1 KB
- 参考文档tests/expected-codes/ioc-corrections-safe.json761 B
- 参考文档tests/expected-codes/ioc-corrections.json3.1 KB
- 参考文档tests/expected-codes/linux.json327 B
- 参考文档tests/expected-codes/litellm.json1.8 KB
- 参考文档tests/expected-codes/lockfile-formats.json2.2 KB
- 参考文档tests/expected-codes/lockfile-installed.json610 B
- 参考文档tests/expected-codes/macos.json363 B
- 参考文档tests/expected-codes/mcp-registry.json332 B
- 参考文档tests/expected-codes/mcp.json319 B
- 参考文档tests/expected-codes/parser-evasion.json4.4 KB
- 参考文档tests/expected-codes/php.json939 B
- 参考文档tests/expected-codes/php2shell.json2.8 KB
- 参考文档tests/expected-codes/r3-actions.json3.4 KB
- 参考文档tests/expected-codes/r3-ai-instr.json1.2 KB
- 参考文档tests/expected-codes/r3-archive.json3 B
- 参考文档tests/expected-codes/r3-crlf-toolversions.json517 B
- 参考文档tests/expected-codes/r3-dpkg.json245 B
- 参考文档tests/expected-codes/r3-hosts-space.json196 B
- 参考文档tests/expected-codes/r3-ioc-case.json202 B
- 参考文档tests/expected-codes/r3-lockfiles.json589 B
- 参考文档tests/expected-codes/r3-mcp-evasion.json1.5 KB
- 参考文档tests/expected-codes/r3-nul.json343 B
- 参考文档tests/expected-codes/r3-pkgjson.json664 B
- 参考文档tests/expected-codes/r3-pth.json546 B
- 参考文档tests/expected-codes/r3-skillpact-script.json715 B
- 参考文档tests/expected-codes/r3-symlink-config.json338 B
- 参考文档tests/expected-codes/r3-vcs-nested.json562 B
- 参考文档tests/expected-codes/r4-build-backend.json993 B
- 参考文档tests/expected-codes/r4-crlf-dockerfile.json1.6 KB
- 参考文档tests/expected-codes/r4-launchagent.json1.0 KB
- 参考文档tests/expected-codes/r4-pickle.json961 B
- 参考文档tests/expected-codes/r4-python.json1.1 KB
- 参考文档tests/expected-codes/r4-skillpact-ijson.json1.2 KB
- 参考文档tests/expected-codes/r4-vcs-root.json3 B
- 参考文档tests/expected-codes/r5-agent-hook.json868 B
- 参考文档tests/expected-codes/r5-bom.json637 B
- 参考文档tests/expected-codes/r5-dockerfile.json3.6 KB
- 参考文档tests/expected-codes/r5-hidden.json467 B
- 参考文档tests/expected-codes/r5-pickle.json576 B
- 参考文档tests/expected-codes/r5-plist.json706 B
- 参考文档tests/expected-codes/r5-pyproject.json916 B
- 参考文档tests/expected-codes/r5-skillpact.json1.4 KB
- 参考文档tests/expected-codes/r6-agent-hook.json1.2 KB
- 参考文档tests/expected-codes/r6-dockerfile.json2.5 KB
- 参考文档tests/expected-codes/r6-gitconfig.json1.1 KB
- 参考文档tests/expected-codes/r6-pyproject.json569 B
- 参考文档tests/expected-codes/sbom.json539 B
- 参考文档tests/expected-codes/skillpact-clean.json3 B
- 参考文档tests/expected-codes/skillpact-diff-anomaly.json324 B
- 参考文档tests/expected-codes/skillpact-divergence.json551 B
- 参考文档tests/expected-codes/skillpact-invalid.json489 B
- 参考文档tests/expected-codes/skillpact-malformed.json500 B
- 参考文档tests/expected-codes/skillpact-policy.json222 B
- 参考文档tests/expected-codes/skillpact-signed-divergence.json431 B
- 参考文档tests/expected-codes/skillpact-undeclared.json205 B
- 参考文档tests/expected-codes/skillpact-version.json235 B
- 参考文档tests/expected-codes/symjack.json221 B
- 参考文档tests/expected/brotli-http2shell.json924 B
- 参考文档tests/expected/browser-ext.json1.2 KB
- 参考文档tests/expected/build-hooks.json557 B
- 参考文档tests/expected/chaindrop.json1.7 KB
- 参考文档tests/expected/codex-toml-broken.json58 B
- 参考文档tests/expected/codex-toml.json3.5 KB
- 参考文档tests/expected/cosign.json222 B
- 参考文档tests/expected/ebpf.json236 B
- 参考文档tests/expected/github-actions.json2.8 KB
- 参考文档tests/expected/gitlab.json2.0 KB
- 参考文档tests/expected/hf.json985 B
- 参考文档tests/expected/history.json874 B
- 参考文档tests/expected/host-paths-home.json1.5 KB
- 参考文档tests/expected/host-paths-safe.json58 B
- 参考文档tests/expected/intel-2026q3-safe.json600 B
- 参考文档tests/expected/intel-2026q3.json7.7 KB
- 参考文档tests/expected/ioc-corrections-safe.json850 B
- 参考文档tests/expected/ioc-corrections.json3.3 KB
- 参考文档tests/expected/linux.json804 B
- 参考文档tests/expected/litellm.json2.1 KB
- 参考文档tests/expected/lockfile-formats.json3.3 KB
- 参考文档tests/expected/lockfile-installed.json1001 B
- 参考文档tests/expected/macos.json418 B
- 参考文档tests/expected/mcp-registry.json406 B
- 参考文档tests/expected/mcp.json714 B
- 参考文档tests/expected/parser-evasion.json6.3 KB
- 参考文档tests/expected/php.json1.4 KB
- 参考文档tests/expected/php2shell.json1.7 KB
- 参考文档tests/expected/r3-actions.json3.9 KB
- 参考文档tests/expected/r3-ai-instr.json1.4 KB
- 参考文档tests/expected/r3-archive.json58 B
- 参考文档tests/expected/r3-crlf-toolversions.json451 B
- 参考文档tests/expected/r3-dpkg.json283 B
- 参考文档tests/expected/r3-hosts-space.json225 B
- 参考文档tests/expected/r3-ioc-case.json239 B
- 参考文档tests/expected/r3-lockfiles.json864 B
- 参考文档tests/expected/r3-mcp-evasion.json3.0 KB
- 参考文档tests/expected/r3-nul.json424 B
- 参考文档tests/expected/r3-pkgjson.json749 B
- 参考文档tests/expected/r3-pth.json658 B
- 参考文档tests/expected/r3-skillpact-script.json776 B
- 参考文档tests/expected/r3-symlink-config.json705 B
- 参考文档tests/expected/r3-vcs-nested.json589 B
- 参考文档tests/expected/r4-build-backend.json936 B
- 参考文档tests/expected/r4-crlf-dockerfile.json1.6 KB
- 参考文档tests/expected/r4-launchagent.json1012 B
- 参考文档tests/expected/r4-pickle.json952 B
- 参考文档tests/expected/r4-python.json1.0 KB
- 参考文档tests/expected/r4-skillpact-ijson.json1.6 KB
- 参考文档tests/expected/r4-vcs-root.json58 B
- 参考文档tests/expected/r5-agent-hook.json1.4 KB
- 参考文档tests/expected/r5-bom.json825 B
- 参考文档tests/expected/r5-dockerfile.json3.4 KB
- 参考文档tests/expected/r5-hidden.json560 B
- 参考文档tests/expected/r5-pickle.json595 B
- 参考文档tests/expected/r5-plist.json761 B
- 参考文档tests/expected/r5-pyproject.json934 B
- 参考文档tests/expected/r5-skillpact.json1.9 KB
- 参考文档tests/expected/r6-agent-hook.json2.3 KB
- 参考文档tests/expected/r6-dockerfile.json2.2 KB
- 参考文档tests/expected/r6-gitconfig.json2.6 KB
- 参考文档tests/expected/r6-pyproject.json592 B
- 参考文档tests/expected/sbom.json544 B
- 参考文档tests/expected/skillpact-clean.json63 B
- 参考文档tests/expected/skillpact-diff-anomaly.json372 B
- 参考文档tests/expected/skillpact-divergence.json610 B
- 参考文档tests/expected/skillpact-invalid.json723 B
- 参考文档tests/expected/skillpact-malformed.json719 B
- 参考文档tests/expected/skillpact-policy.json255 B
- 参考文档tests/expected/skillpact-signed-divergence.json578 B
- 参考文档tests/expected/skillpact-undeclared.json246 B
- 参考文档tests/expected/skillpact-version.json401 B
- 参考文档tests/expected/symjack.json252 B
- 其他tests/fixtures/_home/.bashrc61 B
- 其他tests/fixtures/_home/.npmrc20 B
- 参考文档tests/fixtures/brotli-http2shell/fixed/requirements.txt34 B
- 参考文档tests/fixtures/brotli-http2shell/requirements.txt56 B
- 参考文档tests/fixtures/browser-ext/Extensions/abcd/manifest.json226 B
- 参考文档tests/fixtures/browser-ext/Extensions/efgh/1.0.0/manifest.json104 B
- 参考文档tests/fixtures/browser-ext/Extensions/efgh/2.0.0/manifest.json135 B
- 脚本tests/fixtures/build-hooks/build.rs164 B
- 其他tests/fixtures/build-hooks/pyproject.toml106 B
- 脚本tests/fixtures/chaindrop/Math_Symbol.js49 B
- 参考文档tests/fixtures/chaindrop/package-lock.json530 B
- 参考文档tests/fixtures/chaindrop/package.json144 B
- 脚本tests/fixtures/chaindrop/setup.mjs220 B
- 其他tests/fixtures/codex-toml-broken/a-unterminated/.codex/config.toml80 B
- 其他tests/fixtures/codex-toml-broken/b-no-command/.codex/config.toml88 B
- 其他tests/fixtures/codex-toml-broken/c-bare-command/.codex/config.toml128 B
- 其他tests/fixtures/codex-toml/a-dotted-top/.codex/config.toml224 B
- 其他tests/fixtures/codex-toml/b-spaced-header/.codex/config.toml164 B
- 其他tests/fixtures/codex-toml/c-quoted-header/.codex/config.toml151 B
- 其他tests/fixtures/codex-toml/d-dotted-under-table/.codex/config.toml173 B
- 其他tests/fixtures/codex-toml/e-escapes/.codex/config.toml230 B
- 其他tests/fixtures/codex-toml/f-bracket-in-args/.codex/config.toml300 B
- 其他tests/fixtures/codex-toml/g-multiline-strings/.codex/config.toml167 B
- 其他tests/fixtures/codex-toml/h-string-args/.codex/config.toml139 B
- 其他tests/fixtures/codex-toml/i-inline-nested/.codex/config.toml169 B
- 其他tests/fixtures/codex-toml/j-subtables/.codex/config.toml384 B
- 其他tests/fixtures/codex-toml/k-safe/.codex/config.toml393 B
- 脚本tests/fixtures/cosign/verify.sh345 B
- 脚本tests/fixtures/ebpf/ld_preload.sh144 B
- 参考文档tests/fixtures/github-actions/.github/workflows/case-variant.yml221 B
- 参考文档tests/fixtures/github-actions/.github/workflows/flow-mapping.yml202 B
- 参考文档tests/fixtures/github-actions/.github/workflows/flow-ref.yml379 B
- 参考文档tests/fixtures/github-actions/.github/workflows/flow-step-ref.yml347 B
- 参考文档tests/fixtures/github-actions/.github/workflows/folded-ref.yml357 B
- 参考文档tests/fixtures/github-actions/.github/workflows/next-line-uses.yml360 B
- 参考文档tests/fixtures/github-actions/.github/workflows/pr-target.yml452 B
- 参考文档tests/fixtures/github-actions/.github/workflows/safe-base-ref.yml585 B
- 参考文档tests/fixtures/github-actions/.github/workflows/tag-ref.yml234 B
- 参考文档tests/fixtures/gitlab/compose.safe.yml244 B
- 参考文档tests/fixtures/gitlab/docker-compose.yml200 B
- 脚本tests/fixtures/hf/dataset.py337 B
- 参考文档tests/fixtures/hf/requirements.txt144 B
- 其他tests/fixtures/history/.zsh_history127 B
- 其他tests/fixtures/host-paths-home/.config/.rsvc3 B
- 其他tests/fixtures/host-paths-home/.pwd63 B
- 其他tests/fixtures/host-paths-home/Library/LaunchAgents/com.zoom.plist79 B
- 其他tests/fixtures/host-paths-safe/.pwd53 B
- 其他tests/fixtures/host-paths-safe/backup/Library/LaunchAgents/com.zoom.plist79 B
- 其他tests/fixtures/host-paths-safe/docker/etc/ld.so.preload—
- 参考文档tests/fixtures/intel-2026q3-safe/.github/workflows/release.yml181 B
- 其他tests/fixtures/intel-2026q3-safe/.nvmrc9 B
- 其他tests/fixtures/intel-2026q3-safe/Cargo.lock66 B
- 其他tests/fixtures/intel-2026q3-safe/composer.lock88 B
- 参考文档tests/fixtures/intel-2026q3-safe/docker-compose.yml186 B
- 其他tests/fixtures/intel-2026q3-safe/Dockerfile50 B
- 其他tests/fixtures/intel-2026q3-safe/go.sum93 B
- 其他tests/fixtures/intel-2026q3-safe/lib/apk/db/installed33 B
- 参考文档tests/fixtures/intel-2026q3-safe/package-lock.json185 B
- 其他tests/fixtures/intel-2026q3-safe/var/lib/dpkg/status81 B
- 参考文档tests/fixtures/intel-2026q3/.claude/settings.json101 B
- 参考文档tests/fixtures/intel-2026q3/.github/workflows/release.yml153 B
- 其他tests/fixtures/intel-2026q3/.nvmrc9 B
- 其他tests/fixtures/intel-2026q3/Cargo.lock115 B
- 其他tests/fixtures/intel-2026q3/composer.lock88 B
- 参考文档tests/fixtures/intel-2026q3/docker-compose.yml197 B
- 其他tests/fixtures/intel-2026q3/Dockerfile50 B
- 其他tests/fixtures/intel-2026q3/go.sum93 B
- 其他tests/fixtures/intel-2026q3/lib/apk/db/installed33 B
- 参考文档tests/fixtures/intel-2026q3/package-lock.json241 B
- 脚本tests/fixtures/intel-2026q3/scripts/sysvinit-detect-fash.sh15 B
- 脚本tests/fixtures/intel-2026q3/src/beacon.js53 B
- 其他tests/fixtures/intel-2026q3/var/lib/dpkg/status73 B
- 参考文档tests/fixtures/ioc-corrections-safe/package-lock.json575 B
- 参考文档tests/fixtures/ioc-corrections-safe/requirements.txt12 B
- 参考文档tests/fixtures/ioc-corrections/.github/workflows/scan.yml162 B
- 参考文档tests/fixtures/ioc-corrections/package-lock.json563 B
- 参考文档tests/fixtures/ioc-corrections/py-normalized/requirements.txt131 B
- 参考文档tests/fixtures/ioc-corrections/py/requirements.txt12 B
- 脚本tests/fixtures/ioc-corrections/relay.js132 B
- 其他tests/fixtures/linux/.bashrc58 B
- 其他tests/fixtures/linux/ld.so.preload45 B
- 其他tests/fixtures/litellm/site-packages/certifi-2026.9.1.dist-info/METADATA54 B
- 其他tests/fixtures/litellm/site-packages/cook.pth65 B
- 脚本tests/fixtures/litellm/site-packages/cook.py81 B
- 其他tests/fixtures/litellm/site-packages/litellm-1.107.0.dist-info/METADATA53 B
- 参考文档tests/fixtures/lockfile-formats/pnpm-v5/pnpm-lock.yaml478 B
- 参考文档tests/fixtures/lockfile-formats/pnpm-v6/pnpm-lock.yaml195 B
- 其他tests/fixtures/lockfile-formats/safe/yarn.lock239 B
- 其他tests/fixtures/lockfile-formats/yarn-berry-alias/yarn.lock400 B
- 其他tests/fixtures/lockfile-formats/yarn-v1-alias/yarn.lock363 B
- 参考文档tests/fixtures/lockfile-installed/package-lock.json293 B
- 其他tests/fixtures/macos/LaunchAgents/com.xyz.plist367 B
- 参考文档tests/fixtures/mcp-registry/tool.json344 B
- 参考文档tests/fixtures/mcp-visible/claude_desktop_config.json193 B
- 参考文档tests/fixtures/mcp/.mcp.json193 B
- 其他tests/fixtures/parser-evasion/b-host/Library/LaunchAgents/com.zoom.plist356 B
- 其他tests/fixtures/parser-evasion/c-gem-crlf/Gemfile.lock105 B
- 参考文档tests/fixtures/parser-evasion/c-req-crlf/requirements.txt36 B
- 其他tests/fixtures/parser-evasion/c-yarn-crlf/yarn.lock122 B
- 参考文档tests/fixtures/parser-evasion/d-req-bom/requirements.txt20 B
- 参考文档tests/fixtures/parser-evasion/e-jsonc/.vscode/mcp.json245 B
- 其他tests/fixtures/parser-evasion/h-egg-nover/site-packages/mistralai.egg-info/PKG-INFO53 B
- 其他tests/fixtures/parser-evasion/h-egg-pytag/site-packages/litellm-1.107.0-py3.11.egg-info/PKG-INFO76 B
- 其他tests/fixtures/parser-evasion/i-gem-platform/Gemfile.lock119 B
- 参考文档tests/fixtures/parser-evasion/j-block/.github/workflows/block.yml143 B
- 参考文档tests/fixtures/parser-evasion/k-case/.github/workflows/prt.yml295 B
- 参考文档tests/fixtures/parser-evasion/k-quoted/.github/workflows/prt.yml297 B
- 其他tests/fixtures/parser-evasion/n-codex/.codex/config.toml209 B
- 参考文档tests/fixtures/parser-evasion/o-mcp-string-args/.mcp.json320 B
- 其他tests/fixtures/php/Dockerfile47 B
- 其他tests/fixtures/php/php.ini67 B
- 其他tests/fixtures/php2shell/deb11-unknown/etc/os-release26 B
- 其他tests/fixtures/php2shell/deb11-unknown/var/lib/dpkg/status121 B
- 其他tests/fixtures/php2shell/deb12-vuln/etc/os-release26 B
- 其他tests/fixtures/php2shell/deb12-vuln/var/lib/dpkg/status247 B
- 其他tests/fixtures/php2shell/tv-86/.tool-versions29 B
- 其他tests/fixtures/php2shell/tv-9/.tool-versions29 B
- 其他tests/fixtures/php2shell/tv-ok/.tool-versions30 B
- 其他tests/fixtures/php2shell/tv-rc/.tool-versions33 B
- 其他tests/fixtures/php2shell/tv-vuln/.tool-versions30 B
- 其他tests/fixtures/php2shell/ubuntu2404-fixed/etc/os-release29 B
- 其他tests/fixtures/php2shell/ubuntu2404-fixed/var/lib/dpkg/status267 B
- 其他tests/fixtures/php2shell/ubuntu2404-vuln/etc/os-release29 B
- 其他tests/fixtures/php2shell/ubuntu2404-vuln/var/lib/dpkg/status128 B
- 参考文档tests/fixtures/r3-actions/.github/workflows/alias.yml226 B
- 参考文档tests/fixtures/r3-actions/.github/workflows/anchor.yml357 B
- 参考文档tests/fixtures/r3-actions/.github/workflows/flow-seq.yml370 B
- 参考文档tests/fixtures/r3-actions/.github/workflows/ref-case.yml372 B
- 参考文档tests/fixtures/r3-actions/.github/workflows/ref-expr.yml319 B
- 参考文档tests/fixtures/r3-actions/.github/workflows/ref-index.yml313 B
- 参考文档tests/fixtures/r3-actions/.github/workflows/ref-mcsha.yml334 B
- 参考文档tests/fixtures/r3-actions/.github/workflows/ref-merge.yml324 B
- 参考文档tests/fixtures/r3-actions/.github/workflows/tag.yml357 B
- 参考文档tests/fixtures/r3-actions/.github/workflows/tojson-lower.yml192 B
- 参考文档tests/fixtures/r3-actions/.github/workflows/tojson-star.yml154 B
- 参考文档tests/fixtures/r3-ai-instr/.claude/agents/reviewer.md23 B
- 参考文档tests/fixtures/r3-ai-instr/.clinerules/style.md23 B
- 参考文档tests/fixtures/r3-ai-instr/.github/instructions/review.instructions.md24 B
- 其他tests/fixtures/r3-ai-instr/.windsurfrules24 B
- 参考文档tests/fixtures/r3-ai-instr/AGENTS.md24 B
- 参考文档tests/fixtures/r3-ai-instr/CLAUDE.local.md24 B
- 参考文档tests/fixtures/r3-ai-instr/emoji/CLAUDE.md33 B
- 参考文档tests/fixtures/r3-ai-instr/GEMINI.md23 B
- 参考文档tests/fixtures/r3-ai-instr/vs-run/CLAUDE.md18 B
- 参考文档tests/fixtures/r3-archive/requirements.txt55 B
- 其他tests/fixtures/r3-crlf-toolversions/crlf/.tool-versions26 B
- 其他tests/fixtures/r3-dpkg/removed/var/lib/dpkg/status78 B
- 其他tests/fixtures/r3-dpkg/ubuntu/etc/os-release29 B
- 其他tests/fixtures/r3-dpkg/ubuntu/var/lib/dpkg/status81 B
- 其他tests/fixtures/r3-hosts-space/my etc/hosts27 B
- 脚本tests/fixtures/r3-ioc-case/upper/p.js85 B
- 其他tests/fixtures/r3-lockfiles/bun/bun.lock218 B
- 参考文档tests/fixtures/r3-lockfiles/bun/package.json47 B
- 其他tests/fixtures/r3-lockfiles/bunb/bun.lockb45 B
- 其他tests/fixtures/r3-lockfiles/deno/deno.lock127 B
- 参考文档tests/fixtures/r3-mcp-evasion/benign-node/.mcp.json93 B
- 参考文档tests/fixtures/r3-mcp-evasion/benign-python/.mcp.json108 B
- 参考文档tests/fixtures/r3-mcp-evasion/bom/.mcp.json91 B
- 参考文档tests/fixtures/r3-mcp-evasion/cmd/.mcp.json74 B
- 参考文档tests/fixtures/r3-mcp-evasion/deno/.mcp.json114 B
- 参考文档tests/fixtures/r3-mcp-evasion/nodeeval/.mcp.json121 B
- 参考文档tests/fixtures/r3-mcp-evasion/norc/.mcp.json103 B
- 参考文档tests/fixtures/r3-mcp-evasion/perl/.mcp.json98 B
- 参考文档tests/fixtures/r3-mcp-evasion/pwsh/.mcp.json111 B
- 参考文档tests/fixtures/r3-mcp-evasion/ruby/.mcp.json100 B
- 参考文档tests/fixtures/r3-mcp-evasion/xc/.mcp.json94 B
- 脚本tests/fixtures/r3-nul/p.js37 B
- 脚本tests/fixtures/r3-nul/t.sh54 B
- 参考文档tests/fixtures/r3-pkgjson/bom/package.json74 B
- 参考文档tests/fixtures/r3-pkgjson/postprepare/package.json56 B
- 参考文档tests/fixtures/r3-pkgjson/prepare/package.json67 B
- 参考文档tests/fixtures/r3-pkgjson/trailing/package.json72 B
- 其他tests/fixtures/r3-pth/distutils/site-packages/distutils-precedence.pth151 B
- 其他tests/fixtures/r3-pth/editable/site-packages/__editable__.demo-1.0.pth87 B
- 其他tests/fixtures/r3-pth/getattr/site-packages/zz_helper.pth112 B
- 其他tests/fixtures/r3-pth/paths/site-packages/paths.pth26 B
- 其他tests/fixtures/r3-pth/plain/site-packages/zz_plain.pth24 B
- 其他tests/fixtures/r3-pth/system/site-packages/zz_helper.pth49 B
- 其他tests/fixtures/r3-pth/virtualenv/site-packages/_virtualenv.pth19 B
- 脚本tests/fixtures/r3-skillpact-script/lib/impl.py239 B
- 参考文档tests/fixtures/r3-symlink-config/cfg/servers.json83 B
- 参考文档tests/fixtures/r3-symlink-config/cfg/t.json112 B
- 参考文档tests/fixtures/r3-symlink-config/ev/.mcp.json19 B
- 参考文档tests/fixtures/r3-symlink-config/ev/.vscode/tasks.json16 B
- 脚本tests/fixtures/r3-vcs-nested/lib/.hg/q.js33 B
- 脚本tests/fixtures/r3-vcs-nested/lib/.svn/p.js33 B
- 参考文档tests/fixtures/r3-vcs-nested/package.json60 B
- 其他tests/fixtures/r4-build-backend/bare/pyproject.toml44 B
- 其他tests/fixtures/r4-build-backend/hash/pyproject.toml41 B
- 其他tests/fixtures/r4-build-backend/line/pyproject.toml47 B
- 其他tests/fixtures/r4-build-backend/quoted/pyproject.toml55 B
- 其他tests/fixtures/r4-build-backend/safe/pyproject.toml54 B
- 其他tests/fixtures/r4-build-backend/single/pyproject.toml43 B
- 其他tests/fixtures/r4-build-backend/triple/pyproject.toml49 B
- 其他tests/fixtures/r4-build-backend/unterminated/pyproject.toml50 B
- 其他tests/fixtures/r4-crlf-dockerfile/a/Dockerfile67 B
- 其他tests/fixtures/r4-crlf-dockerfile/b/Dockerfile24 B
- 其他tests/fixtures/r4-launchagent/LaunchAgents/blank.plist69 B
- 其他tests/fixtures/r4-launchagent/LaunchAgents/ok.plist89 B
- 其他tests/fixtures/r4-launchagent/LaunchAgents/split.plist65 B
- 其他tests/fixtures/r4-launchagent/LaunchAgents/tail.plist67 B
- 其他tests/fixtures/r4-launchagent/LaunchDaemons/intel.plist89 B
- 其他tests/fixtures/r4-pickle/a.pt—
- 其他tests/fixtures/r4-pickle/model.PKL—
- 其他tests/fixtures/r4-pickle/models/c.BIN—
- 其他tests/fixtures/r4-pickle/w.Pickle—
- 其他tests/fixtures/r4-pickle/weights.PTH—
- 其他tests/fixtures/r4-pickle/x_node_modules/b.pt—
- 其他tests/fixtures/r4-python/.python-version6 B
- 其他tests/fixtures/r4-python/fixed/.python-version15 B
- 其他tests/fixtures/r4-python/img/Dockerfile87 B
- 其他tests/fixtures/r4-python/old/.python-version7 B
- 其他tests/fixtures/r4-vcs-root/.hg/store/a.pkl—
- 参考文档tests/fixtures/r4-vcs-root/.hg/store/package.json44 B
- 其他tests/fixtures/r4-vcs-root/.svn/entries14 B
- 脚本tests/fixtures/r4-vcs-root/src/index.js41 B
- 参考文档tests/fixtures/r5-agent-hook/AGENTS.md9 B
- 参考文档tests/fixtures/r5-agent-hook/broken/.cursor/hooks.json59 B
- 参考文档tests/fixtures/r5-agent-hook/escaped/.claude/settings.local.json112 B
- 参考文档tests/fixtures/r5-agent-hook/hook/.claude/settings.json295 B
- 参考文档tests/fixtures/r5-agent-hook/mcp-only/.claude/settings.json171 B
- 其他tests/fixtures/r5-bom/a/.python-version10 B
- 其他tests/fixtures/r5-bom/b/.python-version8 B
- 其他tests/fixtures/r5-bom/c/.nvmrc11 B
- 其他tests/fixtures/r5-bom/e/.gitconfig45 B
- 参考文档tests/fixtures/r5-bom/f/CLAUDE.md22 B
- 其他tests/fixtures/r5-dockerfile/bom/Dockerfile30 B
- 其他tests/fixtures/r5-dockerfile/cr/Dockerfile21 B
- 其他tests/fixtures/r5-dockerfile/digest/Dockerfile119 B
- 其他tests/fixtures/r5-dockerfile/flagonly/Dockerfile18 B
- 其他tests/fixtures/r5-dockerfile/nbsp/Dockerfile18 B
- 其他tests/fixtures/r5-dockerfile/platform/Dockerfile60 B
- 其他tests/fixtures/r5-dockerfile/vt/Dockerfile18 B
- 其他tests/fixtures/r5-dockerfile/wheel/Dockerfile33 B
- 参考文档tests/fixtures/r5-hidden/emoji/AGENTS.md28 B
- 参考文档tests/fixtures/r5-hidden/filler/CLAUDE.md13 B
- 参考文档tests/fixtures/r5-hidden/shy/CLAUDE.md19 B
- 其他tests/fixtures/r5-pickle/a/.pkl—
- 其他tests/fixtures/r5-pickle/a/.PT—
- 其他tests/fixtures/r5-pickle/a/model.pKl—
- 其他tests/fixtures/r5-pickle/x_node_modules/m.pkl—
- 其他tests/fixtures/r5-plist/a/LaunchAgents/a.plist297 B
- 其他tests/fixtures/r5-plist/b/LaunchAgents/b.plist149 B
- 其他tests/fixtures/r5-plist/c/LaunchAgents/c.plist137 B
- 其他tests/fixtures/r5-plist/d/LaunchDaemons/d.plist132 B
- 其他tests/fixtures/r5-pyproject/bom/pyproject.toml43 B
- 其他tests/fixtures/r5-pyproject/decoy/pyproject.toml144 B
- 其他tests/fixtures/r5-pyproject/inline/pyproject.toml86 B
- 其他tests/fixtures/r5-pyproject/literal/pyproject.toml71 B
- 其他tests/fixtures/r5-pyproject/nbsp/pyproject.toml78 B
- 其他tests/fixtures/r5-pyproject/othertable/pyproject.toml59 B
- 其他tests/fixtures/r5-pyproject/pathonly/pyproject.toml50 B
- 参考文档tests/fixtures/r6-agent-hook/cursor/.cursor/hooks.json101 B
- 参考文档tests/fixtures/r6-agent-hook/deep/.mcp.json663 B
- 参考文档tests/fixtures/r6-agent-hook/esc/.claude/settings.json146 B
- 参考文档tests/fixtures/r6-agent-hook/lenient/.claude/settings.json111 B
- 参考文档tests/fixtures/r6-agent-hook/nan/.mcp.json66 B
- 参考文档tests/fixtures/r6-agent-hook/nl/.mcp.json98 B
- 参考文档tests/fixtures/r6-agent-hook/tasks/.vscode/tasks.json102 B
- 其他tests/fixtures/r6-dockerfile/cont/Dockerfile32 B
- 其他tests/fixtures/r6-dockerfile/digest/Dockerfile109 B
- 其他tests/fixtures/r6-dockerfile/escape/Dockerfile31 B
- 其他tests/fixtures/r6-dockerfile/twice/Dockerfile82 B
- 其他tests/fixtures/r6-dockerfile/user/Dockerfile98 B
- 其他tests/fixtures/r6-gitconfig/bools/.gitconfig63 B
- 其他tests/fixtures/r6-gitconfig/case/.gitconfig47 B
- 其他tests/fixtures/r6-gitconfig/cont/.gitconfig49 B
- 其他tests/fixtures/r6-gitconfig/crlf/.gitconfig49 B
- 其他tests/fixtures/r6-gitconfig/header/.gitconfig48 B
- 其他tests/fixtures/r6-gitconfig/headerssh/.gitconfig40 B
- 其他tests/fixtures/r6-gitconfig/hookspath/.gitconfig29 B
- 其他tests/fixtures/r6-gitconfig/lastwins/.gitconfig68 B
- 其他tests/fixtures/r6-gitconfig/lonecr/.gitconfig62 B
- 其他tests/fixtures/r6-gitconfig/u2028/.gitconfig64 B
- 其他tests/fixtures/r6-pyproject/decoyarray/pyproject.toml156 B
- 其他tests/fixtures/r6-pyproject/inarray/pyproject.toml108 B
- 参考文档tests/fixtures/sbom/package-lock.json370 B
- 参考文档tests/fixtures/sbom/sbom.json199 B
- 参考文档tests/fixtures/skillpact-policy/policies/broken.json747 B
- 参考文档tests/fixtures/skillpact-policy/policies/strict-ci.json700 B
- 参考文档tests/fixtures/skillpact-README.md1.8 KB
03 SKILL.md 正文
ZES detection skill (zes-scan)
- incident_bundle:
ZES-2026-OCT-EMERGENCY-V5.2 - Layer: detection layer (read-only). It does not make decisions or remediate
Language: this file is in English, but answer the user in the language they use (for example, reply in Japanese to a user who writes in Japanese). Keep identifiers, paths, JSON keys and finding fields as they are.
[detection skill] zes-scan … read-only, contract checks, divergence detection
↓ findings.json (with skillpact fields)
[decision skill] ZET (zero-exec-triage) … impact assessment of divergence, exception approval
↓ remediation-plan.json
[remediation skill] GER (gated-exec-remediation) … executes only after explicit approval
Absolute rules
- Zero-Execution: do not execute the code, scripts or packages under inspection.
npm install/pip install/ running scripts withphp/ loading the target's code withnode/python/ running.shfiles of fixtures or skills are forbidden. - Do not read out contents: do not output or quote file contents as detection results. Handle only paths, severity and metadata (size, mtime, hash).
- Do not modify: do not rewrite the scan target, SkillPact contracts (skill.contract.json) or policies.
- fail-closed: when
statusispartial/error, orerrors[]is not empty, report the affected modules as "unconfirmed". Do not restate 0 findings as safe. - Signatures and L3 are not grounds for trust: ZES does not verify SkillPact signatures and does not judge L2/L3 (
levelis "L1" only when the skill passes ZES's partial checks). Even in SkillPact, L3 does not mean "safe".
Detection modes
./zes-scan.sh --quick --root <dir> --json # §1–19
./zes-scan.sh --standard --root <dir> --json # §1–35
./zes-scan.sh --full --root <dir> --json # §1–49
./zes-scan.sh --worm --root <dir> --json # §15/18/25/45
./zes-scan.sh --skillpact --root <skills-dir> --json [--skillpact-cache <dir>] # §49 (experimental)
Procedure:
- Pass the directory the user specified to
--root. If it is unclear, ask (do not scan/or~on your own initiative). - Run with
--jsonand save findings.json from standard output (standard error is the human-readable log). - Report the result:
status, counts by severity, themodule/campaign/path/detailof CRITICAL/HIGH findings, anderrors[](unconfirmed modules). - §49 (experimental) statically checks whether the permissions an AI agent skill declares (
skill.contract.jsonin SkillPact 0.8 format) match what its code actually does. In the report, listskillpact.divergence(undeclared effects: read / write / network / exec / spend / send),signedanddiff_anomalyalongside. Writesigned: trueas "has a signature field (not verified)", and never describe it as "safe" or "verified". Skills without a contract are not compared (reference INFO only) and are not treated as a problem. - Even when you propose remediation steps, do not execute them. Finish by giving the path of the findings.json to hand to ZET.
Do not include in the report: file contents, secret values, token strings.
IoC extraction mode (§8.1)
Extract the following from new threat intelligence (URL / text) and draft additions to rules/ioc.json.
campaignname (teampcp-mini-shai-hulud/chaindrop-keyv/pypi-oct2026/solana-typosquat/post-shaihulud/symjack/deadbugz/neighborjack/skillpact-*, etc.)- Package name, compromised versions and safe version (both
bad_versionsandsafe_version) - Malicious file names and hashes (SHA-256 only)
- Network IoCs (C2 domains / IPs / exfiltration destinations; defang with the
[.]form and write URLs ashxxp) - Infrastructure CVEs (version ranges and fixed versions for TeamCity / Artifactory / GitLab / Docker / Kernel / Sigstore)
- Detection techniques (preinstall hook / SymJack / OIDC theft / runtime gate / ownership-transfer extension / build hook / model supply chain / anti-forensics / eBPF / LD_PRELOAD)
- SkillPact (§49): cases where a SkillPact 0.8 contract (
permissions.<effect>.level) diverges from observed behavior (undeclaredexec/network/spend/send,readof sensitive files,writeoutside the work area), permission expansion without a major version bump (spec §17), and new code patterns for estimating observed behavior (skillpact.observed_effect_patternsinrules/ioc.json, etc.)
Notes on extraction:
- Corroborate with primary sources (official vendor advisories, GitHub Advisory, OSV, NVD, CISA KEV, official registries) and cite the source URLs. Mark values you cannot confirm as "unconfirmed"; do not fill them in by guessing.
- When sources contradict each other, record both and state which value you adopted and why.
- Record the result of checking against existing data in the format of
docs/ioc-verification.md(match / differs / could not confirm).
Merge rules (§8.2 / §13)
- When an entry duplicates the existing
ioc.json, merge percampaign. - Update
incident_bundletoZES-2026-OCT-EMERGENCY-V5.2(when bumping, also updateINCIDENT_BUNDLEinzes-scan.shandCHANGELOG.md). - No orphan IoCs (tie every entry to a
campaign). - Write
packages[]as one entry per line, for the grep fallback. - After adding entries, add a reproduction fixture to
tests/fixtures/, regeneraterules/campaigns/*.jsonwithtests/run-tests.sh --sync-campaigns, and passtests/run-tests.shandtests/zero-exec.sh.
Hand-off to the decision and remediation layers
- The detection skill ends by outputting findings.json. Exception approval and deadline setting are ZET's responsibility; change operations are GER's.
- The decision layer does not modify a finding's
id/level/module. The remediation layer does not read findings.json directly (seedocs/skill-contracts.md).
04 同仓库更多 Skills
case
conformance case
standalone
ZES fixture without a contract
case
conformance case
helper
repo helper skill
v08-valid-signed
conformance case
case
conformance case