RevClamp AuditPack runs natively on Atlassian Forge nodejs22.x with three read/storage-only scopes in manifest.yml: read:jira-work, read:jira-user, and storage:app. Zero write: scopes, zero permissions.external hosts, and zero remotes are declared. Customer Jira issues, changelogs, and attachments never transit third-party rendering servers.
All Jira REST v3 requests execute strictly via api.asUser().requestJira(...) so Jira Cloud enforces project permissions, issue security levels, and attachment visibility for the calling user. Every read and preset-write resolver enforces assertLicenseActive(context) (app.licensing.enabled: true) while keeping deletePresets open for user cleanup. Transient 429 and 5xx responses obey Retry-After within a 15,000ms budget (12,000ms page-start cutoff) and MAX_RETRIES = 3.
Both ui.bundle.js and worker.bundle.js pass build-time CSP verification banning eval, new Function, inline scripts/styles, and external URLs. WorkerPdfMake blocks network and local file access (setUrlAccessPolicy(() => false)) and renders with bundled fonts only. Attachments are MIME-checked, streamed up to 3 MiB, capped at a 48 MiB PDF image budget, and verified against PNG/JPEG magic bytes.
sanitizeSpreadsheetCell neutralizes OWASP formula triggers (=, +, -, @, tab, CR) with a leading single quote, strips illegal XML 1.0 control characters and lone UTF-16 surrogates, enforces a 32,767-char cell ceiling, and emits inlineStr cells with zero <f> formula nodes. ADF traversal caps depth at 32 and restricts links to http:// and https://. Exports enforce 10,000 XLSX / 200 PDF issue caps, and saved presets scope strictly to presets:<accountId> with CROSS_TENANT_KEY_DENIED checks, <= 20 presets, 220 KiB limit, and best-effort last-writer-wins revision checking.