Validate changesets in openai-agents-js using LLM judgment against git diffs (including uncommitted local changes). Use when packages/ or .changeset/ are modified, or when verifying PR changeset compliance and bump level.
日本語の概要は準備中です。原文の説明を表示しています。
Audit or fix sensitive-data exposure in JS SDK diagnostics, exceptions, logging, and telemetry.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Inventory every runtime log sink, classify each dynamic value against the documented logger-flag contract, and fix every demonstrated model/tool input/output leak in scope. If no leak is demonstrated, report that result and leave runtime code unchanged.
Do not claim automated taint analysis. The inventory proves sink coverage and provides lexical review hints; it does not classify a value as sensitive. Source-to-sink classification still requires code tracing.
The two logger flags have a narrow contract:
dontLogModelData suppresses LLM inputs and outputs.dontLogToolData suppresses tool inputs and outputs.They are not general "hide every caller-configurable string" flags. Agent names, tool names, model names, session IDs, call IDs, trace/span IDs, response IDs, counts, byte lengths, durations, enum values, booleans, status codes, and similar operational metadata are not sensitive under this contract merely because an application can choose their values. Treat one of these as sensitive only when concrete source tracing proves that the field carries or is derived from actual model/tool input or output, or when a separate documented policy explicitly covers it.
git status --short --branch and the current commit.packages/agents-core/src/config.ts and helpers in packages/agents-core/src/logger.ts before judging call sites.Run the deterministic inventory from the repository root:
node .agents/skills/sensitive-logging-audit/scripts/inventory-logging.mjs --format json > /tmp/sensitive-logging-before.json
node .agents/skills/sensitive-logging-audit/scripts/inventory-logging.mjs --summary-only
Run its tests before relying on the report:
node --test .agents/skills/sensitive-logging-audit/scripts/inventory-logging.test.mjs
Review the complete JSON ledger. Do not stop after the first confirmed leak. Prioritize:
console.* calls, because they bypass Logger policy.JSON.stringify, schema formatting, or toErrorMessage.Inventory signals are lexical prioritization hints only. A tool, model, or payload hint is not a finding and does not override source tracing.
Assign one disposition to every dynamic entry:
model: may contain model requests, responses, Realtime model events, or derived values.tool: may contain tool arguments, outputs, tool events, MCP payloads, or derived values.model+tool: may contain either class.operational: contains SDK diagnostics or metadata outside the documented model/tool input-output contract.uncertain: source tracing is incomplete; investigate before deciding.Record file, line, fingerprint, disposition, evidence, and action in the task notes. A variable name or log message is not sufficient evidence. Trace producers, formatters, callbacks, and thrown-value ownership.
Use this decision gate before calling any candidate a leak:
If any step is missing, keep the candidate uncertain or classify it as operational; do not modify runtime code.
Do not prove a leak by putting a sentinel into an operational name or identifier. That only proves that the field is logged, not that it falls under the model/tool-data contract. Caller configurability, by itself, is not sensitivity evidence.
Before changing runtime code, use $implementation-strategy and follow the repository's compatibility decision. Then implement the narrowest shared-boundary fix.
logModelActionError or logToolActionError for error-level paths.model+tool, redact when either relevant policy disables data logging.error.constructor, stack, message, cause, proxy properties, or supplemental payloads.toString, proxy, or constructor cases for ordinary SDK-owned metadata objects.When a candidate is not a leak, keep the code unchanged and record the concrete source-to-sink reason.
Read the redaction validation matrix and cover every changed sensitive path. At minimum test:
Error, string, object, supplemental payload, constructor override, revoked Proxy, and throwing getPrototypeOf cases where arbitrary thrown values are accepted;Prefer focused unit tests at the real caller boundary. Helper-only tests do not prove all call sites use the helper.
Do not add tests that expect agent names, tool names, model names, or IDs to disappear solely because a model/tool-data flag is enabled. Such a test silently broadens the public contract instead of validating it.
Run the inventory again:
node .agents/skills/sensitive-logging-audit/scripts/inventory-logging.mjs --format json > /tmp/sensitive-logging-after.json
Compare the before/after findings by fingerprint and inspect every new or changed dynamic call. Revisit the full candidate list, not only edited files. The completion report must state:
Do not report completion while a demonstrated leak remains in scope.
packages/ changed, use $changeset-validation and ensure every affected package has an appropriate changeset.$code-change-verification and rerun the full stack after the final fix.$pr-draft-summary after all edits and verification.Lead with whether any real model/tool payload leaks were found. Separate confirmed leaks from conservative review candidates and operational metadata. Include the inventory counts, affected paths, adversarial cases, verification results, and remaining uncertainty. Do not present candidate counts as vulnerability counts, and do not equate a clean inventory shape with proof that all dynamic values are non-sensitive.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Validate changesets in openai-agents-js using LLM judgment against git diffs (including uncommitted local changes). Use when packages/ or .changeset/ are modified, or when verifying PR changeset compliance and bump level.
日本語の概要は準備中です。原文の説明を表示しています。
Run the required final install, build, type, lint, test, and format checks after eligible SDK changes pass review.
日本語の概要は準備中です。原文の説明を表示しています。
Fix the tiny credit-note formatting bug and rerun the exact targeted test command.
日本語の概要は準備中です。原文の説明を表示しています。
Analyze CSV files in /mnt/data and return concise numeric summaries.
日本語の概要は準備中です。原文の説明を表示しています。
Audit or update authored English SDK documentation within a requested topic or diff using implementation evidence.
日本語の概要は準備中です。原文の説明を表示しています。
Analyze logs and source from a completed repository example run. Never execute or control examples.
日本語の概要は準備中です。原文の説明を表示しています。