Repository navigation
Security: harden CSP and update Sharp with synchronized npm lockfile - #37
Merged
Merged
Conversation
AstroMyth101
marked this pull request as ready for review
October 12, 2026 17:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Security changes
sharpto0.35.5and regenerate npmpackage-lock.json, preserving existing npm-only deployment.script-src 'self'without'unsafe-inline'.Verified
npm ciandnpm run buildpassed with updated lockfile.@11ty/eleventy,@11ty/eleventy-dev-server,@11ty/eleventy-img,argparse,brace-expansion,braces,chokidar,image-size,js-yaml,liquidjs,markdown-it,nunjucks,sprintf-js. These require separate targeted upgrades and threat-model review rather than a blindnpm audit fix --force.jsclass anddata-theme, theme-color and toggle present, theme-init asset available. No matching JS/CSP failures in captured browser stderr. Validation run.f9f35762693fb94d857bc4acf4f1a26c82299cfe.npm ciandnpm run buildpassed on cleanup commit09512b6, run 38283734463.Separate dependency investigation
npm audit fix --forcein this security PR. Review patched dependency versions and their compatibility in a separate follow-up change. Static site has reduced runtime exposure, but CI that processes untrusted source/images remains in scope.Merge gate
Remain draft, unmerged, pending explicit approval. Residual advisories are not claimed resolved. Original Jules PRs #28/#31 superseded by this npm-compatible implementation; #27/#30 independent.