cross-attack-chains – skill Khác cho agent AI
Dùng khi hai hoặc nhiều phát hiện đã xác minh có thể kết hợp thành đường tấn công có tác động lớn hơn trong phạm vi được ủy quyền.
Cài skill cross-attack-chains bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/cross-attack-chains-c7faf.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /cross-attack-chains – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/cross-attack-chains-c7faf.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $cross-attack-chains – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/cross-attack-chains-c7faf.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /cross-attack-chains – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/cross-attack-chains-c7faf.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /cross-attack-chains – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Cross-Attack Chains
An attack chain is a sequence of verified security behaviors in which each step
provides a prerequisite for the next. Several findings on the same target do
not form a chain unless the dependency between them is demonstrated.
When to Use
- Two or more validated findings affect the same trust boundary.
- One finding exposes an identity, token, route, host, or capability needed by
another.
- A report needs to distinguish standalone impact from compound impact.
- The next chain step cannot be tested safely and must be labeled inferred.
Prerequisites
- Captured evidence and negative controls for every component finding.
- Current authorization for the compound test and any increased side effects.
- Approved identities, synthetic records, callbacks, and cleanup procedure.
- A clear stop condition for sensitive data, availability, or scope changes.
How to Run
Create a chain record beneath the target output directory:
TARGET_ID="example-test"
OUTPUT_DIR="${OUTPUT_DIR:-./output}"
CHAIN_DIR="$OUTPUT_DIR/$TARGET_ID/chains"
mkdir -p "$CHAIN_DIR"
touch "$CHAIN_DIR/EXPLOIT_CHAINS.md"Use evidence states consistently:
| State | Meaning |
|---|---|
| Observed | Present in captured output |
| Confirmed | Security impact reproduced with a control |
| Inferred | Plausible dependency that has not been tested |
| Not tested | Excluded by scope, safety, or missing prerequisites |
Procedure
1. Normalize Component Findings
For each component, record:
- expected and observed behavior;
- target, identity, and timestamp;
- positive evidence and negative control;
- side effects and cleanup;
- demonstrated impact;
- assumptions and testing limits.
Discard scanner labels and version-only leads that have not passed their owning
skill's verification.
2. Draw the Dependency
Finding A
output: approved user identifier
enables: object lookup in Finding B
Finding B
output: unauthorized synthetic object read
enables: noneIf A and B are merely co-located, document them separately.
3. Test the Transition
The transition is the core of the chain. Demonstrate that the exact output from
one step is accepted by the next step under the same authorized conditions.
Examples:
| Candidate path | Transition to prove |
|---|---|
| Source map to hidden API | Extracted base URL resolves to the tested API |
| User enumeration to IDOR | Enumerated identifier addresses another approved identity's object |
| CORS to protected-data read | Approved browser session returns non-public response to controlled origin |
| SSRF to internal service | Controlled callback or response identifies the internal service |
| Exposed credential to repository access | Scoped credential is valid for an approved test resource |
Do not use real user data, broad credential testing, or destructive operations
to bridge a missing transition.
4. Recalculate Compound Impact
State:
1. what each component demonstrates alone;
2. what additional capability the verified transition creates;
3. which final impact was reproduced;
4. which downstream consequences remain inferred.
The chain severity cannot exceed the evidence. A theoretical final step does
not become confirmed because earlier steps worked.
5. Preserve Cleanup and Limits
Record removal of synthetic users, objects, uploads, callbacks, and temporary
tokens. If testing stops before the final step, explain why and preserve the
last confirmed state.
Pitfalls
- Co-occurrence is not dependency.
- A username is not a credential.
- A valid credential does not imply access to every service.
- File upload does not imply code execution.
- Internal reachability does not imply control of an internal service.
- Several low-confidence steps compound uncertainty, not confidence.
- Compound testing may need authorization beyond the individual findings.
Verification
- Every component passed its owning skill's verification.
- Every arrow has evidence that the preceding output enables the next input.
- Negative controls distinguish the path from public or expected behavior.
- State-changing steps use synthetic resources and include cleanup.
- Inferred and not-tested steps remain visibly labeled.
- The final report separates demonstrated impact from plausible consequences.
Skill liên quan
- ascii-video – Video ASCII: chuyển video/âm thanh thành MP4/GIF ASCII có màu.
- cantera – Chạy lò phản ứng hóa học đồng nhất Cantera và đánh giá thời gian trễ đánh lửa với nguồn…
- notion-knowledge-capture – Ghi lại hội thoại và quyết định vào trang Notion có cấu trúc; dùng khi chuyển chat hoặc…
- ai-analyzer – Hệ thống phân tích sức khỏe tổng hợp do AI điều khiển, tích hợp dữ liệu sức khỏe đa…
- ai-audiobook-narration – Cài đặt và sử dụng gói AI Audiobook Generator chính thức, ghim theo digest, cho công…
- ai-competitor-title-rewriter – AI Competitor Title Rewriter. Dùng khi làm việc với tiêu đề của đối thủ và chủ đề trang…
- jupyter-notebook – Dùng khi người dùng yêu cầu tạo, khởi tạo hoặc chỉnh sửa Jupyter notebook (`.ipynb`) cho…
- obsidian-skills-integrated – Người sáng tạo nội dung và viết kỹ thuật dùng kỹ năng chính thức này khi nhờ AI viết ghi…