Files
jsonPrism/SECURITY.md
T
poli0981andClaude Opus 5.5 532b5cfd82 JSONPrism 2.0.0: Cloudflare Workers, TypeScript 7 and a full audit (#151)
- Web app moves to https://jsonprism.poli0981.dev on Cloudflare Workers
  (static assets + /api/turnstile/verify + /api/health), with security
  headers, redirects for the old /jsonPrism paths, previews for
  non-production branches and a production smoke workflow. GitHub Pages
  only redirects now.
- Web-only Turnstile human check (server-verified, 7-day pass) and
  cookieless Web Analytics (after consent, opt-out, off under GPC);
  Privacy Policy and Terms 2.0, consent version 2.
- Node 26, TypeScript 7 with the TS 6 API alias for typescript-eslint,
  dependencies on current majors (ends the ERESOLVE that kept main red).
- Converter fixes: CSV columns, binary ZIP entries, MySQL backslash
  escaping, RESX/XML validity, BSON size, YAML quoting and alias limits,
  TOML nulls and big integers, JSON error positions, JSONL/BOM linting.
- Web Worker conversion, faster editor, technical UI refresh with an
  Appearance menu and custom scrollbars, accessibility and i18n gaps.
- Tauri least-privilege capabilities, hardened CSP, Tauri 2.12.
- CI: SHA-pinned least-privilege workflows, SonarQube Cloud, Rust job,
  verifiable releases (SHA256SUMS + provenance); Dependabot grouping.
- 864 tests (97% line coverage), SonarCloud quality gate passing; docs,
  legal and CLAUDE.md refreshed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 23:05:14 +07:00

3.2 KiB

Security policy

Supported versions

JSONPrism follows Semantic Versioning. Only the latest release of the current major version receives security fixes; the website always runs the latest code on main.

Version Supported
2.x ✅
< 2.0 ❌

Reporting a vulnerability

Please do not open a public GitHub Issue for security reports.

Use GitHub's private vulnerability reporting:

→ https://github.com/poli0981/jsonPrism/security/advisories/new

This reaches the maintainer through a private channel. Include a proof of concept, a suggested fix if you have one, and your preferred disclosure timeline.

If you cannot use GitHub, email security@poli0981.dev. The same contacts are published in /.well-known/security.txt.

Response expectations

JSONPrism is a one-person open-source project (see DISCLAIMER.md). Response times are best effort:

Severity Initial response Fix released
Critical (code execution, data exfiltration, supply-chain compromise) within 48 h as soon as possible
High (information disclosure, persistent XSS, CSP bypass) within 7 days next release
Medium / Low within 30 days next minor release

Conversion runs entirely on the user's device, so realistic critical issues are: malicious input that achieves code execution in the browser or the Tauri WebView, a compromised dependency, a converter flaw that produces output dangerous to downstream consumers (for example SQL or CSV injection beyond what the options document), or a weakness in the website's edge configuration.

Scope

In scope:

  • src/ — the React app, converters and batch processor.
  • worker/ — the Cloudflare Worker (/api/turnstile/verify, /api/health): origin checks, rate limiting, request validation.
  • Website edge configuration: public/_headers (CSP and security headers), public/_redirects, wrangler.jsonc.
  • src-tauri/ — the Rust shell, capabilities, file-system scope and CSP.
  • Build and release tooling whose output ships to users: the website build, Tauri release artifacts and .github/workflows/.

Out of scope:

  • Cloudflare, GitHub Pages or GitHub Actions platform issues — report them to Cloudflare or GitHub.
  • WebView2 / WebKitGTK / WKWebView / Android System WebView bugs — report them to their vendors. JSONPrism uses whatever is installed on the user's system.
  • Turnstile bypasses that only affect Cloudflare's challenge itself.
  • Attacks that require existing local code execution on the user's machine.
  • Missing best-practice headers with no demonstrable impact.

Verifying releases

Every GitHub release includes SHA256SUMS.txt and build-provenance attestations generated in GitHub Actions:

sha256sum -c SHA256SUMS.txt --ignore-missing
gh attestation verify JSONPrism_2.0.0_x64-setup.exe --repo poli0981/jsonPrism

The desktop installers are not yet code-signed, so Windows SmartScreen and macOS Gatekeeper may warn on first launch.

Acknowledgements

Reporters are credited in the published advisory unless they ask otherwise. Contributors of accepted fixes are credited in the release notes.