본문으로 건너뛰기
cccskills
무료GitHub에 공개

threat-model

MCP threat-model artifact for a scaffolded harness. Reports allowed/denied tools, dangerous permissions count, secrets reachability, network/shell/file-write grants, default-deny posture. Verdict: clean (exit 0) / medium (exit 1) / high (exit 2). The 'enterprise gold' artifact for PR + compliance review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

threat-model

Codex skill: MCP threat-model artifact for PR / compliance review (iter 112 → iter 114). User-labelled "enterprise gold."

What it does

Renders the existing mcp-scan findings as a clean threat-model artifact in the shape a security / compliance reviewer wants to see attached to a PR:

MCP Threat Model

  Allowed tools:         3
  Denied tools:          14
  Dangerous permissions: 0
  Secrets reachable:     no
  Network access:        no
  Shell access:          no
  File write:            no
  Default-deny policy:   yes
  Audit log:             yes

Verdict: clean (exit 0)

Same underlying scan as mcp-scan, presented as a single-screen artifact.

VerdictExitTriggers
clean0no dangerous perms, no secret exposure
medium1network OR file-write granted, OR no audit log
high2shell granted OR default-deny OFF OR secrets reachable

The "secrets reachable" heuristic is conservative: true when MCP is in use AND deny rules don't guard .env* AND allow rules include any Read(...) grant.

Usage from Codex

/threat-model path=./my-harness
/threat-model path=./my-harness bundle=true

Equivalent CLI

harness threat-model ./my-harness                # text artifact
harness threat-model ./my-harness --json         # full envelope
harness threat-model ./my-harness --bundle       # ADR-031 schema-1
harness threat-model ./my-harness --out tm.json  # write to file

When to attach this to a PR

  • Adding a new MCP server / tool
  • Loosening a permission allow rule
  • Pulling in a new dependency that exposes shell/network capabilities
  • Any change to .harness/mcp-policy.json or .claude/settings.json permissions

The artifact is small enough to paste verbatim into the PR description.

Related skills

  • validate-harness (iter 22) — release-readiness umbrella (includes mcp-scan)
  • score-harness (iter 114) — broader 0-100 scorecard; MCP safety is one of its 5 dimensions
  • repo-genome (iter 114) — pre-scaffold readiness; MCP risk is one of its 7 sections

See also

  • ADR-022 — MCP primitive · ADR-030 — Discovery Loop · ADR-031 — Bundle Pattern

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Diff two scaffolded harnesses (ADR-031). Reports manifest meta drift + host list + per-file fingerprint changes (added/removed/changed). Exits 0 IDENTICAL, 1 DRIFT, 2 missing manifest. Use --bundle for the ADR-031 schema-1 JSON envelope.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ruvnet/metaharness7092026년 10월 20일 업데이트

Scaffold your own focused AI agent harness — pick host (Claude Code, Codex, pi.dev, Hermes), template, agents, skills, and ship a npm-publishable harness with its own npx CLI. Use when a user asks to "create my own agent harness", "scaffold a harness", "make a custom Claude Code plugin like ruflo", or "build a vertical AI assistant for X".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ruvnet/metaharness7092026년 10월 20일 업데이트

Kernel-version skew check (ADR-027). Reports manifest surface + manifest kernel + installed kernel + verdict (match/patch-diff/minor-diff/major-diff). Exits 1 on minor/major skew with a copy-pasteable `npm install @metaharness/kernel@X.Y.Z` next step. Exits 2 if no .harness/manifest.json at path.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ruvnet/metaharness7092026년 10월 20일 업데이트

evolve

무료

Evolve this harness with Darwin Mode — frozen model, evolving harness (real, sandboxed, safety-gated).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ruvnet/metaharness7092026년 10월 20일 업데이트

Scaffold a ready-made AI agent harness in one command from the 19 published @metaharness/* example packages — 9 host integrations (Claude Code, Codex, Hermes, pi.dev, OpenClaw, RVM, Copilot, OpenCode, GitHub Actions) + 10 vertical pods (devops, research, trading, support, legal, coding, education, sales, gaming, repo-maintainer).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ruvnet/metaharness7092026년 10월 20일 업데이트

GCP Secret Manager integration: validate setup, fetch values, or confirm an NPM_TOKEN is non-revoked via `npm whoami`. Used for publish-time token rotation without long-lived keys in CI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ruvnet/metaharness7092026년 10월 20일 업데이트

ruvnet의 스킬 모두 보기

이 스킬의 문제 신고