Skip to content

Latest commit

ย 

History

History
291 lines (225 loc) ยท 18.6 KB

File metadata and controls

291 lines (225 loc) ยท 18.6 KB

Hack23 Logo

๐Ÿ’ฐ Hack23 Homepage โ€” Financial & Security Plan

๐Ÿ“Š Infrastructure Cost Analysis & Security Investment for hack23.com
๐Ÿ”— Secure Development Policy ยท Classification Framework

Owner Version Status

License OpenSSF Scorecard

๐Ÿ“‹ Document Owner: CEO | ๐Ÿ“„ Version: 1.0 | ๐Ÿ“… Last Updated: 2026-04-21 (UTC) ๐Ÿ”„ Review Cycle: Annual | โฐ Next Review: 2027-04-21 ๐Ÿท๏ธ Classification: Public (Static Corporate Website)

๐Ÿ” ISMS Alignment: Implements the financial / lifecycle documentation requirement of the Hack23 Secure Development Policy and supports the BCPPlan.md by establishing the recovery cost envelope.


๐Ÿ“‹ Purpose

This document outlines the financial profile and security investment for the Hack23 Homepage (hack23.com) โ€” the static corporate website that hosts the Hack23 product portfolio, ISMS transparency portfolio, and lead-generation surfaces. For architectural context, see the Architecture Documentation, End-of-Life Strategy, and BCP Plan.


๐Ÿ’ต Current Cost Summary โ€” AWS CloudFront + S3 Static Deployment

The site is a static HTML/CSS site with no backend (no Lambda, no databases, no compute). All hosting cost is therefore predictable, low, and dominated by AWS DNS + CDN charges.

Cash Flow Overview

Time Frame Monthly (USD) Annual (USD)
AWS Infrastructure $7.00 $84.00
Security Tooling $0.00 $0.00
Development CI/CD $0.00 $0.00
Grand Total $7.00 $84.00

Note: All costs are illustrative for a low-volume corporate website (target traffic well below CloudFront / CloudWatch free-tier thresholds). Actual AWS billing may vary modestly with traffic. Hack23 leverages OSS / free-tier developer tooling for security and CI/CD, so the marginal cost of compliance and supply-chain assurance is effectively zero.


๐Ÿ—๏ธ AWS Infrastructure Cost Breakdown

Component Service Monthly (USD) Annual (USD) Notes
Hosting AWS S3 (private bucket via OAC) $0.50 $6.00 1,353 small HTML files; AES-256 SSE; versioning enabled
CDN AWS CloudFront $2.00 $24.00 Global edge distribution; TLS 1.3; security-headers policy; AWS Shield Standard included
DNS AWS Route 53 $1.50 $18.00 Hosted zone + queries + health-check (DR failover to GitHub Pages)
Domain Domain registration $1.00 $12.00 Annual .com renewal (~$12 averaged)
SSL / TLS AWS Certificate Manager $0.00 $0.00 Free TLS certificates for CloudFront
DR Hosting GitHub Pages $0.00 $0.00 Free DR origin via gh-pages branch (public repo)
Monitoring AWS CloudWatch (basic) $2.00 $24.00 Basic metrics, log retention, alarms
AWS Total $7.00 $84.00

๐Ÿ›ก๏ธ Security & DevOps Tooling (All Free Tier / OSS)

