本文へ移動
cccskills
Codex 公式無料GitHub で公開日本語紹介

publish-findings

複数のセキュリティ製品の検出結果を、証拠や保存先を確認してからローカルまたはCodex Security Cloudへ取り込むスキルです。

原文原文の説明を見る

Import selected Snyk Open Source findings, Semgrep Code CLI/CI reports, Endor Labs findings, GitHub code-scanning alerts or GHSA advisories, or Wiz package vulnerabilities, SAST, repository secrets, and IaC findings locally or to Codex Security Cloud after previewing the destination and evidence. Prefers native JSON; also supports Snyk plugin SCA bundles, Snyk Open Source and Semgrep Code SARIF, endorctl SARIF, saved GitHub JSON/JSONL, Wiz normalized JSONL and repository package-vulnerability CSV, and gzip; does not import workload secrets or cloud configuration, run a scan, assess findings, or synchronize triage decisions.

連携ツールGitHub

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • 既存の検出レポートをローカル保存したいとき
  • 証拠を確認してCloudへ取り込みたいとき
  • GitHubの警告やGHSAを選んで取り込む
  • 保存件数と除外理由の確認

日本語での紹介

できること

Snyk Open Source、Semgrep Code、Endor Labs、GitHub、Wizの検出結果を、ローカルまたはCodex Security Cloudへ取り込みます。保存先、元の証拠、除外対象を事前に確認し、取り込み後は保存件数や失敗理由を報告します。各製品の対応するJSONを優先し、一部のSARIFやCSV、gzip圧縮ファイルも扱います。

こんなときに便利

既存のセキュリティレポートを取り込み、調査用の証拠として残したいときに向いています。GitHubの特定のコードスキャン警告や、GHSAの脆弱性情報だけを選んで取り込む用途にも使えます。

使い方の例

  • 「このSemgrep CodeのJSONを、対象リポジトリのローカル保存先へ取り込んで」
  • 「Wizの検出結果をCloudへ送る前に、保存先と除外対象を見せて」

注意点

codex-security publish findingsが必要です。Cloudへの送信には、対応するログイン、接続済みリポジトリ、プレビュー後の明示的な承認が必要です。ローカル取り込みにはCloudログインは不要です。取り込む内容は未評価の証拠であり、このスキル自体はスキャン、検出結果の評価、修正、元製品への判断の同期を行いません。対応形式と対象範囲は製品ごとに異なります。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(3)

  • SKILL.md18.5 KB
  • agents/openai.yaml292 B
  • references/wiz-import.md7.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Publish external findings

Use the installed codex-security publish findings command for preview and import. Select --to local for the local workbench or --to cloud for Cloud. The command owns source mapping, persistence, and Cloud authentication and retries. Do not implement another store or uploader or put credentials in command arguments.

Select the evidence

Prefer the provider's supported native JSON from its authenticated CLI, plugin, or API. Keep the original records and complete the requested pagination. A JSON summary or a different product's API response is not interchangeable with the documented report. Use SARIF or CSV only when the installed provider reader supports that profile and native JSON is unavailable or the user supplies that format. Do not convert a richer JSON report to SARIF for import.

Use the same acquisition format for repeated imports. Check the provider's identity rules before switching formats: another format can create a separate record or replace a richer snapshot with less detail. Importing findings does not reconcile equivalent vulnerabilities across formats. --format json controls command output, not the input report format; readers detect their supported inputs.

Import locally

Use a local repository path with --repository. No Cloud login is required.

codex-security publish findings /path/to/selected-wiz-findings.json \
  --to local --repository /path/to/project --provider wiz \
  --source-key TENANT_ID/vulnerability-finding --dry-run --format json

Show the repository, source namespace, normalized evidence, and exclusions. After confirmation, repeat without --dry-run, adding --yes. Keep approval when the user already approved this preview and the input and destination are unchanged.

Read the stored evidence with codex-security findings imported /path/to/project --format json; the repository defaults to the current directory. Report created, updated, unchanged, and excluded counts, including exclusion reasons when the command exits 1.

Local records remain unassessed source evidence, separate from findings list and completed scans. Repeated imports use the same repository/provider/source-key/source-ID identity; omitted records remain stored. When a source repository URL and local Git remotes are available, the URL must match a remote. Local import does not publish to Cloud or automatically investigate or patch findings.

Endor Labs findings

For Endor Labs imports, prefer native Finding JSON from authenticated endorctl, scoped to one project and context. Omit --field-mask and fetch all pages with --list-all:

endorctl api list --resource Finding --namespace "YOUR_NAMESPACE" \
  --filter 'context.type==CONTEXT_TYPE_MAIN and spec.project_uuid=="PROJECT_UUID"' \
  --list-all --output-type json > endor-findings.json
