Security fixes land on the latest minor release. Older versions are not patched — upgrading is intended to be painless (semantic versioning, no build step, changelog in CHANGELOG.md).
| Version | Supported |
|---|---|
| latest 0.x | ✅ |
| earlier | ❌ |
Please do not open a public issue for a suspected vulnerability.
Report it privately via GitHub security advisories. You will get an acknowledgement within a few days; fixes for confirmed reports are released as soon as they are ready and credited to the reporter unless you prefer otherwise.
The full model — what is guaranteed, what you opt into, and how Alacris behaves under CSP and Trusted Types — is documented at bmartel.github.io/alacris/reference/security. The short version:
- Interpolated template values are always written as text or attribute values, never parsed as HTML.
- The only HTML ever parsed is the static template strings (author code); that
parse goes through a Trusted Types policy named
alacriswhere enforced. - The store's proxy blocks
__proto__reads and writes and inheritedconstructorreads, so merging untrusted JSON cannot pollute prototypes through it. - No
eval, nonew Function, no runtime dependencies, no install scripts.
The explicit escape hatches — binding .innerHTML, URL attributes, and
interpolating into css — assert that you trust the value; treat anything
user-supplied that reaches them as a bug.