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

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

レポートID: SA-B94843B1

7/4/2026, 4:48:44 PM

claude-code-headless セキュリティ評価 v6

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

監査履歴
監査モデル: codex 最新の公開済みレポート
スキル名
claude-code-headless
バージョン
v6
メンテナー
0xDarkMatter
カバレッジ
4 スキャンされたファイル · 914 解析済み行数
ポリシーバージョン
利用不可

Current license

MIT

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

高

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

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

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

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

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

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

The audit did not find prompt-injection language or hidden malware instructions. Most static command, environment, filesystem, and network hits are documentation examples, but web endpoint examples and permission guidance create real operational risks. Publishing should require clearer guardrails for permissions, web exposure, CI secrets, and automated edits.

レポートの位置

最新の公開済みレポート

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

監査アテステーション

証明不可

必要な不変のバインディングは不完全です。

人による検証

未検証

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

カバレッジ

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

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

制限事項

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

証拠チェーン

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

  1. ソース

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

  2. アーティファクト

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

  3. 監査

    完了

  4. インストール契約

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

    マニフェストを開く

確認された機能

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

スクリプトを含む

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

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

ネットワークアクセス

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

2 件の証拠箇所で確認

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

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

2 件の証拠箇所で確認

環境変数

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

5 件の証拠箇所で確認

外部コマンド

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

89 件の証拠箇所で確認

機能レビュー項目 (3)
高
Node.js child_process module
const { spawn } = require('child_process');
The import is used by an Express endpoint that accepts prompt and tools from req.body before spawning Claude Code. That context makes process execution a real exposure without authentication and allowlist controls.
高
Process spawn
const claude = spawn('claude', args);
The spawned Claude Code process receives arguments built from request-controlled prompt and tool values. It avoids shell interpolation, but it still lets external callers influence agent actions.
高
Python subprocess.run
proc = subprocess.run(args, capture_output=True, text=True)
The FastAPI example passes request prompt and tool values to subprocess.run for Claude Code. Without authentication, validation, and fixed tool allowlists, this is an unsafe automation surface.

リスク指摘

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

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

RISK-001 高
Unsafe Permission Bypass Guidance
The skill describes bypassPermissions as a mode that skips all prompts. In headless automation this can remove the final approval step before tool use.
The cited lines directly describe prompt bypass behavior. No example executes bypassPermissions, but the guidance lacks safety constraints for a risky mode.
RISK-002 高
Request-Controlled Claude Code Web Execution
The web examples pass request-controlled prompts and tool selections into Claude Code process execution without showing authentication, validation, or fixed allowlists.
The cited Express and FastAPI examples directly connect request body fields to spawned Claude Code arguments. The code avoids shell interpolation, but exposes agent control.
RISK-003 中
Automated Edits In CI Examples
Several examples combine headless execution with automatic edits or write-capable tools. Without branch isolation and review gates, CI could change files unexpectedly.
The cited lines show acceptEdits or write-capable tool combinations in automation examples. The risk depends on deployment controls, so confidence is high but not absolute.

是正措置

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

  1. FIX-001
    高
    Permission bypass guidance can normalize unsafe headless runs.
    Add warnings that bypassPermissions is only for trusted, sandboxed workflows. Prefer narrow allowedTools and explicit disallowedTools examples.
  2. FIX-002
    高
    Web API examples accept caller-selected prompts and tools.
    Add authentication, rate limits, prompt validation, a fixed tool allowlist, and an isolated worker process.
  3. FIX-003
    中
    CI examples can auto-edit files while secrets are available.
    Use read-only defaults, scoped secrets, masked logs, protected branches, and human review before merge.
  4. FIX-004
    中
    Shell examples rely heavily on command substitution.
    Show safer alternatives using stdin, files, arrays, and quoted variables. Warn against untrusted prompt files and repository content.

専門家による証拠

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

アーティファクト主体

Marketplace コミット
b94843b1014e2052f8a7cd64f580a4023b48fd5f
コンテンツハッシュ
39c6664ecaa9190b9d6db2335a1893471b335171ce48c2ffee78bf0f64ef1b70
ツリーハッシュ
5a62a1ff11ffbd3a6f207aa8dd54b2a54e9d6334cddf1048b6e6e5dc7fe9f28c
Skill パス
skills/0xdarkmatter/claude-code-headless
監査ペイロードハッシュ
6de609c9733f98075b0a65de484c4f6b

分析メタデータ

監査モデル: codex

分析状態: 完了

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

検証とエクスポート

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

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