Loading...
Loading...
Audits security and supply-chain risk between two git refs, 预发布安全审计
npx skill4agent add onekeyhq/app-monorepo auditing-pre-release-securitynode_modules.github/workflowsBASE_REFTARGET_REFWhich two git refs should I compare? (e.g.→v5.19.0, orrelease/v5.20.0→main)feature/xxx
security-audit__${BASE_REF_SAFE}__to__${TARGET_REF_SAFE}.mdBASE_REF_SAFETARGET_REF_SAFE/__-# 安全预审报告(${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}"**/*.{js,ts,tsx}**/package.jsonyarn.lock.github/workflows/**eas.jsonapp.jsonapp.config.*package.json*latest^~yarn.lockyarn -vyarn install --immutableyarn install --frozen-lockfileresolutionspatchesyarn auditosv-scanneryarn.lock<pkg>/package.jsonpreinstallinstallpostinstallmainmoduleexportsbin/.nodeprivateKey|mnemonic|seed|keystore|passphraselocalStorage|indexedDB|AsyncStorage|keychain|keystorefetch|axios|XMLHttpRequest|http|https|WebSocket|wseval|new Function|child_process|spawn|execpreinstall|install|postinstall${BASE_REF}..${TARGET_REF}.github/workflows/**uses: ...@latestpermissions:--ignore-scriptssecurity-audit__${BASE_REF_SAFE}__to__${TARGET_REF_SAFE}.md