このレポートには指定された言語の翻訳がありません。代わりに正規の英語レポートを表示しています。

バージョン付きセキュリティ評価

レポートID: SA-286D37C9

8/5/2026, 11:37:02 AM

port-allocator セキュリティ評価 v5

スキルセキュリティ認証レポート

監査履歴
スキャナーバージョン 3.0.0 監査モデル: codex 最新の公開済みレポート
スキル名
port-allocator
バージョン
v5
メンテナー
guo-yu
カバレッジ
5 スキャンされたファイル · 722 解析済み行数
ポリシーバージョン
skillstore-security-audit-policy-v1

確認済みの検出結果における最高重大度

高

2 件の確認済みセキュリティ検出結果に対応が必要です。

インストールのコンテキスト

現在のスキルページを確認

このページはレポートの証拠のみを要約しています。正規のインストール勧告は Skill ページで提供されます。

現在のスキルページを開く

このレポートは、マニフェストまたは ZIP をブロックも承認もしません。

Most static alerts are false positives caused by Markdown backticks, translated text, path references, and /dev/null. Confirmed risks include forceful process termination, persistent global instruction edits, and broad unattended access to ~/.claude files. The documented registry update also lacks concurrency control.

レポートの位置

最新の公開済みレポート

「最新」はレポートの順序を指し、アーティファクトの最新性を指すものではありません。

監査アテステーション

有効な証明

この完全に一致するレポートには公開証明があります。

人による検証

未検証

このレポートには人による検証は記録されていません。

カバレッジ

5 スキャンされたファイル · 722 解析済み行数

レビュー対象の項目を 20 件表示

制限事項

このレポートはランタイムまたはサンドボックスでの実行を主張するものではなく、副作用がないことを証明するものでもありません。

証拠チェーン

ソースバインディングからインストール契約まで証拠をたどってください。利用可能な証拠は検証を支援しますが、安全性を保証するものではありません。

  1. ソース

    コミットとパスにバインド済み

  2. アーティファクト

    コンテンツとツリーのハッシュがバインド済み

  3. 監査

    完了

  4. インストール契約

    検証するためにマニフェストを開く

    マニフェストを開く

確認された機能

「確認」とは、このレポートで裏付けとなる証拠が記録されていることを意味します。「記録なし」は、機能が存在しないことを証明するものではありません。

スクリプトを含む

Skillに含まれるコードを実行する場合があります。

この監査では記録されていません

ネットワークアクセス

外部サービスに接続する場合があります。

この監査では記録されていません

ファイルシステムへのアクセス

ローカルファイルの読み取りまたは書き込みを行う可能性があります。

30 件の証拠箇所で確認

環境変数

プロセス環境から値を読み取る可能性があります。

この監査では記録されていません

外部コマンド

Skillの外部にあるコマンドまたはプログラムを呼び出す場合があります。

54 件の証拠箇所で確認