codex-security publish findings endor-findings.json --to local \
  --provider endor --repository /path/to/project \
  --source-key "YOUR_NAMESPACE/PROJECT_UUID/main" --dry-run --format json

Choose a project that corresponds to the selected local checkout or Cloud repository. To publish the same export to Cloud, use --to cloud --repository "CLOUD_REPOSITORY_ID". For a different branch or scan context, change the Endor filter and keep a distinct, stable source key. The official Endor Labs Agent Kit for Codex can help with setup and investigation; its summaries, counts and field-masked results do not replace complete Finding objects. The CLI API supplies the export. The importer reads that saved file; it does not maintain an Endor API connection or write changes back to Endor.

Native JSON retains severity, scanned commit, package and advisory data, and primary SAST/AI SAST locations. Existing self-contained endorctl SARIF is a lossy compatibility format that retains finding UUIDs and links; unavailable severity or revisions stay unknown. Both formats use the Endor UUID within the selected repository and source key as identity. Importing SARIF after native JSON updates the same record by replacing its evidence snapshot, not merging it: native detail absent from SARIF is removed from that snapshot. Use native JSON consistently for ongoing imports. Keep the original evidence and inspect exclusions. Imported records remain unassessed source evidence. For local imports, use the preview and readback procedure above; for Cloud, use the publication procedure below.

Wiz findings

Read Wiz import formats before preparing input. Use an authorized Wiz MCP or Wiz API connection; a configured plugin may provide it, but do not assume an official Codex plugin is available. Prefer supported native JSON. Inspect actual records, finish the requested pagination, and save only the selected evidence with its original occurrence IDs. A supplied export is also supported. Summaries, Wiz Issues, and local CLI scan results are not automatically supported finding records.

Validate the acquisition path against actual responses from an authorized Wiz tenant; local parser checks do not establish that qualification. Direct CSV input covers repository package vulnerabilities (SCA) only, not SAST or cloud posture findings, and does not provide a complete Wiz code-to-cloud integration.

Use a stable Wiz tenant/finding namespace as --source-key; a project filter does not create a new identity. Confirm the selected assets or builds belong to the destination repository. Do not infer source branches or revisions from the current checkout, invent missing evidence, or import vendor credentials, unrelated records, or local assessments as original scanner evidence. Do not retrieve or test credentials or apply suggested fixes.

Snyk Open Source

Prefer the official Snyk Codex plugin when available. Ask its snyk-findings-export skill for SCA only from the repository’s Git root and save the snyk-findings-export/v1 bundle. It scans the current workspace through local MCP; it cannot list existing platform projects or retrieve earlier findings. Do not substitute a fresh scan for a request to read a platform backlog. Authentication, relevant Snyk access and the project's package tooling are required.

Import the bundle with --provider snyk, choosing --to local --repository /path/to/project or --to cloud --repository https://github.com/example/project. Use a stable repository/branch/scan-target/acquisition namespace such as github.com/example/project/main/root/plugin-sca. Check the bundle's scan outcomes, collection completeness and limitations alongside the preview. Only Open Source SCA vulnerability records are supported; other categories are explicit exclusions. Preserve the native MCP record and unavailable fields. MCP descriptions may be shortened and alternate dependency paths omitted; do not reconstruct missing evidence. Plugin v1 paths are target-relative without a Git-root offset, so the importer keeps them in original evidence instead of repository locations. Use a distinct source key for each scan target. Ignore status is a source policy decision, not a Codex assessment or a fix.

For CLI automation, prefer snyk test --file=package.json --json-file-output=snyk-open-source.json from the selected repository root. Exit 1 means vulnerabilities were found; stop on other nonzero exits instead of importing a stale file. The existing --provider snyk autodetects native JSON (one project or an --all-projects array), plugin JSON and Open Source SARIF. Native JSON preserves per-dependency-path records and remediation fields; do not use --group-issues. Project errors stop import. Native JSON paths also lack a Git-root offset and stay in original evidence. Only Open Source SCA vulnerabilities are imported: licenses, Code, Container, IaC and platform backlog ingestion are outside this adapter.

Use one format consistently per repository, branch and scan target, with a stable source key such as github.com/example/project/main/root/native-sca. Plugin, native JSON and SARIF have distinct identities; use separate keys when switching, without claiming cross-format deduplication or removal of older records. Existing snyk test --sarif-file-output=snyk-open-source.sarif reports remain a compatibility path. SARIF groups advisory occurrences and exposes one package coordinate, so prefer JSON for acquisition. Its target-relative manifest paths lack a Git-root offset and stay in original evidence with synthetic line numbers, without being projected as repository locations or package manifest paths.

Retain package versions, reported fixed versions, provenance and original evidence without claiming a fix was applied. Known repository claims must match the selected Cloud repository or, when available, a configured local Git remote. Resolve an unknown repository with the user; never infer that an export belongs to the current checkout. Follow local imports for preview, confirmation and readback or Cloud publication for upload authorization. All three Snyk formats support either destination.

