review-security-privacy
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "review-security-privacy":https://skillpi.com/zh/skills/deepskill-481944fb779442eceec8725a2da2c35ef85166a9a08d71d27c81bdfd24df81a8。安装前核对上游来源和版本:https://github.com/jMerta/codex-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
用于预PR或差异化的安全与隐私审查,特别关注身份验证、授权、租户隔离、公共端点、Webhook、支付、密钥、日志、个人数据、文件、导出和可观测性访问。仅报告由该差异引入或实质性更改的可达回归问题。
介绍来源: third_party · jMerta · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
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
- Establish the base, diff, intended behavior, changed trust boundaries, and attacker- or user-controlled inputs.
- Read repository security and ownership instructions for every changed surface.
- Trace each changed path from identity or input through authentication, authorization, state, storage, logs, asynchronous work, and output.
- Inspect the nearest tests and real enforcement point. UI visibility is not authorization.
- Exclude pre-existing debt, keyword matches, style preferences, and hypothetical failures without a reachable mechanism.
- 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]版本历史
-
3.0.0
GitHub ↗
原版更新说明
# 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.0.0
GitHub ↗
原版更新说明
# 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.
-
1.6.0
GitHub ↗
原版更新说明
# 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.
-
1.5.0
GitHub ↗
原版更新说明
# 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.
-
1.4.0
GitHub ↗
原版更新说明
# 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.
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 面向开发者高频刚需场景(PR前安全与隐私审查),能有效识别身份验证、授权、租户隔离等关键风险
- 聚焦可达回归问题,避免误报,提升审查效率与准确性
亮点
- 触发词覆盖全面且边界清晰,明确列出适用场景与具体技术领域
- description位置正确,内容完整无截断
亮点
- Review flow 六步法结构清晰,逻辑严谨
- 输出格式标准化,包含 Verdict、Findings、Evidence 等关键字段
- frontmatter 完整,文档长度适中
待提升项
-
引用文件缺失 原报告严重程度:重大
SKILL.md 中引用了 references/trust-boundary-patterns.md 文件,但该文件未包含在传入内容中
改进建议:请补充 references/trust-boundary-patterns.md 文件内容,或确认该引用是否为可选参考
亮点
- 检查项覆盖安全与隐私核心维度,参数定义准确
- 明确禁止自动修复与生产探测,保障执行安全性
- 置信度阈值(80/100)与证据优先级机制提升结果可靠性
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 29 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。