fix: block stored HTML injection and lint against raw HTML sinks (#9129)

This commit is contained in:
Hayden authored and GitHub committed 2026-11-11 18:28:25 +00:00
1 parent 15e3c6ac87
commit cc7e4e0f7c
38 files changed
+676 -247

No files matched your search

+10
View File
@@ -12,9 +12,19 @@ inputs:
runs:
using: composite
steps:
# pipx tools install through `uv tool install`, and their venvs link to the Python that uv
# picked. When the runner has no matching system Python (ubuntu-26.04 has none for semgrep),
# uv downloads one to ~/.local/share/uv, which the mise cache does not hold. A later cache hit
# then restores a venv whose interpreter is gone. Keep uv's Pythons inside the cached mise dir.
- name: Keep uv-managed Pythons in the mise cache
shell: bash
run: echo "UV_PYTHON_INSTALL_DIR=${XDG_DATA_HOME:-$HOME/.local/share}/mise/uv-python" >> "$GITHUB_ENV"
- name: Install tools with mise
uses: jdx/mise-action@v5
with:
# v1 caches can hold pipx venvs that link to an uncached uv Python (see the step above)
cache_key_prefix: mise-v2
# renovate: datasource=github-releases depName=jdx/mise extractVersion=^v(?<version>.+)$
version: 2026.11.3
install_args: ${{ inputs.tools }}