Semgrep Code

Prefer native Code/SAST CLI or CI JSON for this reader; use self-contained SARIF 2.1.0 as a compatibility path. JSON retains the original severity better than SARIF. The reader does not accept Platform API, Guardian or MCP response envelopes, or a general Supply Chain or Secrets feed. Select SAST rules or Code-only CI output; identifiable non-SAST records are excluded, but SARIF may omit the product metadata needed to distinguish Secrets.

For a user-requested new scan, use the installed Semgrep CLI from the source repository root with the selected SAST rules: semgrep scan --config /path/to/sast-rules.yaml --json-output /path/to/semgrep.json .. Existing CI jobs can produce the same artifact using --json-output; authenticated semgrep ci --code follows the job's policy and baseline scope. Explain that this generates fresh scan findings, and do not substitute it for a request to retrieve existing Platform findings.

For existing findings, the official Semgrep Guardian Codex plugin can help select and inspect them. Importing its output needs a separate qualified response mapping and complete pagination for the selected repository/ref. The local semgrep_findings MCP tool and Platform REST API also use contracts distinct from CLI reports. Do not reshape a summary into a scan report or claim that a limited tool response is a complete export.

Import the native report with --provider semgrep, a stable organization/project/branch --source-key, and --source-repository-url identifying the actual source repository. Use --to local --repository /path/to/project for local storage or --to cloud --repository URL_OR_ID for Cloud. The source URL is checked against configured local Git remotes or the Cloud destination. Preview with --dry-run --format json before confirming the import.

Keep supplied fingerprints. Reimporting the same fingerprint after code moves updates the existing source record with the new range. If the fingerprint is absent or requires login, the fallback uses rule, literal path and range: movement creates a second retained record, and the earlier record remains stored. Do not infer a merge or deletion. Read the persisted evidence with codex-security findings imported /path/to/project --format json before assessment. Source rule, CWE, snippets, traces and status are vendor evidence, not Codex assessments. Do not infer a report revision from the current checkout. Resolve scan errors and review all exclusions before uploading; do not remove error metadata to force acceptance.

GitHub alerts and advisories

Acquire code-scanning findings with codex-security import github OWNER/REPO --format json and save its complete JSON output for local import or Cloud publication. This existing collector completes pagination, fetches alert details, and retains the selected ref's instance. In Codex, use the official GitHub Codex plugin for discovery and selecting alerts, then pass that selection to the collector. Its GitHub MCP server paginates each list call separately. Do not ask the user to download JSON from a website or reconstruct an import envelope from MCP summaries; raw MCP/API responses are not accepted by --provider github.

The importer uses the user's GitHub CLI authentication and GH_HOST; plugin authentication is separate. It defaults to open alerts on the default branch. Use repeated --github-alert NUMBER for exact alerts or --github-ref REF for another ref. Save complete output without field/token filters or --full-output. Reading code-scanning alerts requires a token with Code scanning alerts read permission (classic: security_events, or public_repo for public repositories), along with repository access.

GHSA import stages advisory evidence for investigation; it does not establish an installed dependency or applicability to the destination repository. Keep advisories separate from code scanning. codex-security import github-advisories OWNER/REPO --format json reads published repository disclosures by default. Repeated --github-advisory GHSA-xxxx-xxxx-xxxx selects exact IDs; --github-state draft|triage|closed explicitly selects an unpublished list and cannot be combined with exact IDs. Add --github-advisory-source global for exact public database IDs. This does not enumerate the global database. Private advisory access needs Repository security advisories read permission and access to those records. Stop on a read failure instead of publishing an incomplete selection.

codex-security import github example/project --format json > /path/to/alerts.json
codex-security publish findings /path/to/alerts.json \
  --to local --repository /path/to/project --provider github \
  --source-key github.com/example/project/code-scanning --dry-run --format json
codex-security publish findings /path/to/alerts.json \
  --to cloud --repository https://github.com/example/project --provider github \
  --source-key github.com/example/project/code-scanning --dry-run --format json

codex-security import github-advisories example/project \
  --github-advisory-source global --github-advisory GHSA-2345-6789-cfgh \
  --format json > /path/to/advisories.json
codex-security publish findings /path/to/advisories.json \
  --to cloud --repository https://github.com/example/project --provider github \
  --source-key github.com/example/project/security-advisories --dry-run --format json

Choose the local or Cloud preview for the intended destination. GHSA input supports the same choice: use --to local --repository /path/to/project with the advisory file and source key. Follow local imports for confirmation and readback or Cloud publication for upload review.

