Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
codex-security — OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security | Kitploit
도구/GitHubGitHub/openai/codex-security
Vulnerability ScannersStatic Code Analysis (SAST)DevSecOps
GitHubopenai/codex-security

codex-security

OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

저장소 보기웹사이트
9.6k66212시간 57분 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

Codex Security

@openai/codex-security is a CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities in your code.

See the Codex Security documentation for more details.

Some cybersecurity requests and protected findings require approval through Trusted Access for Cyber. To apply or check your access, visit chatgpt.com/cyber.

Quick start

Requires Node.js 22.13.0 or later in the 22.x release line, Node.js 24.x, or Node.js 26.x; Python 3.10 or later; and access to Codex Security.

root@kitploit:~
npm install @openai/codex-security
npx @openai/codex-security login
npx @openai/codex-security scan .
npx @openai/codex-security scan . --model gpt-5.6-terra --effort high
npx @openai/codex-security scan . --scan-prompt-file scan.md --post-scan-prompt-file follow-up.md
npx @openai/codex-security scan . --mode deep --workers 2 --subagents 0 --stop-after-no-new 3 --max-discovery-runs 10 --max-time-hours 1.5

For CI, set OPENAI_API_KEY or CODEX_API_KEY instead of signing in. Environment API keys are passed directly to the current scan and are never stored in Codex's credential home or system keyring.

Deep-scan discovery stops after 96 hours by default. Set --max-time-hours to any positive number of hours, including fractional hours, up to 96. Completed findings are preserved and returned when the limit is reached.

To use another inference provider, set its API key and select a model:

root@kitploit:~
export OPENROUTER_API_KEY="<your-openrouter-api-key>"
npx @openai/codex-security scan . --provider openrouter --model anthropic/claude-sonnet-4.5

export FIREWORKS_API_KEY="<your-fireworks-api-key>"
npx @openai/codex-security scan . --provider fireworks --model accounts/fireworks/models/qwen3-235b-a22b

export AWS_BEARER_TOKEN_BEDROCK="<your-bedrock-api-key>"
export AWS_REGION="us-east-2"
npx @openai/codex-security scan . --provider amazon-bedrock --model openai.gpt-5.6-luna

Amazon Bedrock also supports standard AWS access keys, profiles, web identity, container credentials, and the default AWS credential chain.

Local sign-in honors Codex's configured credential backend, including a system keyring required by a managed device. Codex Security keeps login and scan credentials in the same private, persistent state directory.

If both a ChatGPT sign-in and an API key are available, interactive scans ask which credential to use. CI and other noninteractive scans keep the existing API-key precedence. Select a credential explicitly when needed:

root@kitploit:~
npx @openai/codex-security scan . --auth chatgpt
npx @openai/codex-security scan . --auth api-key

To make your ChatGPT sign-in the automatic default, unset any configured API keys:

root@kitploit:~
unset OPENAI_API_KEY CODEX_API_KEY

Scan history is stored in the Codex Security workbench state directory. If that directory cannot be written, set CODEX_SECURITY_STATE_DIR to a writable directory outside the repository.

findings list [repository] shows open findings across a repository's scans and identifies findings not confirmed in its latest scan.

scans compare BEFORE_SCAN_ID AFTER_SCAN_ID automatically matches findings by root cause, reuses saved matches, and identifies new, persisting, reopened, resolved, or unknown findings. Missing findings remain unknown when coverage is incomplete or their original location was not reviewed.

Publish scan findings

Publish every finding from a completed scan to a Linear team:

root@kitploit:~
npx @openai/codex-security publish scan /path/to/scan \
  --to linear \
  --linear-team TEAM_ID

Add --project PROJECT_ID to place the issues in a Linear project, or omit it to create issues directly in the team. Omit the scan directory to select a completed scan interactively. You can also set CODEX_SECURITY_LINEAR_TEAM and the optional CODEX_SECURITY_LINEAR_PROJECT instead of passing the destination flags. Add --dry-run to preview the issues or --json to return machine-readable results.

By default, publishing uses your existing Codex sign-in and connected Linear app without a separate Linear token. To publish directly through the Linear API instead, set CODEX_SECURITY_LINEAR_API_KEY to a Linear personal API key. Direct publication leaves issues unassigned by default; pass --linear-assignee EMAIL_OR_USER_ID to select a Linear user:

root@kitploit:~
export CODEX_SECURITY_LINEAR_API_KEY=YOUR_LINEAR_PERSONAL_API_KEY
npx @openai/codex-security publish scan /path/to/scan \
  --to linear \
  --linear-team TEAM_ID \
  --project PROJECT_ID \
  --linear-assignee [email protected]

Use --linear-assignee USER_ID to select a Linear user ID instead of an email address, or omit the flag to leave the issues unassigned.

--linear-api-key KEY also selects direct publication and takes precedence over the environment variable. Prefer the environment variable to keep API keys out of shell history and process listings. Every finding creates a new issue containing the scan ID, affected code locations, source snippets, and remediation guidance. Choose a destination authorized to receive the repository's source code and vulnerability details.

Verbose diagnostics

Add --verbose to print scan diagnostics to stderr:

root@kitploit:~
npx @openai/codex-security scan . --verbose

CODEX_SECURITY_LOG_LEVEL=debug also enables diagnostics; LOG_LEVEL=debug is its fallback. JSON results remain on stdout.

Verbose diagnostics may contain sensitive data. Review local logs before sharing them. Saved failure summaries, bulk-scan receipts, and the interactive dashboard omit messages that contain recognizable credentials.

Use npx @openai/codex-security scans logs SCAN_ID to inspect saved session events from a scan and its workers.

TypeScript SDK

root@kitploit:~
import { CodexSecurity } from "@openai/codex-security";

const security = new CodexSecurity();
const result = await security.run(".");
await security.run(".", {
  mode: "deep",
  workers: 2,
  subagents: 0,
  stopAfterNoNew: 3,
  maxDiscoveryRuns: 10,
  maxTimeHours: 1.5,
});

console.log(result.reportPath);
await security.close();

Containerized bulk scans

Use the official image and included Docker Compose configuration for noninteractive, resumable scans of repositories pinned to immutable Git revisions. See the container quick start for authentication, private result storage, and optional Ubuntu AppArmor hardening.

Pass --knowledge-base PATH to share security documents with every repository; repeat the option for multiple files or directories.

Use --scan-prompt-file PATH to add shared scan instructions, and add a prompt CSV column for repository-specific instructions. Use --post-scan-prompt-file PATH to run a follow-up after each scan, including incomplete or failed scans.

For complete command help, runtime defaults, native multi-agent worker limits, environment variables, deep-scan configuration, and SDK options, see the package README and the official CLI reference.

도구 다운로드