← スキル一覧に戻る

security
by FractionEstate
⭐ 0🍴 0📅 2026年1月5日
SKILL.md
name: security description: Security auditing patterns for Midnight Network smart contracts and dApps. Use when reviewing code for vulnerabilities, privacy leaks, cryptographic weaknesses, or performing security audits.
Security Auditing for Midnight Network
Expert knowledge for auditing Midnight Network contracts and privacy-preserving applications.
Security Priorities
- Privacy Protection - Ensure sensitive data stays private
- Cryptographic Integrity - Verify commitments, nullifiers, proofs
- Access Control - Validate authorization patterns
- Input Validation - Check all assertions and bounds
- State Safety - Prevent manipulation and reentrancy
Severity Classification
| Level | Icon | Description | Examples |
|---|---|---|---|
| Critical | 🔴 | Funds at risk, privacy broken | Witness exposure, key leak |
| High | 🟠 | Significant leak or bypass | Predictable nullifier |
| Medium | 🟡 | Logic errors, incomplete checks | Missing validation |
| Low | 🟢 | Best practice violations | Poor error messages |
| Info | ℹ️ | Improvement suggestions | Code clarity |
Quick Checklist
Compact Contracts
- All assertions have descriptive messages
- Sensitive data uses
witnessorsecret - No plaintext secrets in ledger
- Commitments use salt (hash2)
- Nullifiers include secret context
- Range checks before arithmetic
- Access control where needed
TypeScript dApps
- Wallet availability checked
- Transactions properly confirmed
- No secrets logged or exposed
- Private state encrypted
- Error boundaries in place
- HTTPS enforced
References
- references/vulnerabilities.md - Common vulnerability patterns
Assets
- assets/audit-report.md - Audit report template
スコア
総合スコア
45/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です