Use separate stable source keys for the two families. Code-scanning identities include the ref; repository alerts and advisories must match the selected Cloud repository or, when available, a configured local Git remote. Global advisories omit source-repository provenance and are bound to the explicit local or Cloud destination for investigation. Preserve original evidence, package ranges and patches; do not infer installed packages or source locations from an advisory. Missing security severity stays unknown. Dismissal, resolution and withdrawal are source state, not Codex assessment. This path does not import Dependabot or secret-scanning alerts or write back to GitHub.

Publish to Cloud

Resolve the user's destination to a connected GitHub or GitHub Enterprise repository URL or Cloud repository ID, including custom Enterprise hosts. Confirm the intended Cloud account and an authorized repository environment. Use the existing file-backed ChatGPT login; explain a missing or incompatible login rather than changing credential storage automatically.

For another Cloud deployment, read Deployment settings before previewing. Keep the selected deployment and login throughout the upload.

Preview and approve

codex-security publish findings /path/to/selected-wiz-findings.json \
  --to cloud --repository https://github.com/example/project --provider wiz \
  --source-key TENANT_ID/vulnerability-finding --dry-run --format json

Show the Cloud API endpoint, account, repository, environments, source namespace, severity counts, and exclusions. Identify the evidence file and make the complete JSON preview available for inspection without pasting a large report into the conversation. Explain that vendor evidence is not a Codex assessment.

Obtain explicit confirmation for this concrete upload, including skipped records. Then run the same command without --dry-run, adding --yes. Authorization to inspect or assess findings alone does not authorize sending them to Cloud. Keep approval when the user already approved this preview and the input and destination are unchanged.

Upload and report

Read Results and recovery, including when the process exits nonzero. After a lost response or retryable failure, repeat the command with unchanged input and destination so the publisher resumes saved requests. A lost response does not mean nothing reached Cloud. A repository reset requires fresh discovery and confirmation before a new publication.

Report verified, unacknowledged, excluded, and failed records distinctly, retaining source IDs and recovery details. Receipts and source-record readback confirm stored vendor evidence; they do not establish a Codex assessment or visibility in the shared Cloud Findings view. Include the returned cloudUrl as a clickable repository link when available; do not invent a UI link from the API endpoint.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

assess-patch-risk

Codex 公式無料概要あり

固定したパッチやPR差分の影響範囲、不具合の起こりやすさ、テストによる保護、復旧のしやすさを調べ、マージ判断と自動マージ候補の可否を助言するスキル。

  • 生成パッチの取り込み判断
  • PR変更の本番影響を調べたいとき
  • テストと切り戻し手段の評価
openai/codex-security1.1万2026年10月24日 更新

attack-path-analysis

Codex 公式無料概要あり

セキュリティ上の指摘について、攻撃者の入口から影響箇所までをコードの証拠で追跡し、反証や既存対策も踏まえて深刻度と報告の要否を判断するスキル。

  • 指摘の悪用経路を確認したいとき
  • 既存対策を踏まえ深刻度を見直したいとき
  • 報告前に反証を検討したいとき
openai/codex-security1.1万2026年10月24日 更新

cloud-findings

Codex 公式無料概要あり

接続済みのCodex Security Cloudから、既存の脆弱性の指摘やレポート、担当者、検証記録、スキャン状況を読み取り、確認できた範囲を整理します。

  • Cloudの指摘リンクを確認したいとき
  • 重要度・担当者別の指摘一覧
  • 保存済みの検証・修正チェックの確認
openai/codex-security1.1万2026年10月24日 更新

deep-security-scan

Codex 公式無料概要あり

リポジトリ全体や指定ディレクトリを独立した複数回のセキュリティ監査にかけ、検証済みの指摘と調査範囲を集約したレポートを作成するスキル。

  • リポジトリ全体を繰り返し監査したいとき
  • 指定ディレクトリを詳しく調べたいとき
  • 検証済みの指摘と調査範囲の集約
openai/codex-security1.1万2026年10月24日 更新

define-security-policy

Codex 公式無料概要あり

リポジトリのセキュリティ確認範囲や守るべき条件、対象外の項目を整理し、コードの実態に合うSECURITY.mdの作成・見直し・更新を支援するスキル。

  • リポジトリの確認範囲を定めたいとき
  • 守るべきセキュリティ条件の文書化
  • 既存方針とコードの整合性確認
openai/codex-security1.1万2026年10月24日 更新

finding-discovery

Codex 公式無料概要あり

リポジトリやコード変更から脆弱性の候補を探し、攻撃者が操作する入力、問題のある処理や防御、影響箇所を根拠とともに整理して検証につなげるスキル。

  • コード変更による安全性への影響確認
  • リポジトリ内の脆弱性候補の調査
  • 後続の検証に向けた根拠整理
openai/codex-security1.1万2026年10月24日 更新

openai のスキルをすべて見る

このスキルの問題を報告する