gchq / gchq/CyberChef

Feature request: jinja2 templating

Open
#1,241 1 comment 2 reactions 0 assignees View on GitHub
feature
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

**Is your feature request related to a problem? Please describe.**
I would like to replace online `jinja2` templating tools with CyberChef.
An useful example is https://j2live.ttl255.com/ - i rely on this tool heavily.
Especially the 'Ansible' complient module / mode.

I appreciate the work from Przemek Rogala - but dont want to rely on an external tool.
Specifically after I found that the tool is mandatory for me - and was one day down...

**Describe the solution you'd like**
A implementation to render and parse `jinja2` templates - with the special Ansible support / modules.

**Describe alternatives you've considered**
As i mentioned - online tools can fail there service. (selfhosted for sure too)

**Additional context**
I realy dont know how complex this imlementation would be.
I dont know if there is an usable libary or something.

Here is the official website:
https://jinja.palletsprojects.com/en/3.0.x/

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by reviewing CyberChef's application structure and the Jinja2 documentation, including the requested Ansible support, to determine whether an in-browser implementation is feasible. Done should mean CyberChef can render and parse the requested Jinja2 templates without relying on an external service.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.