機能レビュー項目 (18)
高
Hidden file in home directory
`~/.claude/CLAUDE.md` を更新する際は、**ユーザーの既存コンテンツを保持する必要があります**:
The instructions direct the agent to modify the user's global ~/.claude/CLAUDE.md. Persistent global instruction changes can affect unrelated future sessions and projects.
高
Hidden file in home directory
"Bash(cat ~/.claude/*)",
The permission entry authorizes cat across ~/.claude/*, exceeding the files required for port allocation. This broad read can expose unrelated configuration or secret-bearing files without confirmation.
高
Hidden file access
`~/.claude/CLAUDE.md` を更新する際は、**ユーザーの既存コンテンツを保持する必要があります**:
The instructions direct the agent to modify the user's global ~/.claude/CLAUDE.md. Persistent global instruction changes can affect unrelated future sessions and projects.
高
Hidden file access
"Bash(cat ~/.claude/*)",
The permission entry authorizes cat across ~/.claude/*, exceeding the files required for port allocation. This broad read can expose unrelated configuration or secret-bearing files without confirmation.
高
Hidden file in home directory
When updating `~/.claude/CLAUDE.md`, **must preserve the user's existing content**:
The instructions direct the agent to modify the user's global ~/.claude/CLAUDE.md. Persistent global instruction changes can affect unrelated future sessions and projects.
高
Hidden file in home directory
"Bash(cat ~/.claude/*)",
The permission entry authorizes cat across ~/.claude/*, exceeding the files required for port allocation. This broad read can expose unrelated configuration or secret-bearing files without confirmation.
高
Hidden file access
When updating `~/.claude/CLAUDE.md`, **must preserve the user's existing content**:
The instructions direct the agent to modify the user's global ~/.claude/CLAUDE.md. Persistent global instruction changes can affect unrelated future sessions and projects.
高
Hidden file access
"Bash(cat ~/.claude/*)",
The permission entry authorizes cat across ~/.claude/*, exceeding the files required for port allocation. This broad read can expose unrelated configuration or secret-bearing files without confirmation.
高
Hidden file in home directory
更新 `~/.claude/CLAUDE.md` 时,**必须保留用户原有内容**:
The instructions direct the agent to modify the user's global ~/.claude/CLAUDE.md. Persistent global instruction changes can affect unrelated future sessions and projects.
高
Hidden file in home directory
"Bash(cat ~/.claude/*)",
The permission entry authorizes cat across ~/.claude/*, exceeding the files required for port allocation. This broad read can expose unrelated configuration or secret-bearing files without confirmation.
高
Hidden file access
更新 `~/.claude/CLAUDE.md` 时,**必须保留用户原有内容**:
The instructions direct the agent to modify the user's global ~/.claude/CLAUDE.md. Persistent global instruction changes can affect unrelated future sessions and projects.
高
Hidden file access
"Bash(cat ~/.claude/*)",
The permission entry authorizes cat across ~/.claude/*, exceeding the files required for port allocation. This broad read can expose unrelated configuration or secret-bearing files without confirmation.
中
xargs command (can execute arbitrary commands)
lsof -ti:3000 | xargs kill -9 2>/dev/null
The documented command sends PIDs from lsof for a fixed port to kill -9. It can forcibly terminate an unrelated process that happens to occupy the port.
中
xargs command (can execute arbitrary commands)
lsof -ti:3001 | xargs kill -9 2>/dev/null
The documented command sends PIDs from lsof for a fixed port to kill -9. It can forcibly terminate an unrelated process that happens to occupy the port.
中
xargs command (can execute arbitrary commands)
lsof -ti:3000 | xargs kill -9 2>/dev/null
The documented command sends PIDs from lsof for a fixed port to kill -9. It can forcibly terminate an unrelated process that happens to occupy the port.
中
xargs command (can execute arbitrary commands)
lsof -ti:3001 | xargs kill -9 2>/dev/null
The documented command sends PIDs from lsof for a fixed port to kill -9. It can forcibly terminate an unrelated process that happens to occupy the port.
中
xargs command (can execute arbitrary commands)
lsof -ti:3000 | xargs kill -9 2>/dev/null
The documented command sends PIDs from lsof for a fixed port to kill -9. It can forcibly terminate an unrelated process that happens to occupy the port.
中
xargs command (can execute arbitrary commands)
lsof -ti:3001 | xargs kill -9 2>/dev/null
The documented command sends PIDs from lsof for a fixed port to kill -9. It can forcibly terminate an unrelated process that happens to occupy the port.

リスク指摘

確認済みのセキュリティ上の懸念事項は、引き続きレビューが必要な項目と分けて表示されます。

確認済みのセキュリティ上の懸念 (2)

RISK-001 高
Overbroad unattended shell permissions
The allow workflow edits Claude Code settings to permit wildcard find, lsof, and cat commands without repeated confirmation. The cat pattern covers every direct child of ~/.claude, which exceeds port allocation needs.
The permission list and instruction to merge it into permissions.allow are explicit. The broad ~/.claude wildcard is directly visible in the documented configuration.
RISK-002 中
Non-atomic port allocation across concurrent sessions
The workflow checks the registry, chooses the next range, and then updates the file without a locking or atomic recheck step. Concurrent sessions can assign the same ports and later terminate each other's processes.
The documented read-check-allocate-write sequence is explicit, while no synchronization step is specified. This matters because the skill claims to coordinate multiple Claude Code instances.

是正措置

この監査で推奨される修正が記録されています。これらを適用する責任はメンテナーにあります。

  1. FIX-001
    高
    The allow workflow grants wildcard shell access to ~/.claude and broad process inspection commands.
    Remove Bash(cat ~/.claude/*), scope commands to exact required files and trusted project roots, and request confirmation before changing permissions.
  2. FIX-002
    高
    The workflow modifies the global ~/.claude/CLAUDE.md file.
    Use project-scoped instructions instead. Show a proposed diff and require explicit confirmation before any global instruction change.
  3. FIX-003
    中
    Restart examples immediately send kill -9 to every PID listening on an allocated port.
    Verify each PID belongs to the current project, request confirmation, send a normal termination signal first, and reserve kill -9 for failed shutdowns.
  4. FIX-004
    中
    Port allocation uses a read-check-write sequence without documented synchronization.
    Lock the registry during allocation, write through an atomic replacement, and recheck availability before committing a range.

専門家による証拠

不変の対象ID、スキャナーメタデータ、除外された一致項目、およびソースレベルの証拠。

アーティファクト主体

Marketplace コミット
286d37c9c189ddd1aafd3548415fb031d1df79d5
コンテンツハッシュ
11e6a5d72f7f08d84144fe6e2fe740f5a25cd8477ef5e4acc78ad9fb5d365149
ツリーハッシュ
1d85017d0fc12f7da93f727b37a51041add286b5b565fc7aa17047a44e2d8b8c
Skill パス
skills/guo-yu/port-allocator
監査ペイロードハッシュ
9324d5a7f8632a4b0315597898f67dad

分析メタデータ

監査モデル: codex

分析状態: 完了

対象範囲は、記録されたファイル、行、メソッド、および証拠に限定されます。ランタイムまたはサンドボックスでの実行は主張していません。

検証とエクスポート

マニフェストとロックファイルは、インストール成果物を暗号学的ハッシュに結び付けます。この完全性に関する主張は、セキュリティ評価とは別のものです。

監査アテステーション: active