review-security-privacy

For pre-PR or diff-based security and privacy review, with emphasis on authentication, authorization, tenant isolation, public endpoints, webhooks, payments, keys, logging, personal data, files/exports, and observability access. Only report reachable regressions that are introduced or materially changed by the diff.

Last repository push
GitHub Stars
133
Forks
13
Issues / PRs
4

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "review-security-privacy" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-481944fb779442eceec8725a2da2c35ef85166a9a08d71d27c81bdfd24df81a8. Verify the upstream source and version against https://github.com/jMerta/codex-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

For pre-PR or diff-based security and privacy review, with emphasis on authentication, authorization, tenant isolation, public endpoints, webhooks, payments, keys, logging, personal data, files/exports, and observability access. Only report reachable regressions that are introduced or materially changed by the diff.

0 Downloads

Introduction source: third_party · jMerta · 0.0.1 Reference

SkillPi interpretation

Tasks
Use when the user asks for a pre-PR or diff security and privacy review, especially for authentication, authorization, tenant isolation, public endpoints, webhooks, payments, secrets, logs, personal data, files, exports, or observability access. Reports only reachable regressions introduced or materially changed by the diff.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: review-security-privacy
description: Use when the user asks for a pre-PR or diff security and privacy review, especially for authentication, authorization, tenant isolation, public endpoints, webhooks, payments, secrets, logs, personal data, files, exports, or observability access. Reports only reachable regressions introduced or materially changed by the diff.

Security and Privacy Review

Review only unless the user separately authorizes fixes. Do not probe production, post comments, change pull-request state, or expose sensitive data.

Review flow

  1. Establish the base, diff, intended behavior, changed trust boundaries, and attacker- or user-controlled inputs.
  2. Read repository security and ownership instructions for every changed surface.
  3. Trace each changed path from identity or input through authentication, authorization, state, storage, logs, asynchronous work, and output.
  4. Inspect the nearest tests and real enforcement point. UI visibility is not authorization.
  5. Exclude pre-existing debt, keyword matches, style preferences, and hypothetical failures without a reachable mechanism.
  6. Report only regressions introduced, worsened, or materially touched by the diff with confidence of at least 80/100, anchored to a changed file or line.

Use evidence in this order: changed code and full trust or call chain, behavior-protecting tests, runtime configuration, repository security instructions, then other documentation.

Read references/trust-boundary-patterns.md when the diff touches tenant resolution, public reads or writes, webhooks, files, secrets, logs, personal data, provider integrations, or administrative observability.

Core checks

  • Resolve identity and tenant scope from an authoritative source and preserve it through every read, write, cache key, job, and provider call.
  • Recheck authorization and mutable state at the server-side operation, independent of frontend preflight.
  • Authenticate webhook or provider messages before trusting identifiers for acknowledgement, deduplication, tenant selection, or state changes.
  • Bound and minimize public reads. For public writes, inspect the endpoint's actual abuse mechanism, validation, rate limits, idempotency, and response leakage.
  • Store and log only an allowlist of required operational fields. Redact or omit credentials, tokens, cookies, signatures, payloads, provider errors, personal data, and message content.
  • Validate uploads and exports by authorization, ownership, type, size, path or key construction, storage permissions, retention, and response headers.
  • Trace administrative data access through the complete login, role mapping, provisioning, and datasource or storage permission chain.
  • Keep secrets environment-managed and out of code, diffs, logs, tests, screenshots, and generated artifacts.

Findings

  • P0: credible authorization or tenant bypass, payment compromise, secret or personal-data exposure, or permanent data loss.
  • P1: reachable security-control, integrity, abuse, privacy, or rollout failure.
  • P2: bounded regression with a concrete reachable path.
  • Omit low-confidence hardening suggestions unless the user explicitly asks for them.

Use blocked only when the diff or a critical trust contract cannot be evaluated. Put at most two sub-threshold uncertainties under Verification needed.

Output

Verdict: clean | findings | blocked
Reviewed: [changed surfaces and traced trust chain]

Findings:
[P1][confidence 94] Title — changed/path:line
Mechanism: [input or identity -> bypass or exposure -> impact]
Evidence: [code, test, or runtime configuration]
Direction: [smallest safe correction]
Validation: [exact negative test or safe check]

Verified non-findings: [important traps inspected and rejected]
Verification needed: [at most two below-threshold items]