Component Service Monthly (USD) Annual (USD) Notes
CI/CD (10 workflows) GitHub Actions $0.00 $0.00 Free for public repos (unlimited minutes)
Code Scanning (SAST) GitHub CodeQL $0.00 $0.00 Free for public repos
Dependency Scanning Dependabot $0.00 $0.00 Free for all repos
Dependency Review actions/dependency-review-action $0.00 $0.00 Free for public repos
Supply-Chain Score OpenSSF Scorecard $0.00 $0.00 Free OSS
SBOM Generation Anchore Syft $0.00 $0.00 Free OSS (SHA-pinned action)
Build Provenance GitHub actions/attest-build-provenance (SLSA 3) $0.00 $0.00 Free for public repos
Runtime Hardening StepSecurity Harden Runner $0.00 $0.00 Free for public repos
DAST OWASP ZAP (ghcr.io/zaproxy/zaproxy:stable) $0.00 $0.00 Free OSS
HTML Validation HTMLHint, html5validator $0.00 $0.00 Free OSS
Performance / Accessibility Lighthouse CI, axe (via Lighthouse) $0.00 $0.00 Free OSS
Link Checking Linkinator $0.00 $0.00 Free OSS
License Compliance FOSSA (badge in README), GitHub License Detection $0.00 $0.00 Free for OSS
Tooling Total $0.00 $0.00

๐Ÿ“Š Cost Distribution

%%{init: {"theme": "base", "themeVariables": {"primaryColor": "#e8f5e9", "primaryTextColor": "#2e7d32", "lineColor": "#4caf50"}}}%%
pie title Monthly Infrastructure Cost Distribution ($7.00/month)
    "AWS CloudFront CDN" : 2.00
    "AWS CloudWatch" : 2.00
    "AWS Route 53 DNS" : 1.50
    "Domain Registration" : 1.00
    "AWS S3 Hosting" : 0.50
Loading

๐Ÿ” Security Investment Analysis

Current Security Tooling (Incremental Cost โ€” All Free / OSS)

Note: This table covers incremental security tooling costs only. AWS-bundled security services (Shield Standard, ACM, OAC, Origin Access Logs) are accounted for in the infrastructure breakdown above.

Security Service Provider Annual Cost ISMS Policy Alignment
SAST (CodeQL) GitHub $0.00 Secure Development Policy
DAST (OWASP ZAP baseline) OWASP $0.00 Secure Development Policy
Dependency Scanning Dependabot + dependency-review $0.00 Vulnerability Management
Secret Scanning GitHub Secret Scanning + push protection $0.00 Cryptographic Controls Policy
Supply Chain Scoring OpenSSF Scorecard $0.00 Open Source Policy
SBOM (SPDX 2.3) Anchore Syft $0.00 Open Source Policy
SLSA Level 3 Provenance GitHub OIDC + attest-build-provenance $0.00 Open Source Policy
Runtime Hardening StepSecurity Harden Runner (egress allowlist) $0.00 Network Security Policy
Performance / A11y Lighthouse CI (Perf โ‰ฅ 90, A11y 100, SEO 100) $0.00 Secure Development Policy
HTML / Link Validation HTMLHint, html5validator, Linkinator $0.00 Secure Development Policy
TLS Certificates AWS Certificate Manager Included in AWS infra Cryptographic Controls Policy
Total Incremental Tooling Cost $0.00

Security Posture Metrics

Metric Value Source
Total security tooling investment $0 / year All OSS / free-tier
Total infrastructure security investment โ‰ˆ $54 / year AWS Shield Standard + CloudWatch + Route 53 health-checks + S3 versioning (subset of $84 AWS spend)
Vulnerability detection coverage SAST + DAST + SCA + secret scanning + scorecard Multi-layer pipeline
Mean Time to Detect (MTTD) โ€” code < 24 h Automated CI on every PR
Lighthouse Performance budget โ‰ฅ 90 budget.json enforced in CI
Lighthouse Accessibility 100 WCAG 2.1 AA
Lighthouse SEO 100 Schema.org + hreflang + sitemap
Supply-chain score OpenSSF Scorecard (badge in README) Continuous
SLSA Build Level Level 3 GitHub Actions attestation per release
Latest released version v1.0.11 GitHub Releases

๐Ÿ—๏ธ AWS Infrastructure Security Architecture

%%{init: {"theme": "base", "themeVariables": {"primaryColor": "#e3f2fd", "primaryTextColor": "#01579b", "lineColor": "#2196f3"}}}%%
flowchart LR
    subgraph USERS["๐ŸŒ Visitors"]
        BROWSER["๐Ÿ–ฅ๏ธ Browser<br/>(Public)"]
    end

    subgraph AWS["โ˜๏ธ AWS Infrastructure (~$7.00/month)"]
        R53["๐Ÿ”— Route 53<br/>$1.50/month<br/>DNS + Health-Check Failover"]
        CF["๐ŸŒ CloudFront CDN<br/>$2.00/month<br/>TLS 1.3 + Sec Headers + Shield Std"]
        S3["๐Ÿ“ฆ S3 Bucket<br/>$0.50/month<br/>Versioning + AES-256 + OAC"]
        ACM["๐Ÿ”’ ACM<br/>$0.00<br/>Auto-renewing TLS"]
        CW["๐Ÿ“Š CloudWatch<br/>$2.00/month<br/>Metrics + Logs + Alarms"]
    end

    subgraph DR["๐Ÿ”„ Disaster Recovery ($0/month)"]
        GHP["๐Ÿ  GitHub Pages<br/>Mirror of release zip"]
    end

    BROWSER --> R53
    R53 --> CF
    CF --> S3
    CF --> ACM
    CW --> CF
    CW --> S3
    R53 -.->|Health-check failover| GHP

    style AWS fill:#e3f2fd
    style DR fill:#f3e5f5
    style USERS fill:#e8f5e9
Loading

AWS Security Controls (Included in Base Cost)

Security Control AWS Service Additional Cost ISMS Alignment
HTTPS Enforcement CloudFront + ACM $0.00 Cryptographic Controls Policy
DDoS Protection AWS Shield Standard $0.00 Network Security Policy
Origin Access CloudFront OAC $0.00 Access Control Policy
Versioning / Backup S3 Versioning $0.00 Backup & Recovery Policy
Encryption at Rest S3 SSE-AES-256 $0.00 Cryptographic Controls Policy
Access Logging S3 + CloudFront access logs $0.00 Information Security Policy
Health-Check Failover Route 53 health checks โ†’ GitHub Pages $0.00 (within Route 53 spend) BCPPlan.md
Security Headers CloudFront Functions / Response Headers Policy $0.00 (free-tier invocations) Secure Development Policy

CloudFront Functions pricing includes a generous monthly free tier. The plan assumes traffic remains well within this tier; higher invocation volumes would add per-invocation charges according to AWS regional pricing.


๐Ÿ’ฐ Total Cost of Ownership (TCO) Summary

3-Year TCO Projection

Cost Category Year 1 Year 2 Year 3 3-Year Total
AWS Infrastructure $84.00 $84.00 $84.00 $252.00
Security Tooling $0.00 $0.00 $0.00 $0.00
CI/CD Pipeline (10 workflows) $0.00 $0.00 $0.00 $0.00
Compliance Tooling $0.00 $0.00 $0.00 $0.00
Development Tooling $0.00 $0.00 $0.00 $0.00
Total $84.00 $84.00 $84.00 $252.00

Cost Efficiency Analysis

Metric Value Benchmark
Monthly cost per page (1,353 HTML files) < $0.006 Static marketing site
Annual cost per language (14 languages) $6.00 International reach
Security cost per vulnerability finding $0.00 Fully automated free-tier tools
DR cost overhead $0.00 GitHub Pages
Compliance cost (ISO 27001 / NIST CSF / CIS / CRA evidence) $0.00 Self-documented in docs/ per release

๐Ÿ“ˆ Cost Optimisation Strategies

