Skip to content

Sandbox pipeline template hydration (v0.1.40) - #89

Merged
Volv-G merged 1 commit into
masterfrom
piforge/auto-code-writer/code-dev-graph-implementation-3aa5996
Nov 20, 2026
Merged

Volv-G merged 1 commit into
masterfrom
piforge/auto-code-writer/code-dev-graph-implementation-3aa5996

Conversation

@Volv-G

@Volv-G Volv-G commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Render template_file inputs with Jinja2's sandbox and fail hydration clearly when unsafe Python-internal access is attempted. The Python-source trust options do not disable the template sandbox.
  • Preserve normal template features, shared parent-directory templates, and symlinked macros. Include/import names continue to resolve through the template-directory loader.
  • Add 14 template regression cases and replace a decompiler fixture that depended on unrestricted template execution.
  • Require Jinja2 >=3.1.6 and release as 0.1.40; update documentation and packaging assertions.

Validation

  • Python 3.12.6, offline; external networking denied, with loopback allowed for local HTTP/TLS test fixtures.
  • Lockfile and whitespace checks passed.
  • Focused suite: 275 passed.
  • Full suite: 2,504 passed (one expected localhost TLS warning).
  • Against unpatched master, five security cases fail as expected and nine compatibility cases pass.
  • Independent local review: no blocking findings; all 14 template cases passed with networking denied.

Tracking: SECFIX-8201.

@Volv-G
Volv-G requested a review from Ark-kun as a code owner November 20, 2026 23:50
@Volv-G
Volv-G merged commit 293f823 into master Nov 20, 2026
6 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