Skip to content

fix: remove pip from runtime image and exclude app/.env from build co…#541

Merged
jackseceng merged 3 commits into
mainfrom
kiro-additional-hooks
May 13, 2026
Merged

fix: remove pip from runtime image and exclude app/.env from build co…#541
jackseceng merged 3 commits into
mainfrom
kiro-additional-hooks

Conversation

@jackseceng
Copy link
Copy Markdown
Collaborator

…ntext

  • Strip pip and setuptools from python3.15 stdlib in build stage so CVE-2026-6357 / GHSA-jp4c-xjxw-mgf9 are not present in runtime image
  • Add app/.env to .dockerignore to prevent JWT token being baked into image layers (Trivy secret detection finding)
  • Pin Grype and Trivy scanner versions in Kiro hooks to match CI
  • Add version-sync step to hooks so scanner versions stay aligned with security.yml on branch checkout
  • Add Kiro IDE explainer to readme.md

…ntext

- Strip pip and setuptools from python3.15 stdlib in build stage so
  CVE-2026-6357 / GHSA-jp4c-xjxw-mgf9 are not present in runtime image
- Add app/.env to .dockerignore to prevent JWT token being baked into
  image layers (Trivy secret detection finding)
- Pin Grype and Trivy scanner versions in Kiro hooks to match CI
- Add version-sync step to hooks so scanner versions stay aligned with
  security.yml on branch checkout
- Add Kiro IDE explainer to readme.md
@jackseceng jackseceng marked this pull request as ready for review May 13, 2026 11:57
@jackseceng jackseceng merged commit c02570a into main May 13, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant