secstack
Hardware-aware installer, unified-memory model sizer, and network-scoped control plane for running local security frameworks on Apple Silicon.
- Apple Silicon
- Ollama
- Docker
- MCP
- Network Isolation
Building security-first infrastructure, hardware-isolated local AI tooling, and low-level systems software. Notes, open-source work, and research documented in the open.
$ ./setup.sh --plan
# Hardware profile: Apple Silicon · Unified Memory
# Scope firewall: pentest-net -> scope.cidrs ONLY
# Loopback split: Ollama 127.0.0.1 | Lab UIs 127.0.0.2
$ secstack prep && secstack audit
[ok] bridge egress filter active (fail-closed)
[ok] weight digests & git commit pins verified
# terraform/waf.tf — Dual Cloudflare IP + Header Lock
statement {
and_statement {
statement {
ip_set_reference_statement {
arn = aws_wafv2_ip_set.cloudflare_ipv4.arn
}
}
statement {
byte_match_statement {
positional_constraint = "EXACTLY"
search_string = var.origin_verify_secret
}
}
}
}
// Swept continuous collision sub-step (C++20)
const auto hit = solveCapsuleSweep(ball, flipper, dt);
if (hit.collided) {
ball.velocity = reflectWithSpin(
ball.velocity, hit.normal, flipper.angularVelocity
);
}
Hardware-aware installer, unified-memory model sizer, and network-scoped control plane for running local security frameworks on Apple Silicon.
Clean-room C++ simulation of classic electromechanical arcade pinball physics with swept continuous collision detection and tactile haptics.
End-to-end serverless static hosting with TLS 1.3 everywhere, dual WAFv2 IP + secret header origin lockdown, KMS encryption, and GitHub OIDC continuous deployment.
Why IP allowlists alone still permit cross-tenant CDN spoofing, and how combining WAFv2 peer-IP sets with a secret edge transform header locks an S3 + CloudFront origin shut.
Local inference daemons often treat 127.0.0.1 as implicitly trusted—a risky assumption once vulnerable lab targets and agent-driven browsers share loopback.
Why static sites frequently fall back to unsafe-inline CSP policies, and how content-hashed external bundles with SHA-384 Subresource Integrity avoid it cleanly.
Mapping applicable OWASP ASVS v4.0.3 controls onto a private S3 + KMS + CloudFront + Cloudflare static architecture.
Empirical notes on disabling TLS 1.2 across both proxy hops (Viewer → Cloudflare → CloudFront) and verifying X25519MLKEM768 key exchange.
Safe memory ceilings when co-running macOS, a Linux container VM, and quantized tool-calling models from 16 GB to 128 GB+ unified RAM.