# Trust Audit

> |

- **Type:** Skill
- **Install:** `agentstack add skill-hikaruegashira-agent-skills-trust-audit`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [HikaruEgashira](https://agentstack.voostack.com/s/hikaruegashira)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [HikaruEgashira](https://github.com/HikaruEgashira)
- **Source:** https://github.com/HikaruEgashira/agent-skills/tree/main/meta/skills/trust-audit

## Install

```sh
agentstack add skill-hikaruegashira-agent-skills-trust-audit
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

## 監査の前提

正しさを売るツールでは、信頼が通貨。**false positive は false negative より採用に致命的**: 1 件の誤検知が「狼少年」を生み、以降の全 finding が無視される(linter 疲労)。TTFV を超えて到達したユーザーが「価値を信用し続ける確率」を、出力設計が決める。

多くのツールは binary pass/fail を強制し、証拠不足の場面で**嘘をつく**。信頼設計とは、この嘘をつかない仕組みを持つこと。

## 監査ステップ

### 1. verdict モデルを見る(嘘をつかない設計)

出力が binary(pass/fail)か、それとも証拠不足を表現できる中間状態を持つか。証拠が無いのに「合格」と言うのは嘘であり、信頼を毀損する。

libverify を監査

verdict 分類: `Satisfied / Violated / Indeterminate / Not Applicable`(README, crates の registry/assessment)。
`Indeterminate` = 証拠不足を正直に表明する状態。`Not Applicable` = 対象外を明示。
binary を強制せず4値を持つ → 嘘をつかない設計 → 強い。
profile が verdict を pass/review/fail に写像(gate 判断は別レイヤ)→ 判定と gate の分離も良い。

### 2. rollout の勾配を見る(信頼を稼いでから gate へ)

初回からいきなり enforce(CI を落とす)だと、最初の FP で見捨てられる。報告のみ → 信頼獲得 → gate、の勾配があるか。

gh-verify

`--audit` モード = 報告するが CI を落とさない(main.rs の after_help, README Adoption Path)。
Adoption Path: Evaluate(--audit)→ Tune(--policy/--exclude)→ Enforce(--audit 外す)→ Scale。
信頼を稼いでから gate に移る勾配が明示 → 強い。

### 3. 誤検知の出口を見る(suppression の使い勝手)

FP が出たとき、ユーザーがそれを安全に・局所的に黙らせられるか。出口が無いと1件の FP がツール全体の放棄に直結する。

gh-verify

`--exclude ` で個別 control を抑制、`--policy oss` で OSS 向けに緩和(main.rs の CommonOpts, conflicts_with で exclude/only 排他)。
誤検知を全体放棄でなく局所抑制に変換 → 強い。

### 4. FP feedback loop を見る

FP rate を観測・分類して potency を継続的に上げる機構があるか(real-world 検証、TP/FP 分類、policy/adapter/control 層での修正ループ)。

## スコアリング・ルーブリック (0-10)

| スコア | 状態 |
|--------|------|
| 0-2 | binary pass/fail のみ。証拠不足でも断定。suppression 無し。FP で即全放棄を招く |
| 3-5 | binary だが exclude はある。audit モード無し。FP 計測なし |
| 6-7 | Indeterminate 相当の中間状態 or audit-first、どちらか + suppression |
| 8-9 | 中間 verdict + audit-first rollout + 局所 suppression を満たす |
| 10 | 上記全て + FP feedback loop で potency を継続改善。判定と gate を分離 |

出力 finding を持たない純ライブラリ等は Not Applicable(スコアを捏造しない)。

## 出力フォーマット

`_workspace/02_trust_calibrator.md` に:

```markdown
# Trust Audit: 
## スコア: N/10 — 
## verdict モデル

## rollout 勾配

## suppression

## FP feedback loop

## 信頼リスクと提案
| Severity | リスク | 位置 | 提案 |
|----------|--------|------|------|
```

## アンチパターン(減点対象)

| パターン | なぜ減点 |
|----------|----------|
| 証拠不足でも binary 断定 | 嘘 = 信頼毀損 |
| いきなり enforce(audit モード無し) | 最初の FP で見捨てられる |
| suppression が無い/全体 off のみ | 1件の FP がツール全放棄に直結 |
| FP rate を計測しない | potency が改善しない、信頼が下がり続ける |
| 判定と gate が密結合 | ユーザーが厳しさを調整できない |

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [HikaruEgashira](https://github.com/HikaruEgashira)
- **Source:** [HikaruEgashira/agent-skills](https://github.com/HikaruEgashira/agent-skills)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-hikaruegashira-agent-skills-trust-audit
- Seller: https://agentstack.voostack.com/s/hikaruegashira
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
