Obscura
    Obscura
    Getting Started
    Use CasesSecurityChangelogSupport

    Security Architecture

    Obscura is built on a foundation of “security by design.” Our architecture combines hardware-grade isolation, cryptographic verification, and decentralized consensus to create a system where users retain full control over their sensitive data while enjoying verifiable trust.

    This page details the technical security measures protecting your API keys, trading data, and privacy.

    Last Updated: February 22, 2026Security Contact: security@obscura.finance

    1. Trusted Execution Environments (TEEs)

    1.1 AWS Nitro Enclaves

    Obscura leverages AWS Nitro Enclaves—hardware-isolated compute environments—to create what we call The Citadel: a fortified zone where all sensitive operations occur.

    What Nitro Enclaves Provide:

    FeatureImplementation
    Hardware IsolationNo persistent storage, no interactive access, no external networking
    Memory EncryptionAll memory is encrypted by the Nitro Hypervisor
    AttestationCryptographic proof of code integrity before secret access
    Minimal Attack SurfaceNo SSH, no shell access, no administrative interfaces

    1.2 How We Use TEEs

    API Key Management Flow:

    1. Encrypted Storage: User API keys are encrypted with a master key before ever reaching our systems
    2. Secure Transmission: Keys travel to the enclave over an encrypted vsock channel
    3. Attested Decryption: The enclave proves its identity to AWS KMS before receiving decryption keys
    4. In-Memory Signing: Trade orders are signed entirely within protected memory
    5. Immediate Purging: Plaintext keys are wiped from memory microseconds after use

    The Critical Guarantee: No human—not even Obscura employees or AWS administrators—can ever access your plaintext API keys.

    1.3 Cryptographic Attestation

    The attestation process ensures that only the exact, audited version of our code can access secrets:

    1. Enclave boots → Requests attestation document from Nitro Hypervisor
    2. Document contains PCR hashes (code fingerprints)
    3. Enclave sends document to AWS KMS
    4. KMS verifies signature AND compares PCRs to allowlist
    5. If match → KMS releases decryption key
    6. If mismatch → Access denied

    Any code modification—even a single changed byte—alters the PCR hash, breaking attestation and locking the enclave out of all secrets.

    2. Zero-Knowledge Proofs

    2.1 Privacy-Preserving Verification

    Obscura uses Zero-Knowledge proofs to verify trading performance without exposing:

    • Individual trade prices
    • Position sizes
    • Entry/exit timing
    • Trading strategies
    • Exchange used

    What We Prove:

    MetricProven Without Revealing
    ProfitabilityIndividual trade P&L
    Win RateWhich trades won/lost
    Sharpe RatioVolatility calculations
    Max DrawdownSpecific loss events
    ConsistencyTrading frequency

    2.2 Technical Implementation

    ComponentTechnology
    LanguageNoir (Rust-like syntax for ZK circuits)
    Proving SystemUltraHonk (no trusted setup required)
    Recursive ProofsAggregate thousands of trades into single verifiable proof
    On-Chain VerificationConstant gas cost regardless of trade count

    2.3 Nillion Integration

    Obscura integrates with Nillion to enhance our privacy infrastructure:

    Nillion ComponentObscura Use Case
    NilDBSecure storage of encrypted trader metadata
    Nil ComputeBlind computation on sensitive trading signals
    SecretLinkingPrivacy-preserving trader-copier matching

    How Nillion Augments Our Architecture:

    • Beyond TEEs: Nillion's multi-party computation (MPC) adds a layer of cryptographic security that complements hardware isolation
    • Decentralized Secret Management: API key shards distributed across Nillion's network—no single point of compromise
    • Private Set Intersection: Match traders and copiers based on preferences without revealing those preferences

    The Nillion integration creates a defense-in-depth strategy: even if an attacker somehow breached the TEE, they would still face Nillion's distributed secret sharing.

    3. Decentralized Oracle Network (Sentinel DON)

    3.1 Byzantine Fault Tolerant Consensus

    The Sentinel DON replaces centralized data feeds with a distributed network of independent nodes:

    AspectSpecification
    ConsensusBFT (Byzantine Fault Tolerant)
    Nodes≥16 independent operators
    ToleranceUp to ⅓ Byzantine nodes
    FinalityCryptographic finality within seconds

    3.2 Cryptoeconomic Security

    • Staking: All node operators stake ZEN tokens as collateral
    • Slashing: Malicious reporting results in stake forfeiture
    • Incentives: Honest reporting earns fees; cheating becomes economically irrational

    3.3 Universal Exchange Adapters (UEA)

    The DON connects to both centralized and decentralized exchanges through standardized adapters, ensuring data integrity regardless of source.

    4. End-to-End Encryption

    4.1 Data in Transit

    LayerProtocol
    Web InterfaceTLS 1.3+
    API CommunicationTLS 1.3+ with certificate pinning
    Service-to-ServicemTLS with rotating certificates
    Enclave CommunicationEncrypted vsock channel

    4.2 Data at Rest

    Data TypeEncryptionKey Management
    API KeysAES-256-GCMAWS KMS + Enclave attestation
    User DataAES-256-GCMEnvelope encryption
    BackupsAES-256Offline HSM-stored keys
    LogsRedacted (no PII)N/A

    4.3 Key Management Hierarchy

    Master Keys (HSM)
        ↓
    Key Encryption Keys (AWS KMS)
        ↓
    Data Encryption Keys (per-user/per-session)
        ↓
    Encrypted User Data

    5. Threat Model & Mitigations

    STRIDE Analysis

    ThreatScenarioMitigation
    SpoofingAttacker impersonates legitimate servicemTLS, certificate pinning, domain validation
    TamperingOracle manipulation to falsify reputationBFT consensus + economic slashing
    RepudiationTrader denies submitting tradesCryptographic signatures + on-chain proofs
    Information DisclosureAPI key extraction from memoryTEE isolation + Nillion secret sharing
    Denial of ServiceAPI floodingRate limiting + DDoS protection
    Elevation of PrivilegeInternal employee abuses accessNo human access to keys; TEE attestation

    6. Third-Party Audits

    Audit TypeAuditorFrequencyStatus
    Smart Contract Security[Auditor Name]Pre-deployment + annualScheduled Q2 2026
    TEE Configuration[Auditor Name]AnnualCompleted Jan 2026
    ZK Circuit Verification[Auditor Name]Per circuit updateIn progress
    Penetration Testing[Auditor Name]QuarterlyNext: Mar 2026
    SOC 2 Type II[Auditor Name]AnnualTarget: Q4 2026

    Audit reports available to institutional partners under NDA. Contact investors@obscura.finance.

    7. Bug Bounty Program

    Obscura maintains an active bug bounty program:

    SeverityReward Range
    Critical$50,000 – $100,000
    High$10,000 – $50,000
    Medium$2,000 – $10,000
    Low$500 – $2,000

    Scope:

    • Smart contracts
    • TEE integration
    • ZK proof circuits
    • API security
    • Authentication mechanisms

    Reporting: security@obscura.finance (PGP encrypted preferred)

    8. Compliance & Certifications

    StandardStatus
    SOC 2 Type IIn progress (Q3 2026)
    ISO 27001Planned (Q1 2027)
    GDPRCompliant
    CCPACompliant
    PCI DSSN/A (no card storage)

    9. Frequently Asked Questions

    Q: Can Obscura employees see my API keys?

    A: Absolutely not. API keys are encrypted and only decrypted inside hardware-isolated TEEs. No human—including AWS administrators—can access the plaintext.

    Q: What happens if AWS is compromised?

    A: Our TEE architecture assumes the host is untrusted. Even with full AWS compromise, the enclave's hardware isolation prevents unauthorized access. Additionally, Nillion integration distributes trust across multiple cryptographic layers.

    Q: How do I know the TEE is running the right code?

    A: The attestation process cryptographically proves the exact code version. You can independently verify the PCR hashes against our published values.

    Q: What if someone steals my API keys from the exchange side?

    A: We strongly recommend configuring API keys with “withdrawals disabled.” Obscura never requests withdrawal permissions. Keys should also be rotated regularly.

    Q: How does Nillion integration improve security?

    A: Nillion adds a layer of cryptographic secret sharing. Even if an attacker bypassed the TEE, they would only obtain fragments of keys, useless without the complete set distributed across the Nillion network.

    Q: Are ZK proofs truly private?

    A: Yes. The proofs reveal only what you authorize—typically performance metrics. Individual trade details remain mathematically hidden. However, blockchain anchors are public; pseudonymity depends on your actions.

    10. Responsible Disclosure

    If you believe you've found a security vulnerability:

    1. Email: security@obscura.finance
    2. PGP Encryption: Use our published key
    3. Details: Include steps to reproduce, potential impact
    4. Timeline: We acknowledge within 24 hours
    5. Disclosure: Coordinated disclosure after fix

    We commit to:

    • No legal retaliation against good-faith researchers
    • Public acknowledgment (with consent)
    • Bug bounties as specified

    11. Security Roadmap

    QuarterInitiative
    Q1 2026TEE attestation public dashboard
    Q2 2026Formal verification of core ZK circuits
    Q3 2026SOC 2 Type I completion
    Q4 2026MPC integration expansion with Nillion
    Q1 2027ISO 27001 certification
    Q2 2027Public verifiability dashboard

    12. Summary: Defense in Depth

    Obscura's security architecture employs overlapping layers:

    Layer 1: Hardware Isolation (Nitro Enclaves)
    Layer 2: Cryptographic Privacy (ZK Proofs)
    Layer 3: Distributed Trust (Nillion MPC)
    Layer 4: Decentralized Consensus (Sentinel DON)
    Layer 5: Economic Security (Staking + Slashing)
    Layer 6: Encryption (TLS + AES-256)
    Layer 7: Access Controls (MFA + Least Privilege)

    No single point of failure. Compromising any one layer leaves the others intact.

    Security inquiries: security@obscura.finance

    Vulnerability reporting: PGP key available on website

    Compliance / Privacy: compliance@obscura.finance

    On this page

    Overview
    1. Trusted Execution Environments
    2. Zero-Knowledge Proofs
    3. Sentinel DON
    4. End-to-End Encryption
    5. Threat Model
    6. Third-Party Audits
    7. Bug Bounty
    8. Compliance
    9. FAQ
    10. Responsible Disclosure
    11. Security Roadmap
    12. Defense in Depth

    Security Architecture

    Obscura is built on a foundation of “security by design.” Our architecture combines hardware-grade isolation, cryptographic verification, and decentralized consensus to create a system where users retain full control over their sensitive data while enjoying verifiable trust.

    This page details the technical security measures protecting your API keys, trading data, and privacy.

    Last Updated: February 22, 2026Security Contact: security@obscura.finance

    1. Trusted Execution Environments (TEEs)

    1.1 AWS Nitro Enclaves

    Obscura leverages AWS Nitro Enclaves—hardware-isolated compute environments—to create what we call The Citadel: a fortified zone where all sensitive operations occur.

    What Nitro Enclaves Provide:

    FeatureImplementation
    Hardware IsolationNo persistent storage, no interactive access, no external networking
    Memory EncryptionAll memory is encrypted by the Nitro Hypervisor
    AttestationCryptographic proof of code integrity before secret access
    Minimal Attack SurfaceNo SSH, no shell access, no administrative interfaces

    1.2 How We Use TEEs

    API Key Management Flow:

    1. Encrypted Storage: User API keys are encrypted with a master key before ever reaching our systems
    2. Secure Transmission: Keys travel to the enclave over an encrypted vsock channel
    3. Attested Decryption: The enclave proves its identity to AWS KMS before receiving decryption keys
    4. In-Memory Signing: Trade orders are signed entirely within protected memory
    5. Immediate Purging: Plaintext keys are wiped from memory microseconds after use

    The Critical Guarantee: No human—not even Obscura employees or AWS administrators—can ever access your plaintext API keys.

    1.3 Cryptographic Attestation

    The attestation process ensures that only the exact, audited version of our code can access secrets:

    1. Enclave boots → Requests attestation document from Nitro Hypervisor
    2. Document contains PCR hashes (code fingerprints)
    3. Enclave sends document to AWS KMS
    4. KMS verifies signature AND compares PCRs to allowlist
    5. If match → KMS releases decryption key
    6. If mismatch → Access denied

    Any code modification—even a single changed byte—alters the PCR hash, breaking attestation and locking the enclave out of all secrets.

    2. Zero-Knowledge Proofs

    2.1 Privacy-Preserving Verification

    Obscura uses Zero-Knowledge proofs to verify trading performance without exposing:

    • Individual trade prices
    • Position sizes
    • Entry/exit timing
    • Trading strategies
    • Exchange used

    What We Prove:

    MetricProven Without Revealing
    ProfitabilityIndividual trade P&L
    Win RateWhich trades won/lost
    Sharpe RatioVolatility calculations
    Max DrawdownSpecific loss events
    ConsistencyTrading frequency

    2.2 Technical Implementation

    ComponentTechnology
    LanguageNoir (Rust-like syntax for ZK circuits)
    Proving SystemUltraHonk (no trusted setup required)
    Recursive ProofsAggregate thousands of trades into single verifiable proof
    On-Chain VerificationConstant gas cost regardless of trade count

    2.3 Nillion Integration

    Obscura integrates with Nillion to enhance our privacy infrastructure:

    Nillion ComponentObscura Use Case
    NilDBSecure storage of encrypted trader metadata
    Nil ComputeBlind computation on sensitive trading signals
    SecretLinkingPrivacy-preserving trader-copier matching

    How Nillion Augments Our Architecture:

    • Beyond TEEs: Nillion's multi-party computation (MPC) adds a layer of cryptographic security that complements hardware isolation
    • Decentralized Secret Management: API key shards distributed across Nillion's network—no single point of compromise
    • Private Set Intersection: Match traders and copiers based on preferences without revealing those preferences

    The Nillion integration creates a defense-in-depth strategy: even if an attacker somehow breached the TEE, they would still face Nillion's distributed secret sharing.

    3. Decentralized Oracle Network (Sentinel DON)

    3.1 Byzantine Fault Tolerant Consensus

    The Sentinel DON replaces centralized data feeds with a distributed network of independent nodes:

    AspectSpecification
    ConsensusBFT (Byzantine Fault Tolerant)
    Nodes≥16 independent operators
    ToleranceUp to ⅓ Byzantine nodes
    FinalityCryptographic finality within seconds

    3.2 Cryptoeconomic Security

    • Staking: All node operators stake ZEN tokens as collateral
    • Slashing: Malicious reporting results in stake forfeiture
    • Incentives: Honest reporting earns fees; cheating becomes economically irrational

    3.3 Universal Exchange Adapters (UEA)

    The DON connects to both centralized and decentralized exchanges through standardized adapters, ensuring data integrity regardless of source.

    4. End-to-End Encryption

    4.1 Data in Transit

    LayerProtocol
    Web InterfaceTLS 1.3+
    API CommunicationTLS 1.3+ with certificate pinning
    Service-to-ServicemTLS with rotating certificates
    Enclave CommunicationEncrypted vsock channel

    4.2 Data at Rest

    Data TypeEncryptionKey Management
    API KeysAES-256-GCMAWS KMS + Enclave attestation
    User DataAES-256-GCMEnvelope encryption
    BackupsAES-256Offline HSM-stored keys
    LogsRedacted (no PII)N/A

    4.3 Key Management Hierarchy

    Master Keys (HSM)
        ↓
    Key Encryption Keys (AWS KMS)
        ↓
    Data Encryption Keys (per-user/per-session)
        ↓
    Encrypted User Data

    5. Threat Model & Mitigations

    STRIDE Analysis

    ThreatScenarioMitigation
    SpoofingAttacker impersonates legitimate servicemTLS, certificate pinning, domain validation
    TamperingOracle manipulation to falsify reputationBFT consensus + economic slashing
    RepudiationTrader denies submitting tradesCryptographic signatures + on-chain proofs
    Information DisclosureAPI key extraction from memoryTEE isolation + Nillion secret sharing
    Denial of ServiceAPI floodingRate limiting + DDoS protection
    Elevation of PrivilegeInternal employee abuses accessNo human access to keys; TEE attestation

    6. Third-Party Audits

    Audit TypeAuditorFrequencyStatus
    Smart Contract Security[Auditor Name]Pre-deployment + annualScheduled Q2 2026
    TEE Configuration[Auditor Name]AnnualCompleted Jan 2026
    ZK Circuit Verification[Auditor Name]Per circuit updateIn progress
    Penetration Testing[Auditor Name]QuarterlyNext: Mar 2026
    SOC 2 Type II[Auditor Name]AnnualTarget: Q4 2026

    Audit reports available to institutional partners under NDA. Contact investors@obscura.finance.

    7. Bug Bounty Program

    Obscura maintains an active bug bounty program:

    SeverityReward Range
    Critical$50,000 – $100,000
    High$10,000 – $50,000
    Medium$2,000 – $10,000
    Low$500 – $2,000

    Scope:

    • Smart contracts
    • TEE integration
    • ZK proof circuits
    • API security
    • Authentication mechanisms

    Reporting: security@obscura.finance (PGP encrypted preferred)

    8. Compliance & Certifications

    StandardStatus
    SOC 2 Type IIn progress (Q3 2026)
    ISO 27001Planned (Q1 2027)
    GDPRCompliant
    CCPACompliant
    PCI DSSN/A (no card storage)

    9. Frequently Asked Questions

    Q: Can Obscura employees see my API keys?

    A: Absolutely not. API keys are encrypted and only decrypted inside hardware-isolated TEEs. No human—including AWS administrators—can access the plaintext.

    Q: What happens if AWS is compromised?

    A: Our TEE architecture assumes the host is untrusted. Even with full AWS compromise, the enclave's hardware isolation prevents unauthorized access. Additionally, Nillion integration distributes trust across multiple cryptographic layers.

    Q: How do I know the TEE is running the right code?

    A: The attestation process cryptographically proves the exact code version. You can independently verify the PCR hashes against our published values.

    Q: What if someone steals my API keys from the exchange side?

    A: We strongly recommend configuring API keys with “withdrawals disabled.” Obscura never requests withdrawal permissions. Keys should also be rotated regularly.

    Q: How does Nillion integration improve security?

    A: Nillion adds a layer of cryptographic secret sharing. Even if an attacker bypassed the TEE, they would only obtain fragments of keys, useless without the complete set distributed across the Nillion network.

    Q: Are ZK proofs truly private?

    A: Yes. The proofs reveal only what you authorize—typically performance metrics. Individual trade details remain mathematically hidden. However, blockchain anchors are public; pseudonymity depends on your actions.

    10. Responsible Disclosure

    If you believe you've found a security vulnerability:

    1. Email: security@obscura.finance
    2. PGP Encryption: Use our published key
    3. Details: Include steps to reproduce, potential impact
    4. Timeline: We acknowledge within 24 hours
    5. Disclosure: Coordinated disclosure after fix

    We commit to:

    • No legal retaliation against good-faith researchers
    • Public acknowledgment (with consent)
    • Bug bounties as specified

    11. Security Roadmap

    QuarterInitiative
    Q1 2026TEE attestation public dashboard
    Q2 2026Formal verification of core ZK circuits
    Q3 2026SOC 2 Type I completion
    Q4 2026MPC integration expansion with Nillion
    Q1 2027ISO 27001 certification
    Q2 2027Public verifiability dashboard

    12. Summary: Defense in Depth

    Obscura's security architecture employs overlapping layers:

    Layer 1: Hardware Isolation (Nitro Enclaves)
    Layer 2: Cryptographic Privacy (ZK Proofs)
    Layer 3: Distributed Trust (Nillion MPC)
    Layer 4: Decentralized Consensus (Sentinel DON)
    Layer 5: Economic Security (Staking + Slashing)
    Layer 6: Encryption (TLS + AES-256)
    Layer 7: Access Controls (MFA + Least Privilege)

    No single point of failure. Compromising any one layer leaves the others intact.

    Security inquiries: security@obscura.finance

    Vulnerability reporting: PGP key available on website

    Compliance / Privacy: compliance@obscura.finance