Codex Security Review logo

Codex Security Review

Community
lauvsong
Codex-security-review

Codex 보안 설정(settings.json, bash-guardrail.py, rules/)의 빈틈과 일관성을 검수하는 스킬. Use when: "보안 검수", "security review", "가드레일 점검", "/Codex-security-review" 등

Overview

Publisherlauvsong
Repositoryclaude-soul
Skill nameCodex-security-review
Stars
36
Forks
3
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by lauvsong on GitHub. Read the source before you install it.

Installation

Install the Codex Security Review AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/lauvsong/claude-soul/tree/main/skills/claude-security-review
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lauvsong/claude-soul.git /tmp/claude-soul
mkdir -p .claude/skills
cp -r /tmp/claude-soul/skills/claude-security-review .claude/skills/Codex-security-review
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Codex Security Review in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Codex Security Review on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Codex Security Review is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Codex Security Review — 보안 설정 검수

settings.json(Hook 연결), guardrail.py(실행 차단), rules/(정책 선언) 두 계층의 보안 설정을 체크리스트 기반으로 점검한다. 보안 차단은 Hook(guardrail.py) 단일 계층에 위임하며, settings.json의 deny 배열은 사용하지 않는다.

Workflow

  1. 아래 3개 파일을 읽는다 (이 레포의 소스 파일, ~/.Codex/ 아님):
    • settings.json
    • hooks/bash-guardrail.py
    • rules/01-safety-approvals.md
  2. 체크리스트 항목별로 pass/fail/warn 판정한다.
  3. 결과를 표로 출력한다.

Checklist

A. settings.json

보안 차단은 Hook(guardrail.py) 단일 계층에 위임. deny 배열은 사용하지 않음.

#항목판정 기준
A1시크릿 미포함TOKEN, SECRET, PASSWORD, KEY, CREDENTIAL 등의 값이 없어야 함
A2Hook 연결 확인PreToolUse에 Bash/Read/Edit/Write 매처가 guardrail.py를 호출하도록 설정되어 있어야 함
A3ask 미사용allow/deny only 원칙 준수. ask 섹션이 없거나 비어있어야 함

B. bash-guardrail.py

#항목판정 기준
B1PROTECTED_FILES 범위settings.json, settings.local.json, bash-guardrail.py, .zshrc 등 셸 설정 파일이 포함
B2DENY — 파괴적 명령rm -rf, mkfs, dd, chmod 777, truncate 패턴 존재
B3DENY — Gitgit push --force, git push 패턴 존재
B4DENY — 인프라kubectl delete/drain/scale 0, helm uninstall/delete, docker system prune, brew uninstall 패턴 존재
B5DENY — 원격 코드 실행curl|sh, wget|sh, sh < 패턴 존재
B6DENY — 배포npm publish, gradle publish 패턴 존재
B7DENY — 시크릿 노출printenv, env, echo $TOKEN, gh auth --show-token 패턴 존재
B8정규식 유효성모든 DENY/PROTECTED_FILES 패턴이 re.compile() 가능
B9DENY — 인코딩 우회 방어base64 -d/--decode, printf \x, xxd -r 패턴 존재. PROTECTED_FILES 리터럴 매칭을 인코딩으로 우회하는 것을 차단

C. 계층 간 일관성

#항목판정 기준
C1Rules ↔ Hookrules/01-safety-approvals.md R2에 명시된 금지 카테고리가 Hook DENY에 실제 구현되어 있음
C2시크릿 노출 방어시크릿 관련 차단이 Hook DENY + PROTECTED_FILES + Rules R1 두 계층에 존재

Output Format

## Codex Security Review 결과

| # | 항목 | 결과 | 비고 |
|---|------|------|------|
| A1 | 시크릿 미포함 | ✅ pass | — |
| A2 | Hook 연결 확인 | ✅ pass | — |
| ... | ... | ... | ... |
| B7 | 시크릿 노출 차단 | ⚠️ warn | `cat .env` 패턴 없음 |
| C1 | Rules ↔ Hook | ❌ fail | `npm publish`가 Hook에 없음 |

### 권고사항
- (fail/warn 항목에 대한 구체적 수정 제안)

Rules

  • 판정은 반드시 파일 내용 근거로. 추측 금지.
  • fail/warn에는 구체적 수정 제안을 함께 제시.
  • pass 항목도 표에 포함하되 비고는 생략 가능.
  • 이 스킬은 read-only. 파일 수정은 사용자 승인 후에만.

Frequently asked questions

What does the Codex Security Review AI skill do?

Codex 보안 설정(settings.json, bash-guardrail.py, rules/)의 빈틈과 일관성을 검수하는 스킬. Use when: "보안 검수", "security review", "가드레일 점검", "/Codex-security-review" 등

Why use Codex Security Review on TypingMind?

Because you install it once and use it with any model. Codex Security Review is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Codex Security Review in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/lauvsong/claude-soul/tree/main/skills/claude-security-review. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Codex Security Review?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Codex Security Review?

As many as you like. As long as a model supports skills, you can use Codex Security Review with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Codex Security Review AI skill free?

It is published on GitHub by lauvsong. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