• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

masci / banks
95%

Build:
DEFAULT BRANCH: main
Repo Added 29 Sep 2024 04:08PM UTC
Files 24
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • clelia/add-pydantic-input-and-xml-filter
  • copilot/migrate-project-config-away-from-hatch
  • docs/rename-claude-to-agents
  • docs/template-security-warning
  • feat-accept-bytes-for-filters
  • feat-support-documents
  • feat-support-video
  • fix-unknown-role-error-message
  • issue_70
  • logan/fix-deps
  • logan/fix_content_block_parsing
  • logan/optional_deps
  • main
  • massi/3.9
  • massi/34
  • massi/36
  • massi/54
  • massi/56
  • massi/58
  • massi/audio
  • massi/audio-filter
  • massi/audiourl
  • massi/bump-python
  • massi/deps
  • massi/fix-latest-hatch-lint
  • massi/img-bug
  • massi/typos
  • massi/xml-support
  • patch-1
  • update-readme-chat-example

27 Apr 2026 12:13PM UTC coverage: 94.769% (+0.006%) from 94.763%
24994328106

push

github

web-flow
fix: prevent SSTI by switching to SandboxedEnvironment (#74)

* docs: warn that prompt templates are trusted code

Templates are rendered in an unsandboxed Jinja2 environment, so passing
untrusted user input as template text allows arbitrary code execution.
Document the safe pattern (variables) vs the unsafe one (raw user strings).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: use SandboxedEnvironment to prevent SSTI

Switch from jinja2.Environment to jinja2.sandbox.SandboxedEnvironment.
This blocks access to dunder attributes in templates, preventing SSTI
payloads from reaching __builtins__ and executing arbitrary code.

All existing tests pass unchanged. Add a regression test that verifies
the canonical SSTI payload raises an exception.

Also document that templates are trusted code and that user-supplied
strings must never be passed as template text.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: tighten SSTI test to assert SecurityError and update docs to reflect SandboxedEnvironment

Agent-Logs-Url: https://github.com/masci/banks/sessions/de6273d5-80bf-468c-8853-feeb273a7294

Co-authored-by: masci <7241+masci@users.noreply.github.com>

* chore: remove e2e tests and Python 3.9 from CI

e2e tests require an OpenAI API key that is no longer valid.
Python 3.9 is EOL (Oct 2025) and newer virtualenv drops support for it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: masci <7241+masci@users.noreply.github.com>

102 of 108 branches covered (94.44%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

840 of 886 relevant lines covered (94.81%)

0.95 hits per line

Relevant lines Covered
Build:
Build:
886 RELEVANT LINES 840 COVERED LINES
0.95 HITS PER LINE
Source Files on main
  • Tree
  • List 24
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
24994328106 main fix: prevent SSTI by switching to SandboxedEnvironment (#74) * docs: warn that prompt templates are trusted code Templates are rendered in an unsandboxed Jinja2 environment, so passing untrusted user input as template text allows arbitrary code ... push 27 Apr 2026 12:14PM UTC web-flow github
94.77
24993963446 docs/template-security-warning Merge 65e591559 into 1aed53841 Pull #74 27 Apr 2026 12:06PM UTC web-flow github
94.77
22861539457 copilot/migrate-project-config-away-from-hatch Merge 451926d84 into 1aed53841 Pull #73 09 Mar 2026 05:15PM UTC web-flow github
94.76
22861362601 copilot/migrate-project-config-away-from-hatch Merge 5d395f6c1 into 1aed53841 Pull #73 09 Mar 2026 03:40PM UTC web-flow github
94.76
22861306802 copilot/migrate-project-config-away-from-hatch Merge 835f63cc4 into 1aed53841 Pull #73 09 Mar 2026 03:38PM UTC web-flow github
94.76
22857098836 copilot/migrate-project-config-away-from-hatch Merge c0b731d65 into 1aed53841 Pull #73 09 Mar 2026 02:02PM UTC web-flow github
94.76
22096426347 main Add backfordward support for Python 3.9 (#71) Co-authored-by: Massimiliano Pippi <mpippi@gmail.com> push 17 Feb 2026 11:20AM UTC web-flow github
94.76
22095372686 issue_70 Merge 0930452c0 into 05ff5537c Pull #71 17 Feb 2026 10:47AM UTC web-flow github
94.76
22095354489 main explicitly ignore missing stubs for griffe (#72) push 17 Feb 2026 10:45AM UTC web-flow github
94.74
22095160546 massi/fix-latest-hatch-lint Merge 5a83df5b4 into 0184f0d07 Pull #72 17 Feb 2026 10:38AM UTC web-flow github
94.74
See All Builds (153)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc