Security, Architecture & Data Residency
asUser().
1. Zero External Egress & Runs on Atlassian
CleanExport for Confluence is engineered to qualify for Atlassian's Runs on Atlassian architecture standard:
- No External Network Permissions:
permissions.externalis completely omitted frommanifest.yml. Atlassian Forge enforces this boundary at the platform level. - Same-Origin Local Assets: All JavaScript export engines (
pdfmake,jszip,exceljs) 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 embedded from external third-party hosts outside the user's Confluence 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.
- SVG Sanitization: Before local in-browser rasterization of SVG attachments for PDF
inclusion, embedded
<script>tags, inline event handlers, and external URL references are stripped deterministically.
2. Strict Viewer Permission Inheritance (asUser())
Every Confluence REST API request executes strictly within the active viewer's Atlassian session context
using asUser(). CleanExport never uses elevated app-level impersonation (asApp())
to read restricted pages or spaces. If a page or folder is restricted from a viewer, Confluence Cloud
enforces access control at the API layer and CleanExport omits it gracefully.
3. Least-Privilege Forge Scopes
CleanExport requests zero write or delete scopes over Confluence content. Every declared scope is strictly justified below:
| Forge Scope | Access Type | Why It Is Required |
|---|---|---|
read:page:confluence |
Read-only | Reads selected page titles, metadata, and export_view HTML for local rendering. |
read:hierarchical-content:confluence |
Read-only | Traverses parent-child page trees while preserving exact Confluence sidebar position order. |
read:folder:confluence |
Read-only | Discovers pages organized inside root, nested, and page-child Confluence Sidebar Folders. |
read:space:confluence |
Read-only | Resolves space keys, space names, and root tree entry points in Space Studio. |
read:attachment:confluence |
Read-only | Loads Confluence-hosted PNG, JPEG, GIF, WebP, and SVG attachments locally for PDF embedding and Markdown ZIP assets/. |
read:label:confluence |
Read-only | Displays page labels in PDF metadata headers, Markdown YAML frontmatter, and sidebar filters. |
read:user:confluence |
Read-only | Resolves opaque Atlassian Account IDs into human-readable author names via batched v2 lookups. |
search:confluence |
Read-only | Enables accurate rendering and local fallback synthesis of live Confluence Page Properties Report macros. |
storage:app |
App-isolated KVS | Persists only the lightweight per-space Space Brand Kit (company name, brand color, header/footer text, optional logo ≤ 180 KB) inside Atlassian-managed tenant storage. |
4. Data Residency & Tenant Isolation
Because CleanExport 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 Confluence Cloud site's pinned Atlassian data residency region (US, EU, Australia, Canada, Germany, Singapore, Switzerland, UK, etc.).
5. Local Secret & PII Redaction
Before sharing Confluence knowledge bases with AI assistants or RAG pipelines, users can enable
Secret & PII Redaction. 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.
6. Vulnerability Disclosure & Incident Response SLA
If you discover a security vulnerability in CleanExport for Confluence, please report it responsibly to security@solidgrid.dev with reproduction steps.
- Critical / High (SEV-1): Initial acknowledgement within 4 business hours; patch release target within 24 hours.
- Medium / Low: Initial acknowledgement within 1 business day; scheduled remediation within 7–14 days.
- Dependency Hygiene: Monthly proactive audits of bundled client libraries (
pdfmake,exceljs,jszip,@forge/bridge).