This site's supply chain
This site is a small, static website. It is built and deployed in the open from teruokun/codeecologist.com. This page lists what goes into it and how you can check that the files you are served are the files that were built.
What's pinned, and how
- npm dependencies are pinned to exact versions, installed only from the committed lockfile (
npm ci), with install scripts turned off. - Node.js is pinned to one version in
.node-version. - GitHub Actions are pinned to full commit SHAs, not tags. Every workflow starts with no token permissions, and each job is granted only what it needs.
- Deploy tools (Cloudflare's
wrangler) have their own lockfile and are installed only in the deploy job, so they are never part of the build. - Updates come from Dependabot once a week. A new release waits 7 days before it is proposed, and every update is reviewed and merged by hand.
- No third-party scripts or requests. The page loads nothing from any other site, and the Content-Security-Policy enforces that.
SBOM
Each deploy publishes a CycloneDX software bill of materials for the build, including build tools: /.well-known/sbom.cdx.json.
Checksums and provenance
The build writes the SHA-256 of every file it produces to /.well-known/site-checksums.txt. GitHub Actions then signs a SLSA build provenance attestation for each of those files and for the checksums file itself, and an attestation for the SBOM. The deploy job verifies the attestation and every checksum before anything is uploaded.
Verify it yourself
With the GitHub CLI installed:
# The checksums file: built from this repository by the deploy workflow
curl -sO https://codeecologist.com/.well-known/site-checksums.txt
gh attestation verify site-checksums.txt -R teruokun/codeecologist.com
# Any single page, for example the homepage
curl -s https://codeecologist.com/ -o index.html
gh attestation verify index.html -R teruokun/codeecologist.com
# The SBOM attestation
gh attestation verify site-checksums.txt -R teruokun/codeecologist.com \
--predicate-type https://cyclonedx.org/bomTo pin the exact workflow that signed it, add --signer-workflow teruokun/codeecologist.com/.github/workflows/deploy.yml.
OpenSSF Scorecard
The repository is scored weekly by the OpenSSF Scorecard, which checks for practices such as pinned dependencies, branch protection and token permissions.
Why some Cloudflare features are off
Cloudflare can rewrite pages as it serves them: obfuscating email addresses, deferring scripts (Rocket Loader) or injecting analytics. Each of those would change the bytes after they were built and attested, so all three are turned off, and that setting is managed in code alongside the DNS.
Known limits
- Cloudflare serves the files, so you still trust Cloudflare to serve the bytes it was given. The attestations let you detect a difference, not prevent one.
- URLs that end in
/are served from anindex.htmlfile; save the page under that name, as in the example above, before verifying it. - Response headers (such as the Content-Security-Policy) come from the
_headersfile, which Cloudflare reads as configuration rather than serving. It is covered by the checksums, but headers that Cloudflare adds at the edge are not.