Version history

  1. 3.0.0 GitHub ↗
    Original release notes

    # Codex skills 3.0.0 (2026-08-18) This release publishes a focused catalog of 20 maintained engineering, product, documentation, review, and operations skills for current Codex and GitHub usage. ## Highlights - Add nine reusable workflows for focused TDD, visual PR explanations, product-idea management, Polish and English UI copy, and architecture, backend, frontend, security/privacy, and test-coverage reviews ([#11](https://github.com/jMerta/codex-skills/pull/11)). - Modernize Git, GitHub Actions, debugging, documentation, release, regex, dependency, and VPS workflows ([#10](https://github.com/jMerta/codex-skills/pull/10)). - Rewrite every skill description around concrete user requests and invocation triggers. - Refresh commit and pull request templates with exact PR creation and visual-evidence guidance. - Add `agents/openai.yaml` discovery metadata to every published skill. - Strengthen catalog validation for skill names, frontmatter, referenced files, body size, UI metadata, malformed YAML keys, and exact skill-token prompts. - Reject stale `skills.json`, run CLI tests in CI, and refresh GitHub Actions to current major versions. ## Breaking changes - Remove `agents-md`, `coding-guidelines-gen`, `coding-guidelines-verify`, `create-cli`, `plan-work`, `sessions-to-blog`, `ui-ux-pro-max`, and `video-transcript-downloader` from the published catalog. - Existing local installations are not deleted automatically. The `init-ledger` CLI command remains available; only the `agents-md` skill is removed. - Require Node.js 18 or newer for the npm CLI. ## Security - Upgrade the CLI archive extractor from `tar` 6.2.1 to 7.5.22 after npm and OSV reported twelve path traversal, overwrite, parser, and denial-of-service advisories against the resolved version. - Prefer GitHub connector context with explicit fallbacks and mutation gates in GitHub-related workflows. - Add direct and transitive CVE/advisory auditing, dependency-path verification, patched-version selection, and time-bounded override guidance. - Add dependency release-age, lockfile, provenance, integrity, lifecycle-script, and dependency-review checks. - Detect the active VPS firewall and keep package refreshes, restarts, pruning, and configuration changes behind explicit approval. ## Upgrade notes - Review locally installed removed skills before deleting them; upgrading the catalog does not modify an existing skills directory. - Skill contributors must add valid `agents/openai.yaml` metadata and install PyYAML before running the local validator. ## Verification - `python scripts/build_skills_json.py --check` - `python -m unittest discover -s scripts -p "test_*.py"` - `python scripts/validate_skills.py` - `python scripts/check_invisible_chars.py --all` - `npm ci --ignore-scripts --prefix cli` - `npm audit --omit=dev --prefix cli` - `npm test --prefix cli`

  2. 2.0.0 GitHub ↗
    Original release notes

    # Codex skills 2.0.0 (2026-02-06) ## Highlights - Standardize skill installs to the new `.agents/skills` catalog (`~/.agents/skills` by default, or `--dir .agents/skills` for repo-local installs). - Simplify the CLI: remove multi-agent installs and replace `--agent` with `--dir`. - Update the skill catalog: add `ui-ux-pro-max`; remove `frontend-design`, `brave-search`, and `oracle`. ## Breaking changes - CLI: removed `--agent` / multi-agent install targets. Use `--dir <dir>` instead. - CLI: default install dir changed from `~/.codex/skills/` to `~/.agents/skills/`. - Skills removed from the catalog: `frontend-design`, `brave-search`, `oracle`. ## Upgrade notes - If you previously installed skills into `~/.codex/skills/`, reinstall into the new default: - `npx codex-skills install-all` - To install into a repo (portable), use: - `npx codex-skills install-all --dir .agents/skills` - If you added scripts to PATH, update it to the new location: - macOS/Linux: `export PATH="$PATH:$HOME/.agents/skills/agent-scripts"` - Windows (PowerShell): add `$HOME\\.agents\\skills\\agent-scripts` to PATH ## Deprecations - None. ## Features - Skills: add `ui-ux-pro-max`. - CLI: add `--dir <dir>` and make installs more robust on Windows (retry deletes for transient file locks). ## Fixes - `python3 scripts/validate_skills.py` no longer requires `PyYAML`. ## Performance - None. ## Security - None. ## Dependencies - None. ## Operations / infrastructure - None. ## Database / migrations - None. ## Known issues - None. ## Verification - `python3 scripts/build_skills_json.py` - `python3 scripts/validate_skills.py` - `npm test` (cli) ## Risk / notes - Users must reinstall skills if they relied on the legacy `~/.codex/skills/` location or the removed skills.

  3. 1.6.0 GitHub ↗
    Original release notes

    # Codex skills 1.6.0 (2026-01-02) ## Highlights - Add new skills sourced from agent-scripts: brave-search, create-cli, frontend-design, oracle, and video-transcript-downloader. - Add a CLI command to install shared agent-scripts. - Document Brave Search API key setup in the README. ## Breaking changes - None. ## Upgrade notes - Optional: run `npx codex-skills install-agent-scripts` to install shared scripts alongside skills. ## Deprecations - None. ## Features - CLI: add `install-agent-scripts` to install shared scripts. - Skills: add brave-search, create-cli, frontend-design, oracle, and video-transcript-downloader. - Docs: add Brave Search API key setup instructions. ## Fixes - None. ## Performance - None. ## Security - None. ## Dependencies - None. ## Operations / infrastructure - None. ## Database / migrations - None. ## Known issues - None. ## Verification - `python scripts/build_skills_json.py` - `npm test` (cli) ## Risk / notes - No migrations or config changes required.

  4. 1.5.0 GitHub ↗
    Original release notes

    # Codex skills 1.5.0 (2025-12-23) ## Highlights - Add a global AGENTS.MD ledger template and CLI init-ledger command to generate it. - Introduce a new verify command plus a richer CLI test suite for local installs. - Add new skills: branch-cleaner, regex-builder, and rebase-assistant. ## Breaking changes - None. ## Upgrade notes - Optional: run `npx codex-skills init-ledger` to create the global ledger at `~/.codex/AGENTS.MD`. - Optional: use `npx codex-skills verify <skill-name>` to validate local skill installs. ## Deprecations - None. ## Features - CLI: add init-ledger for the global AGENTS.MD template. - CLI: add verify for local skill validation and add test coverage for CLI flows. - Skills: add branch-cleaner, regex-builder, and rebase-assistant. - Docs: highlight install-all and document the global ledger workflow. ## Fixes - Pages: ensure the release workflow dispatches the pages deploy. ## Performance - None. ## Security - None. ## Dependencies - None. ## Operations / infrastructure - Add a release workflow dispatch for pages builds. ## Database / migrations - None. ## Known issues - None. ## Verification - `npm test` ## Risk / notes - No migrations or config changes required.

  5. 1.4.0 GitHub ↗
    Original release notes

    # codex-skills 1.4.0 (2025-12-19) ## Highlights - Added `install-all` to install every skill in the catalog with one command. ## Breaking changes - None. ## Upgrade notes - None. ## Deprecations - None. ## Features - New `install-all` / `install-everything` CLI command for bulk installs. ## Fixes - None. ## Performance - None. ## Security - None. ## Dependencies - None. ## Operations / infrastructure - None. ## Database / migrations - None. ## Known issues - None. ## Verification - `python scripts/validate_skills.py` - `node cli/bin/codex-skills.js --help` ## Risk / notes - None.

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 面向开发者高频刚需场景(PR前安全与隐私审查),能有效识别身份验证、授权、租户隔离等关键风险
  • 聚焦可达回归问题,避免误报,提升审查效率与准确性
Trigger Precision95/100

Highlights

  • 触发词覆盖全面且边界清晰,明确列出适用场景与具体技术领域
  • description位置正确,内容完整无截断
Structure and Standards94/100

Highlights

  • Review flow 六步法结构清晰,逻辑严谨
  • 输出格式标准化,包含 Verdict、Findings、Evidence 等关键字段
  • frontmatter 完整,文档长度适中
Execution Reliability78/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md 中引用了 references/trust-boundary-patterns.md 文件,但该文件未包含在传入内容中

    Recommendation: 请补充 references/trust-boundary-patterns.md 文件内容,或确认该引用是否为可选参考

Highlights

  • 检查项覆盖安全与隐私核心维度,参数定义准确
  • 明确禁止自动修复与生产探测,保障执行安全性
  • 置信度阈值(80/100)与证据优先级机制提升结果可靠性
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 29

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.