Privacy & Security Architecture
How LeakScrub for Jira protects your Atlassian Cloud data with zero external egress and masked-only Forge KVS storage.
Zero External Egress & Zero Sub-Processors
LeakScrub for Jira is a 100% Runs on Atlassian Forge application (nodejs24.x). Its manifest.yml declares zero external fetch domains, zero remote backends, and zero third-party sub-processors. All scanning, masking, redaction, and storage execute strictly inside your Atlassian Cloud boundary.
1. OAuth Scope Justification (Exact manifest.yml Match)
LeakScrub requests only the four least-privilege Forge scopes required to scan Jira & JSM tickets, redact live values, and store masked audit metadata in Forge KVS. Every interactive SecOps console action (historical JQL scans, live redactions, rotation confirmations, dismissals, and rule configuration) executes strictly as api.asUser(); automated background Forge event triggers (avi:jira:created:issue, avi:jira:updated:issue, avi:jira:commented:issue) use read-only api.asApp() solely to inspect newly created or updated issue payloads per Atlassian Forge event-trigger architecture (where no interactive user session is attached) — never elevating interactive user privileges, never writing to Jira under asApp(), and never persisting raw secrets:
| Forge OAuth Scope | Execution Context | Justification |
|---|---|---|
read:jira-work |
api.asUser() (console) · read-only api.asApp() (background triggers) |
Read issue summaries, descriptions, and comments during on-demand historical JQL sweeps (api.asUser()) and automated background Forge event triggers (avi:jira:created:issue, avi:jira:updated:issue, avi:jira:commented:issue) using read-only api.asApp() strictly to inspect payloads without elevating interactive user privileges or persisting raw secrets. |
write:jira-work |
api.asUser() |
Replace leaked values in live ADF descriptions/comments with [REDACTED BY LEAKSCRUB: RULE_ID] and apply the leakscrub-redacted label when a SecOps user clicks Redact Live Value. |
read:jira-user |
api.asUser() |
Resolve current user context for permission-scoped JQL scans and audit attribution without storing personal emails externally. |
storage:app |
Atlassian Forge KVS | Persist rule toggle configuration, ReDoS-validated custom rules, allowlist suppressions, per-tenant HMAC-SHA-512 pepper (kvs.setSecret), SHA-512 hash-chained audit ledger chunks, and masked-only finding records. |
2. Masked-Only KVS Storage Guarantee
LeakScrub is architecturally incapable of becoming a secondary secret store. Raw matched credentials and PII exist strictly in ephemeral Forge function memory during scanning and are discarded immediately after computing:
-
Masked Preview only: At most the first 4 and last 4 characters are kept (e.g.,
AKIA••••••••9X2Q), with the middle replaced by masking bullets. -
Per-Tenant Keyed HMAC-SHA-512 Fingerprint: Deduplication hashes are computed with a 32-byte per-tenant random pepper stored in Forge encrypted secret storage (
kvs.setSecret) — CNSA 2.0 / post-quantum resilient 256-bit security margin with zero plaintext persistence in KVS, logs, or exports. -
Tamper-Evident SHA-512 Hash-Chained Audit Ledger & Hybrid PQ TLS: Every detection, rotation confirmation, live redaction, rotation nudge comment, dismissal, allowlist edit, and custom rule change is cryptographically linked in an append-only SHA-512 hash chain verifiable on demand. In-transit traffic uses TLS 1.3 with hybrid post-quantum key exchange (
X25519MLKEM768) at Cloudflare and Atlassian Cloud edge. - SOC 2 / ISO 27001 / APRA CPS 234 Exports: Export RFC-4180 formula-safe masked CSVs and SHA-512 hash-chained Compliance JSON Packs containing live chain-verification status.
3. Data Residency Inheritance
Because LeakScrub executes exclusively on Atlassian Forge compute and stores all app state in Atlassian Forge KVS, it automatically inherits your Jira Cloud site's configured Atlassian Data Residency region (AU, EU, US, DE, SG, UK, etc.) with zero data movement outside Atlassian Cloud.
4. Data Retention & Uninstall Deletion
Masked finding records and rule configuration remain in your Atlassian site's isolated Forge KVS partition for as long as LeakScrub is installed. When an administrator uninstalls LeakScrub from Jira Cloud, Atlassian Forge automatically schedules and purges the app's KVS storage partition in accordance with Atlassian Cloud's standard Forge app uninstall lifecycle. Capeward retains zero copies of customer ticket data or finding metadata.
5. Sub-Processors
| Sub-Processor | Role | Data Shared |
|---|---|---|
| None — 100% Atlassian Cloud | Compute & Storage hosted natively on Atlassian Forge | No data leaves your Atlassian Cloud tenant. |
6. Transparent Platform Disclosure: JRACLOUD-78612
Live Fields & Comments Redacted · Historical Changelogs Immutable in Jira Cloud REST API v3
When you click Redact Live Value, LeakScrub immediately scrubs the live issue description or comment via Jira Cloud REST API v3 and labels the issue leakscrub-redacted. However, per Atlassian's public ticket JRACLOUD-78612, Jira Cloud REST API v3 does not support editing or deleting historical issue changelog diffs. That is why LeakScrub enforces the staged Detect → Confirm Rotated → Redact remediation loop and advises SecOps teams to rotate exposed credentials first, and restrict issue visibility or clone-and-delete when regulatory compliance mandates changelog removal.
7. Security & Support Contacts
For vulnerability disclosure, procurement questionnaires, or security inquiries, contact [email protected]. For product support and onboarding assistance, contact [email protected].