solidity-security – skill Bảo mật cho agent AI
Nắm vững các best practice bảo mật smart contract, phòng ngừa lỗ hổng và các mẫu phát triển Solidity an toàn.
Cài skill solidity-security 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/solidity-security-ab624.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /solidity-security – 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/solidity-security-ab624.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $solidity-security – 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/solidity-security-ab624.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /solidity-security – 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/solidity-security-ab624.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /solidity-security – 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.
Solidity Security
Master smart contract security best practices, vulnerability prevention, and secure Solidity development patterns.
Use this skill when
- Writing secure smart contracts
- Auditing existing contracts for vulnerabilities
- Implementing secure DeFi protocols
- Preventing reentrancy, overflow, and access control issues
- Optimizing gas usage while maintaining security
- Preparing contracts for professional audits
- Understanding common attack vectors
Do not use this skill when
- The task is unrelated to solidity security
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
Resources
resources/implementation-playbook.mdfor detailed patterns and examples.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Skill liên quan
- soroban-contract-audit – Sổ đăng ký kiểm toán bảo mật hợp đồng thông minh Soroban: kiểm tra phân quyền, đường dẫn…
- soroban-oracle-data-feed-audit – Sổ đăng ký kiểm toán tích hợp và an toàn của oracle giá DeFi: giới hạn heartbeat, hoàn…
- src-hunter – Quy trình săn lỗ hổng cho chương trình bug bounty/SRC: phương pháp năm giai đoạn (tiếp…
- stellar-asset-clawback-compliance – Kiến trúc thu hồi tài sản Stellar được quản lý: cờ ủy quyền của issuer, thu hồi…
- supply-chain-attack-recon – Rà soát chỉ đọc (read-only) có ủy quyền về mức độ phơi nhiễm chuỗi cung ứng phần mềm…
- supply-chain-risk-auditor – Xác định các dependency có nguy cơ cao bị khai thác hoặc chiếm quyền. Dùng khi đánh giá…
- supply-chain-security – Đánh giá bảo mật chuỗi cung ứng phần mềm: tạo SBOM, quét SCA, rà soát pipeline CI/CD…
- swiftui-performance-audit – Kiểm toán các vấn đề hiệu năng SwiftUI dựa trên rà soát code và bằng chứng từ profiling.