Skip to content

Conversation

@eyurtsev
Copy link
Collaborator

@eyurtsev eyurtsev commented Nov 1, 2023

  • This is an opt-in feature, so users should be aware of risks if using jinja2.
  • Regardless we'll add sandboxing by default to jinja2 templates -- this
    sandboxing is a best effort basis.
  • Best strategy is still to make sure that jinja2 templates are only loaded from trusted sources.

@vercel
Copy link

vercel bot commented Nov 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Nov 1, 2023 7:55pm

@baskaryan baskaryan merged commit 0e1aedb into master Nov 1, 2023
@baskaryan baskaryan deleted the eugene/jinja_sandbox branch November 1, 2023 21:54
xieqihui pushed a commit to xieqihui/langchain that referenced this pull request Nov 21, 2023
* This is an opt-in feature, so users should be aware of risks if using
jinja2.
* Regardless we'll add sandboxing by default to jinja2 templates -- this
  sandboxing is a best effort basis.
* Best strategy is still to make sure that jinja2 templates are only
loaded from trusted sources.
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.

3 participants