Currently in Force

  1. ๐Ÿ†“ Public-repo advantage โ€” Every GitHub-supplied scanning, attestation, and CI/CD service is free for public repositories
  2. โ˜๏ธ AWS free-tier alignment โ€” CloudWatch and CloudFront Functions stay inside their respective free tiers at current traffic volumes
  3. ๐Ÿ“ฆ Static-only architecture โ€” No Lambda, EC2, container, or database spend
  4. ๐Ÿ”’ Built-in security โ€” AWS Shield Standard, ACM, and OAC cost nothing extra
  5. ๐Ÿ”„ Free DR โ€” GitHub Pages provides a no-cost active mirror via Route 53 health-check failover
  6. ๐Ÿ“‹ Documentation-as-code โ€” release.yml regenerates Lighthouse, accessibility, security, and SBOM reports per release into the docs/ folder, removing the need for paid compliance dashboards
  7. ๐Ÿค– AI tooling on free tiers โ€” GitHub Copilot Coding Agent (organisation entitlement); MCP servers run locally per developer

Future Cost Considerations

If the website evolves beyond a static frontend (see FUTURE_ARCHITECTURE.md), expected cost adjustments:

Evolution Scenario Estimated Additional Monthly Cost Key Cost Drivers
Current (static site) $7.00 (baseline) CloudFront + S3 + Route 53
+ Server-less contact form +$1โ€“3 API Gateway + Lambda + SES
+ Newsletter / signup +$2โ€“5 DynamoDB + Lambda + SES
+ Search index +$5โ€“15 OpenSearch Serverless or 3rd-party
+ Authenticated client portal +$10โ€“20 Cognito + DynamoDB + Lambda
+ AWS WAF + GuardDuty +$30โ€“50 Enhanced detective controls
Full enhanced AWS stack $50โ€“100 All AWS managed security services

๐Ÿ”„ Budget Alignment with ISMS Policies

Security Investment by ISMS Policy Area

๐Ÿ›ก๏ธ ISMS Policy ๐Ÿ’ฐ Current Annual Cost ๐Ÿ”ง Services Used ๐Ÿ“Š Business Value
Secure Development Policy $0.00 CodeQL, ZAP, Lighthouse, HTMLHint, html5validator Code & content quality assurance
Vulnerability Management $0.00 Dependabot, dependency-review, OpenSSF Scorecard Continuous vulnerability detection
Cryptographic Controls Policy $0.00 AWS ACM (TLS 1.3), Secret Scanning TLS + secret protection
Network Security Policy $24.00 CloudFront + AWS Shield Standard + StepSecurity Harden Runner CDN + DDoS + egress allowlist
Access Control Policy $0.00 CloudFront OAC, S3 bucket policy, AWS OIDC for GitHub Actions Origin & deploy access control
Backup & Recovery Policy $6.00 S3 versioning, GitHub Pages DR, Route 53 health-check failover Multi-layer DR (see BCPPlan.md)
Information Security Policy $24.00 CloudWatch + S3/CloudFront access logs Monitoring & audit trail
Open Source Policy $0.00 Anchore Syft SBOM, SLSA Level 3, FOSSA, Scorecard License & supply-chain assurance
AI Policy $0.00 GitHub Copilot, 58 skills, 8 custom agents, MCP servers AI-assisted DevSecOps with policy guardrails
Total $54.00

๐Ÿ“‹ Related Documents

Icon Document Relationship
๐Ÿ—๏ธ Architecture System design
๐Ÿ›ก๏ธ Security Architecture Defense-in-depth controls
๐ŸŽฏ Threat Model Risk-driven justification for investment
๐Ÿ”ฎ Future Architecture Cost-impact evolution scenarios
๐Ÿ”š End-of-Life Strategy Sunset cost considerations
๐Ÿ”„ BCP Plan Recovery cost envelope
๐Ÿ›ก๏ธ CRA Assessment Regulatory cost evidence
๐Ÿ“– README Project overview
๐Ÿ’ผ SWOT Strategic positioning

๐Ÿ“‹ Document Control

โœ… Approved by: James Pether Sรถrling, CEO, Hack23 AB ๐Ÿ“ค Distribution: Public ๐Ÿท๏ธ Classification: Confidentiality: Public ๐Ÿ“… Effective Date: 2026-04-21 โฐ Next Review: 2027-04-21

ISO 27001:2022 NIST CSF 2.0 CIS Controls v8.1