用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/paxlabs-inc/matrix-core --skill security-audit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | security-audit |
| description | Audits security and supply-chain risk between two git refs for pre-release security review. |
This skill compares any two git refs (tag/branch/commit SHA) and audits:
node_modules.github/workflows and build configsThe output is a Markdown report, with a unique title and filename containing the refs to avoid overwrites.
BASE_REF = starting point, TARGET_REF = ending point (release candidate)Ask exactly once before doing any work:
Which two git refs should I compare? (e.g.
v5.19.0→release/v5.20.0, ormain→feature/xxx)
Ask for the missing ref. Do not assume defaults unless the user explicitly says:
security-audit__${BASE_REF_SAFE}__to__${TARGET_REF_SAFE}.mdBASE_REF_SAFE/TARGET_REF_SAFE must replace / with __ (or -) for filesystem safety.# Security Audit Report (${BASE_REF} → ${TARGET_REF})git rev-parse --verify "${BASE_REF}^{commit}"git rev-parse --verify "${TARGET_REF}^{commit}"git status --porcelaingit diff --name-status "${BASE_REF}..${TARGET_REF}"Focus on:
**/*.{js,ts,tsx}**/package.json, yarn.lock.github/workflows/**eas.json, app.json, app.config.*, build scriptspackage.json, compute:
* / latest as High risk^ / ~ as Medium risk (explain why this matters for release determinism)yarn.lock did not, flag as High risk.yarn -vyarn install --immutableyarn install --frozen-lockfileresolutions, patches, non-registry sources, unexpected downloads.yarn audit (if available)osv-scanner against yarn.lock (if available)For each newly added direct dependency:
<pkg>/package.json:
preinstall, install, postinstall scriptsmain, module, exports)bin/, .node)privateKey|mnemonic|seed|keystore|passphraselocalStorage|indexedDB|AsyncStorage|keychain|keystorefetch|axios|XMLHttpRequest|http|https|WebSocket|wseval|new Function|child_process|spawn|execpreinstall|install|postinstallWithin ${BASE_REF}..${TARGET_REF} diffs, prioritize:
Inspect .github/workflows/** and build configs:
uses: ...@latest (High)permissions: for over-broad scopes--ignore-scripts, etc.)Write the report to:
security-audit__${BASE_REF_SAFE}__to__${TARGET_REF_SAFE}.md