Scan your whole stack
From OX Research Newsroom
Are you using @rhinostone/swig-django?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.12.6
@rhinostone/swig-django was last scanned on 21 Nov 2026 at version 2.12.6. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.12.6 LATEST | 21 Nov 2026 | No rules fired |
| 2.12.5 | 18 Nov 2026 | No rules fired |
| 2.12.2 | 8 Nov 2026 | No rules fired |
| 2.12.1 | 3 Nov 2026 | Not shown |
| 2.12.0 | 2 Nov 2026 | Not shown |
Findings for v2.12.6. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.12.6; other versions have their own rules, not their own score.
0 CRITICAL 1 HIGH 0 MEDIUM 0 LOW
The publisher’s own README, as collected from the registry.
Django Template Language frontend for the @rhinostone/swig-core template engine. Part of the multi-flavor architecture introduced in 2.0.0 — see ROADMAP.md for the release narrative.
npm install @rhinostone/swig-django
This pulls in @rhinostone/swig-core as a peer dependency, pinned to the matching version. Frontends and the core release in lockstep — do not mix versions.
var swig = require('@rhinostone/swig-django');
var out = swig.render('Hello, {{ name|upper }}!', {
locals: { name: 'world' }
});
// => Hello, WORLD!
Renders real Django templates — everything below was cross-checked against Django 5.2.
if / elif / else, for / empty (with forloop), block, extends, include, with, autoescape, spaceless, comment, verbatim, cycle, firstof.alters_data / do_not_call_in_templates), numeric indexing works ({{ list.0 }}), and dicts iterate via .keys / .values / .items.{{ value|date:"Y-m-d" }}).add, addslashes, capfirst, center, cut, date, default, default_if_none, divisibleby, escape / e, escapejs, filesizeformat, first, floatformat, force_escape, get_digit, iriencode, join, last, length, linebreaks, linebreaksbr, linenumbers, ljust, lower, make_list, phone2numeric, pluralize, rjust, safe, slice, slugify, striptags, time, title, truncatechars, truncatewords, upper, urlencode, wordcount, wordwrap, yesno). See lib/filters.js for the full list.==, != and in compare as Python does: a string never equals a number, and lists and mappings compare item by item.renderFile(path, locals, cb) against a loader with async === true, or compileFile with codegenMode: 'async'; renderFileAsync / compileFileAsync still work but are deprecated.{% load %} and custom tag libraries — no code-loading.{% url %}, {% static %}, {% csrf_token %}, {% trans %}, {% blocktrans %} — framework infrastructure, out of scope.{%- … -%}) — not part of the Django Template Language.is tests — Django's is is identity comparison, not Jinja2-style tests.{% for … reversed %} is deferred (a clear parse-time error). {{ block.super }} is deferred too, and renders an empty string with no error.dictsort / dictsortreversed, stringformat, random, urlize / urlizetrunc, timesince / timeuntil, unordered_list, json_script, truncatechars_html / truncatewords_html, safeseq, pprint.Source: gina-io/swig/packages/swig-django. File issues and PRs at gina-io/swig.
MIT. See LICENSE in the monorepo root.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.