본문으로 건너뛰기
Skillpedia
보안81k · #1653

harness-oia-audit

하는 일

이 스킬은 하네스에 세 가지 정적 점검을 실행하고, 결합된 결과를 날짜가 적힌 감사 기록으로 저장합니다. 정기 감사를 시간에 따라 비교하려는 팀을 위한 스킬입니다.

사용하는 경우

  • ✓하네스의 전체 감사를 한 번에 하고 싶을 때.
  • ✓드리프트를 잡으려고 주간 감사를 돌리고 싶을 때.
  • ✓가장 심각한 발견이 높은 수준이면 실패하는 점검을 원할 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-oia-audit/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-oia-audit/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“하네스의 전체 감사를 실행해 저장해 주세요. 다음 주에 비교할 수 있게요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 레이어 정렬, 위협 모델, 도구 스캔 점검을 실행하고, 발견된 가장 심각한 수준을 택해 감사 메모리에 기록을 저장합니다. 가장 심각한 발견이 설정한 수준에 이르면 오류로 종료할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

The 13th worker (ADR-150 Phase 2) — runs three MetaHarness static surfaces in one shot, computes a composite worst-severity signal, and persists the audit record to memory so drift over time is visible.

Algorithm

Implementation: scripts/oia-audit.mjs.

  1. Run harness oia-manifest <path> — Open Infrastructure Architecture layer alignment (L1-L9).
  2. Run harness threat-model <path> — categorized MCP-surface threat report with worst: clean|low|medium|high.
  3. Run harness mcp-scan <path> — per-server/tool policy + permissions
    • dep findings.
  4. Composite worst = max(threatModel.worst, max(mcpScan.findings.severity)).
  5. Persist payload to memory namespace metaharness-audit with key audit-<iso-timestamp> (unless --dry-run).
  6. --alert-on-worst <severity>: exit 1 if composite worst ≥ threshold.

Graceful degradation

When ALL three components report metaharness-not-available, the script emits the standard degraded payload and exits 0. When only some are degraded, each individual component carries its own degraded: true flag in the audit record — the audit still runs and persists what it could gather.

CI / cron integration

Designed for weekly cron in .github/workflows/:

on:
  schedule:
    - cron: '17 4 * * 0'  # Sundays at 04:17 UTC
jobs:
  oia-audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
      - run: node plugins/ruflo-metaharness/scripts/oia-audit.mjs --alert-on-worst high

--alert-on-worst high fails the job on any HIGH-severity finding; drift below HIGH is logged but doesn't block.

Memory namespace

Each audit run stores under metaharness-audit:audit-<iso-ts>. To list recent audits:

npx @claude-flow/cli@latest memory list --namespace metaharness-audit --limit 10

To diff two audits (drift detection):

A=$(npx ... memory retrieve --key audit-2026-06-01... --namespace metaharness-audit)
B=$(npx ... memory retrieve --key audit-2026-06-15... --namespace metaharness-audit)
# Compare composite.worst, components.threatModel.worst, etc.

A future ADR can wire this into a dedicated cost-diff-style diff viewer specifically for audit drift.

Pairs with

  • harness-threat-model — the underlying threat-model component
  • harness-mcp-scan — the underlying MCP-scan component
  • harness-score + harness-genome — readiness metrics (orthogonal to audit)
자주 묻는 질문

어떤 점검이 포함되나요?

레이어 정렬, 도구 표면의 위협 모델, 도구 정책과 권한 스캔이 포함됩니다.

일부 점검을 쓸 수 없으면 어떻게 되나요?

감사는 여전히 실행되며, 수집할 수 있었던 부분만 기록하고 없는 부분은 저하된 상태로 표시합니다.

일정에 따라 실행할 수 있나요?

네. 소스는 CI 워크플로에서 주간 예약 실행을 보여 줍니다.

상세 정보

작성자의 원본 설명

Composite Phase-2 audit worker (ADR-150). Bundles harness oia-manifest + threat-model + mcp-scan into one timestamped audit record stored in the `metaharness-audit` memory namespace. Designed for cron-scheduled drift detection.

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1653
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