Skip to content

[EPIC] Security & supply-chain hardening for mainnet #651

@joelpeace48-cell

Description

@joelpeace48-cell

Epic / consolidation. Merges the security-hardening + supply-chain tasks into one high-priority, mainnet-blocking initiative. Supersedes #585, #586, #588, #589, #590, #591, #592, #599 (and folds in the intent of the former bug-bounty/pentest/threat-model docs).

Why this matters (trust = growth)

For a value-moving rewards platform, a single security incident ends the project. Security and supply-chain integrity are prerequisites for operators to trust Trivela with real assets — and therefore for adoption. This bundles the hardening work that must land before mainnet.

Goal

Harden the build pipeline and runtime against supply-chain and application attacks: signed/attested artifacts, reproducible builds, brute-force protection, strict CSP, secret rotation, input fuzzing, and abuse-resistant allowlist imports.

Scope (merged work items)

Acceptance criteria

  • Releases ship verifiable SBOM + provenance; unsigned images rejected at deploy.
  • Same commit → identical WASM hash in CI; lockfile/dependency drift fails CI.
  • Brute-force triggers lockout; CSP blocks inline/un-pinned scripts; fuzz run finds no unhandled errors; anomalous imports are gated.

Verification

  • CI: hash double-build, cosign verify (negative test), fuzz job, promtool/header scans; brute-force + anomaly integration tests.

Priority: high · Difficulty: hard · Effort: L · mainnet blocker

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignciContinuous Integration / workflowsdifficulty: hardLarger or subtle changesenhancementNew feature or requestepicLarge initiative bundling multiple work itemsinfraDeployment, docker, runtimemainnetCritical for mainnet launchpriority: highHigh-priority, high-impact worksecuritySecurity hardening and scanning

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions