Security, Architecture & Data Residency
asUser().
1. Zero External Egress & Runs on Atlassian
CleanExport for Jira is engineered to qualify for Atlassian's Runs on Atlassian architecture standard:
- No External Network Permissions:
permissions.external, remotes, and webtriggers are completely omitted frommanifest.yml. Atlassian Forge enforces this network boundary at the platform level. - Same-Origin Local Assets: All JavaScript export engines (
pdfmake,exceljs,jszip) and pan-CJK + Korean OpenType fonts (SIL OFL 1.1) are bundled directly inside the Forge Custom UI static resource package — never fetched from external CDNs. - External Image Egress Guard: Images linked from external third-party hosts outside the user's Jira Cloud site are never fetched. PDF exports render a safe inline placeholder with an explicit warning, while Markdown exports preserve the original link by reference.
- Attachment Validation, Preset Sanitization & SVG Scrubbing: Attachment fallback
requests strictly validate numeric attachment IDs (
/^[0-9]{1,32}$/), enforce a 3.5 MiB payload cap, verify binary image magic bytes (PNG, JPEG, GIF, WebP) or strict SVG headers, and deterministically strip embedded<script>tags, inline event handlers, and external URL references before local SVG rasterization. Brand Kit saves validate hex colors, enforce a 220 KB Forge KVS ceiling, and never log customer issue text or user identifiers.
2. Strict User Permission Inheritance (asUser()) & JSM Comment Protection
Every Jira REST API request executes strictly within the active user's Atlassian session context using
asUser(). CleanExport for Jira never uses elevated app-level impersonation
(asApp()) to read restricted projects, issues, or comments. Jira Cloud project permissions,
Issue Security Levels, and role/group visibility rules are enforced natively at the API layer.
Fail-Safe Jira Service Management (JSM) Internal Note Guard: For JSM projects and Jira
comments, CleanExport checks all three internal signals — jsdPublic === false, the
sd.public.comment (internal: true) property, and Jira visibility
role/group restrictions. The Exclude Internal JSM Notes & Restricted Comments safeguard
is enabled by default across all export modes so internal agent notes are excluded before
generating customer-facing PDFs, Excel workbooks, or AI Context Packs. JSM Request Type and SLA summaries are
read natively through Jira Platform REST v3 (read:jira-work) without requesting extra JSM-only
OAuth scopes.
3. Least-Privilege Forge Scopes
CleanExport for Jira requests zero write or delete scopes over Jira projects or issues. All 6 scopes declared in manifest.yml are strictly scoped to read-only export needs and isolated Forge storage:
| Forge Scope | Access Type | Why It Is Required |
|---|---|---|
read:jira-work |
Read-only | Reads Jira projects, issues, JQL query results, ADF descriptions, comments (including JSM public/internal flags), worklogs, issue links, and attachments visible to the active user. |
read:jira-user |
Read-only | Resolves user display names for issue assignees, reporters, comment authors, and worklog contributors. |
read:project:jira |
Read-only | Reads Jira project metadata and satisfies Jira Software Cloud's granular Agile Board endpoint requirement alongside read:board-scope:jira-software. |
read:board-scope:jira-software |
Read-only | Lists Jira Software boards in the active project to discover Agile sprints (gracefully bypassed on JSM or Core projects without Agile boards). |
read:sprint:jira-software |
Read-only | Reads Sprint names and states for Sprint filtering in the Project Batch Workbench (gracefully bypassed when Agile boards are unavailable). |
storage:app |
App-isolated KVS | Persists only the lightweight per-project Project Brand Kit (organization name, brand color, header/footer text, layout defaults, optional logo ≤ 180 KB) inside Atlassian-managed tenant storage. |
4. Data Residency & Tenant Isolation
Because CleanExport for Jira stores zero customer data outside Atlassian Forge, all app-scoped Forge Key-Value Storage data is strictly partitioned by Atlassian Cloud tenant ID and automatically adheres to your Jira Cloud site's pinned Atlassian data residency region (US, EU, Australia, Canada, Germany, Singapore, Switzerland, UK, etc.).
5. Local Secret & PII Redaction
To prevent accidental credential exposure before sharing Jira issue knowledge bases or JSM ticket histories
with AI assistants or RAG pipelines, Local privacy & secret scrub
(Secret & PII Redaction) is enabled by default for Markdown & AI
Context Pack exports (and remains 1-click toggleable). The deterministic, linear-time O(N)
local scrubber runs entirely in browser memory (preventing ReDoS backtracking) and masks 9 categories of
sensitive data: PEM private keys, JWTs, AWS keys, GitHub tokens, Slack tokens, Stripe keys, API tokens,
inline password/secret assignments, and email addresses.
All exported links and spreadsheet cells undergo defensive local sanitization: hyperlinks are allowlisted to
safe schemes (http:, https:, mailto:), ADF nesting and table spans
are bounded deterministically, and Excel cells write string values strictly as literal text (never executable
spreadsheet formulas).
6. Vulnerability Disclosure & Incident Response
If you discover a security vulnerability in CleanExport for Jira, please report it responsibly to security@solidgrid.dev with reproduction steps.
- Critical / High: Initial acknowledgement within 1–2 business days; prioritized remediation aligned with Atlassian Marketplace Cloud Security timelines (typically within 7–14 days, sooner whenever feasible).
- Medium / Low: Initial acknowledgement within 2–3 business days; scheduled remediation in an upcoming maintenance release (30–60 days).
- Dependency Hygiene: Continuous automated dependency monitoring via GitHub Dependabot and CI
npm auditchecks across Forge SDKs and bundled client libraries (pdfmake,exceljs,jszip,@forge/bridge).