Only the latest published version of kirari, kirari-rehype, and kirari-react receives security fixes.
@vortexlabs/kirari, @vortexlabs/kirari-rehype, and @vortexlabs/kirari-react are unsupported and receive no releases of their own. Their last versions, @vortexlabs/kirari 1.2.0, @vortexlabs/kirari-react 1.2.0, and @vortexlabs/kirari-rehype 1.1.0, re-export the unscoped packages with a ^1 range. They pick up 1.x fixes only when the unscoped dependencies are updated, for example with npm update when a lockfile pins an older version, and they do not follow 2.0 or later. Earlier versions contain their own code and receive no fixes. Install the unscoped packages to keep receiving fixes.
Do not open a public issue. Report vulnerabilities privately through GitHub security advisories.
Include:
- the affected package and version
- a description of the issue and its impact
- steps or a minimal input that reproduces it
You will get an acknowledgement within a few days. Once a fix is released, the advisory is published with credit to the reporter unless you prefer otherwise.
Kirari turns untrusted source code into tokens, HTML, and React elements. Issues of particular interest include:
- markup or script injection through highlighted output
- inputs that cause catastrophic backtracking or unbounded work
- unsafe handling of user-supplied languages, themes, or decorations