[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EESGPD3662QBE8H5TY6YE3":3,"skill-same:01M7EESGPD3662QBE8H5TY6YE3":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7EESGPD3662QBE8H5TY6YE3","attack-path-analysis",null,"Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security finding from source to sink and calibrate severity. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fattack-path-analysis\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: attack-path-analysis\ndescription: Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security finding from source to sink and calibrate severity. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.\n---\n\n# Security Attack Path Analysis\n\n## Objective\n\nTurn validated or still-plausible findings into explicit attacker stories, structured attack-path analysis facts, severity calibration, and a final reportability decision grounded in the threat model.\n\n## Artifact Resolution\n\nThe path references in this skill are the default locations for this phase.\nIf the user explicitly provides a different path for a required input or output, use the user-provided path instead of the corresponding default path referenced in this skill.\nIf a required input is still missing, stop and ask the user for it before continuing.\nUse the shared scan artifact path conventions in `..\u002F..\u002Freferences\u002Fscan-artifacts.md`.\n\nStandard scans and Deep Scan workers assess attack paths within their ordinary Standard scan workflow; neither invokes this separate phase skill.\n\n### Compact Workbench-Backed Diff Mode\n\nWhen a workbench-backed `$security-diff-scan` has a `scanId`, load the per-scan threat model and read the validated candidates with `list_codex_security_candidates({ scanId, cursor?, limit? })`. Analyze every `reportable` or `deferred` candidate, preserve every discovery and validation field and the original candidate order, and submit all decisions together with one `record_candidate_attack_paths({ scanId, attackPaths: [{ candidateId, attackPath }] })` call. Submit `attackPaths: []` when no candidate enters this phase. The existing tool atomically updates the stored candidates; do not create per-finding reports, receipts, or manual candidate ledgers in this compact diff mode. Keep attack-path facts, counterevidence, severity calibration, and policy adjustment as separate reasoning steps. Other scan and standalone workflows retain their existing artifact behavior.\n\n## Workflow\n\n1. Load the per-scan threat model path from `..\u002F..\u002Freferences\u002Fscan-artifacts.md` as the repo-specific threat-model source of truth. Start from this along with the potential findings. Both inputs are required for this workflow.\n   - For repository-wide and scoped-path scans, include validation closure rows marked `reportable` or `survives: yes` even if they were not assigned polished candidate numbers during discovery.\n2. Determine whether the affected code is in scope for the repository threat model and whether it belongs to a product surface or production workflow.\n3. Build a factual attack path using repository evidence only:\n   - service mapping\n   - exposure and entry points\n   - identity, privilege, and trust boundaries\n   - secrets handling and sensitive-data flow\n   - reachability\n   - existing controls and mitigations\n4. Before finalizing scope or reportability-driving facts, identify the strongest repository counterevidence against the key scoping fields and explain why it is or is not dispositive.\n5. Calibrate impact and likelihood from the repository evidence.\n6. Apply a separate final policy-adjustment pass mechanically using those facts and the calibrated severity.\n7. Record final policy decision `ignore` explicitly; in compact diff mode, retain its candidate record for coverage, and otherwise drop it from the surviving finding set.\n8. For a durable diff scan, submit the nested decision for every eligible candidate in the single compact tool call. Otherwise, save that finding's visible attack-path report and append one attack-path receipt per candidate id at the default paths from `..\u002F..\u002Freferences\u002Fscan-artifacts.md`. The receipt must record the candidate id, attack-path reportability decision, attack-path facts or exact proof gap, and attack-path artifact\u002Freport reference for that candidate finding.\n\n## Scope and Attack Path Checklist\n\nUse this checklist before finalizing the attack-path facts or policy decision:\n\n- Determine whether the finding is actually a real security vulnerability rather than a correctness bug or false positive.\n- Determine whether the affected code belongs to a product surface or production workflow.\n- Map the relevant service, component, or workflow context from repository evidence.\n- Establish exposure and entry points from repository evidence such as listeners, ingress, load balancers, service ports, manifests, routing, or network policy.\n- Establish identities, privileges, and trust boundaries that matter for the path.\n- Establish whether sensitive data, secrets references, or privileged control paths are involved.\n- Determine whether a realistic attacker can actually reach and use the issue from an in-scope attack surface.\n- Identify the strongest repository counterevidence against the scoping and reportability-driving fields before finalizing them.\n- Lower confidence or keep fields unknown when repository evidence is incomplete; do not automatically suppress a finding solely because deployment evidence is missing.\n\n## Counterevidence Checklist\n\nFor the most interpretive fields, explicitly ask what repository evidence suggests the opposite and why it does or does not defeat the finding:\n\n- In-Scope Status According to the Threat Model\n- Vector\n- Auth Scope\n- Exposure\n- Cross-Boundary Behavior\n- Preconditions\n- Impact Surface\n\nLook specifically for repository evidence that the path is:\n\n- out of scope\n- internal-only\n- admin-only\n- not cross-boundary\n- not attacker-reachable\n- not meaningfully reportable\n\n## Severity and Policy Checklist\n\nApply severity and policy calibration using `references\u002Fseverity-policy.md`.\n\n## Output Contract\n\nIn compact diff mode, every candidate with validation disposition `reportable` or `deferred` must receive exactly one nested attack-path decision. The recorded decisions are the complete phase output; do not also create narrative reports or receipts. Otherwise, use the following report contract.\n\nFor each surviving finding include:\n\n- title\n- candidate id, instance key, and ledger row id when provided\n- affected lines from validation, preserving labeled entrypoint\u002Fwrapper, root_control, sink, and concrete_implementation locations\n- attack path steps\n- rendered attack-path facts\n- counterevidence summary and challenges\n- severity calibration\n- final policy decision\n- enough reasoning that a later reader can understand why the finding survived or was suppressed\n\nRender attack-path facts using `references\u002Fattack-path-facts.md`.\n\n## Hard Rules\n\n- Use repository evidence and explicitly supplied context. Access the network only when the user has expressly authorized that access; an offline scan never accesses the network.\n- Do not invent attack chains that the code does not support.\n- Do not leave candidate coverage implicit. In compact diff mode, record a nested attack-path decision for every eligible candidate, even when the final policy decision is `ignore` or `deferred`. Otherwise, every candidate that reaches attack-path analysis must leave an attack-path receipt in its candidate-ledger path from `..\u002F..\u002Freferences\u002Fscan-artifacts.md`.\n- Do not drop exact affected locations while converting validated findings into attack paths. Repository-wide seeded\u002Froot-control rows that survive validation must keep their root-control file:line even when a wrapper, route, or transport is easier to explain.\n- Do not skip a reportable validation row because a neighboring same-family finding has a cleaner story. Either produce attack-path facts for that exact row or make an explicit final policy decision with repository counterevidence.\n- Missing public-ingress evidence is not by itself dispositive counterevidence.\n- Keep attack-path analysis, severity calibration, and final policy suppression as separate sub-stages.\n- Use the final policy-adjustment matrix mechanically rather than re-arguing severity from scratch after the facts are set.\n- Outside compact diff mode, save a final visible report for each candidate finding using that finding's attack-path analysis report path from `..\u002F..\u002Freferences\u002Fscan-artifacts.md`.\n\n-- Considerations for attack path --\n- A bug matters if evidence shows an attacker could exploit it.\n- The attack surface should generally be one that is plausibly exposed to end users \u002F external actors (or another actor explicitly in scope in the threat model).\n","# Security Attack Path Analysis\n\n## Objective\n\nTurn validated or still-plausible findings into explicit attacker stories, structured attack-path analysis facts, severity calibration, and a final reportability decision grounded in the threat model.\n\n## Artifact Resolution\n\nThe path references in this skill are the default locations for this phase.\nIf the user explicitly provides a different path for a required input or output, use the user-provided path instead of the corresponding default path referenced in this skill.\nIf a required input is still missing, stop and ask the user for it before continuing.\nUse the shared scan artifact path conventions in `..\u002F..\u002Freferences\u002Fscan-artifacts.md`.\n\nStandard scans and Deep Scan workers assess attack paths within their ordinary Standard scan workflow; neither invokes this separate phase skill.\n\n### Compact Workbench-Backed Diff Mode\n\nWhen a workbench-backed `$security-diff-scan` has a `scanId`, load the per-scan threat model and read the validated candidates with `list_codex_security_candidates({ scanId, cursor?, limit? })`. Analyze every `reportable` or `deferred` candidate, preserve every discovery and validation field and the original candidate order, and submit all decisions together with one `record_candidate_attack_paths({ scanId, attackPaths: [{ candidateId, attackPath }] })` call. Submit `attackPaths: []` when no candidate enters this phase. The existing tool atomically updates the stored candidates; do not create per-finding reports, receipts, or manual candidate ledgers in this compact diff mode. Keep attack-path facts, counterevidence, severity calibration, and policy adjustment as separate reasoning steps. Other scan and standalone workflows retain their existing artifact behavior.\n\n## Workflow\n\n1. Load the per-scan threat model path from `..\u002F..\u002Freferences\u002Fscan-artifacts.md` as the repo-specific threat-model source of truth. Start from this along with the potential findings. Both inputs are required for this workflow.\n   - For repository-wide and scoped-path scans, include validation closure rows marked `reportable` or `survives: yes` even if they were not assigned polished candidate numbers during discovery.\n2. Determine whether the affected code is in scope for the repository threat model and whether it belongs to a product surface or production workflow.\n3. Build a factual attack path using repository evidence only:\n   - service mapping\n   - exposure and entry points\n   - identity, privilege, and trust boundaries\n   - secrets handling and sensitive-data flow\n   - reachability\n   - existing controls and mitigations\n4. Before finalizing scope or reportability-driving facts, identify the strongest repository counterevidence against the key scoping fields and explain why it is or is not dispositive.\n5. Calibrate impact and likelihood from the repository evidence.\n6. Apply a separate final policy-adjustment pass mechanically using those facts and the calibrated severity.\n7. Record final policy decision `ignore` explicitly; in compact diff mode, retain its candidate record for coverage, and otherwise drop it from the surviving finding set.\n8. For a durable diff scan, submit the nested decision for every eligible candidate in the single compact tool call. Otherwise, save that finding's visible attack-path report and append one attack-path receipt per candidate id at the default paths from `..\u002F..\u002Freferences\u002Fscan-artifacts.md`. The receipt must record the candidate id, attack-path reportability decision, attack-path facts or exact proof gap, and attack-path artifact\u002Freport reference for that candidate finding.\n\n## Scope and Attack Path Checklist\n\nUse this checklist before finalizing the attack-path facts or policy decision:\n\n- Determine whether the finding is actually a real security vulnerability rather than a correctness bug or false positive.\n- Determine whether the affected code belongs to a product surface or production workflow.\n- Map the relevant service, component, or workflow context from repository evidence.\n- Establish exposure and entry points from repository evidence such as listeners, ingress, load balancers, service ports, manifests, routing, or network policy.\n- Establish identities, privileges, and trust boundaries that matter for the path.\n- Establish whether sensitive data, secrets references, or privileged control paths are involved.\n- Determine whether a realistic attacker can actually reach and use the issue from an in-scope attack surface.\n- Identify the strongest repository counterevidence against the scoping and reportability-driving fields before finalizing them.\n- Lower confidence or keep fields unknown when repository evidence is incomplete; do not automatically suppress a finding solely because deployment evidence is missing.\n\n## Counterevidence Checklist\n\nFor the most interpretive fields, explicitly ask what repository evidence suggests the opposite and why it does or does not defeat the finding:\n\n- In-Scope Status According to the Threat Model\n- Vector\n- Auth Scope\n- Exposure\n- Cross-Boundary Behavior\n- Preconditions\n- Impact Surface\n\nLook specifically for repository evidence that the path is:\n\n- out of scope\n- internal-only\n- admin-only\n- not cross-boundary\n- not attacker-reachable\n- not meaningfully reportable\n\n## Severity and Policy Checklist\n\nApply severity and policy calibration using `references\u002Fseverity-policy.md`.\n\n## Output Contract\n\nIn compact diff mode, every candidate with validation disposition `reportable` or `deferred` must receive exactly one nested attack-path decision. The recorded decisions are the complete phase output; do not also create narrative reports or receipts. Otherwise, use the following report contract.\n\nFor each surviving finding include:\n\n- title\n- candidate id, instance key, and ledger row id when provided\n- affected lines from validation, preserving labeled entrypoint\u002Fwrapper, root_control, sink, and concrete_implementation locations\n- attack path steps\n- rendered attack-path facts\n- counterevidence summary and challenges\n- severity calibration\n- final policy decision\n- enough reasoning that a later reader can understand why the finding survived or was suppressed\n\nRender attack-path facts using `references\u002Fattack-path-facts.md`.\n\n## Hard Rules\n\n- Use repository evidence and explicitly supplied context. Access the network only when the user has expressly authorized that access; an offline scan never accesses the network.\n- Do not invent attack chains that the code does not support.\n- Do not leave candidate coverage implicit. In compact diff mode, record a nested attack-path decision for every eligible candidate, even when the final policy decision is `ignore` or `deferred`. Otherwise, every candidate that reaches attack-path analysis must leave an attack-path receipt in its candidate-ledger path from `..\u002F..\u002Freferences\u002Fscan-artifacts.md`.\n- Do not drop exact affected locations while converting validated findings into attack paths. Repository-wide seeded\u002Froot-control rows that survive validation must keep their root-control file:line even when a wrapper, route, or transport is easier to explain.\n- Do not skip a reportable validation row because a neighboring same-family finding has a cleaner story. Either produce attack-path facts for that exact row or make an explicit final policy decision with repository counterevidence.\n- Missing public-ingress evidence is not by itself dispositive counterevidence.\n- Keep attack-path analysis, severity calibration, and final policy suppression as separate sub-stages.\n- Use the final policy-adjustment matrix mechanically rather than re-arguing severity from scratch after the facts are set.\n- Outside compact diff mode, save a final visible report for each candidate finding using that finding's attack-path analysis report path from `..\u002F..\u002Freferences\u002Fscan-artifacts.md`.\n\n-- Considerations for attack path --\n- A bug matters if evidence shows an attacker could exploit it.\n- The attack surface should generally be one that is plausibly exposed to end users \u002F external actors (or another actor explicitly in scope in the threat model).\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fattack-path-analysis",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill attack-path-analysis",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill attack-path-analysis",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill attack-path-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fattack-path-analysis\u002FSKILL.md",true,[46,52,56],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",261,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fattack-path-analysis\u002Fagents\u002Fopenai.yaml",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fattack-path-facts.md",2882,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fattack-path-analysis\u002Freferences\u002Fattack-path-facts.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fseverity-policy.md",15288,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fattack-path-analysis\u002Freferences\u002Fseverity-policy.md",[61,69,74,81,88,95],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":68},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":70,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":68},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":68},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":68},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":68},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":68},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]