security

Security Auditing for Midnight Network

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "security" with this command: npx skills add fractionestate/midnight-dev-skills/fractionestate-midnight-dev-skills-security

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 witness or secret

  • 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

playwright

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

turborepo

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

nextjs

No summary provided by upstream source.

Repository SourceNeeds Review