Skip to content

Security: WAQF-DAO/.github

Security

SECURITY.md

Security & Responsible Disclosure Policy

WAQF DAO treats the cryptographic preservation of endowed principal (Hifzh al-Mal) and contributor privacy (UU PDP / Law No. 27/2022) as highest-priority invariants.

Scope

This policy covers all repositories under https://github.com/WAQF-DAO, including:

  1. Smart Contracts (packages/contracts/): WaqfPrincipalVault.sol, PSAK412WaterfallSplitter.sol, WaqfIdentitySBT.sol, DigitalHisbahGovernor.sol, ShariahOracle.sol, and WaqfAuditRegistry.sol.
  2. ERP Merkle Oracle (packages/oracle-bridge/ & odoo-addons/waqf_dao_oracle/): Deterministic SHA-256 Merkle tree generation, PSAK 412 balance verification, and UU PDP salted PII commitment hashing.
  3. AI CIO Forensic Sentinel (packages/ai-cio-sentinel/): Underwriting rules, thermodynamic/CAPEX fraud gates, and pool triage routing.
  4. Institutional Explorer (apps/explorer/): Client-side WebCrypto SHA-256 verification and static deployment assets.

Reporting a Vulnerability

Please do NOT open a public GitHub issue for security-sensitive reports.

Use GitHub's Private Vulnerability Reporting ("Security" tab -> "Report a vulnerability") on the affected repository (WAQF-DAO/waqf-dao), or contact the technical maintainers via the repository owner's verified security channel with:

  • Clear reproduction steps, proof-of-concept test (e.g., Foundry forge test or Python unittest), and impact assessment.
  • Affected contract/module, function, and commit hash.

Zero-Spill & Secret Hygiene

Every commit across WAQF DAO repositories must pass scripts/audit_hygiene.py, ensuring zero leaked keys, tokens, PEM certificates, raw PII, or isolated third-party entity references.

There aren't any published security advisories