LeakScrub for Jira — 1-Page InfoSec & Procurement Brief
Vendor: Capeward · Domain: leakscrub.capeward.app · Runtime: Atlassian Forge nodejs24.x
1. Architecture & Data Boundary
- 100% Runs on Atlassian: Pure Forge app executing strictly inside Atlassian Cloud (
nodejs24.x). - Zero External Egress:
manifest.ymlcontains zero external fetch domains and zero remote endpoints (enforced by automated CI gate on every commit). - Sub-Processors: None (100% Atlassian Cloud).
- Data Residency: Automatically inherits your Jira Cloud site's Atlassian Data Residency region.
2. Masked-Only Storage & Zero-Secret Retention
- Raw secrets never persisted: Matched secrets/PII are discarded in memory after computing a masked preview (
AKIA••••••••9X2Q) and per-tenant keyed HMAC-SHA-512 fingerprint (32-byte random pepper stored in Forgekvs.setSecret). - Tamper-Evident SHA-512 Audit Chain & PQC Posture: Every detection, rotation confirmation, redaction, nudge comment, dismissal, allowlist change, and custom rule edit is linked in an append-only SHA-512 hash chain (verifiable on demand). In-transit traffic uses TLS 1.3 with hybrid PQ
X25519MLKEM768. - Least-privilege execution model: All interactive SecOps console actions (historical JQL scans, live redactions, rotation confirmations, dismissals, rule configuration) run strictly as
api.asUser(), respecting Jira project & issue security levels. Background Forge event triggers (avi:jira:created/updated/commented:issue) use read-onlyapi.asApp()solely to inspect new/updated payloads per Forge architecture — never elevating user privileges or writing to Jira. - Uninstall purge: Uninstalling the app purges the isolated Forge KVS partition via Atlassian's standard lifecycle; Capeward holds zero customer data.
3. Least-Privilege OAuth Scopes (manifest.yml)
| Scope | Purpose |
|---|---|
read:jira-work |
Inspect issue summaries, descriptions, and comments in interactive JQL scans (api.asUser()) and background Forge event triggers (avi:jira:created/updated/commented:issue) via read-only api.asApp() without elevating user privileges. |
write:jira-work |
Scrub live ADF descriptions/comments with [REDACTED BY LEAKSCRUB: RULE_ID] and apply label leakscrub-redacted upon operator action. |
read:jira-user |
Scope interactive JQL scans and actions to the signed-in Jira user's permissions (api.asUser()). |
storage:app |
Store rule configuration, ReDoS-safe custom rules, allowlist suppressions, per-tenant HMAC-SHA-512 pepper (kvs.setSecret), SHA-512 audit ledger chunks, and masked-only finding metadata in Forge KVS. |
4. High-Precision Detector Coverage (27 Built-In Rules + Custom Packs)
Zero generic Shannon entropy heuristics — deterministic signatures, mathematical checksums, and metadata-only attachment risk only:
- Prefixed Cloud & SaaS Secrets (20): AWS (
AKIA/ASIA), GitHub, GitLab (glpat-), Stripe Live, Slack, Google API, OpenAI/Anthropic, npm, PyPI, SendGrid, Twilio, Shopify, HashiCorp Vault, Databricks, HuggingFace, PEM Private Keys, Structured JWTs, DB Connection URIs, Azure SAS, GCP Service Account JSON. - Checksummed PII (6): Payment Cards (Luhn Mod-10), AU TFN (Mod-11), AU ABN (Mod-89), AU Medicare (Mod-10), IBAN (ISO 13616 Mod-97), US SSN (SSA rules).
- Metadata-Only Attachment Risk (1) & Custom RegEx Packs: Flags
.env,.pem,.key,id_rsa,.p12,.pfx,.kdbx,credentials.json,.ovpnwithout downloading files, plus ReDoS-validated org custom rules.
5. Platform Transparency (JRACLOUD-78612)
LeakScrub immediately redacts live Jira issue descriptions and comments. Because Atlassian Jira Cloud REST API v3 cannot edit or delete historical issue changelogs (JRACLOUD-78612), LeakScrub enforces a staged Detect → Confirm Rotated → Redact workflow with timestamped rotation receipts, structured dismiss-reason audit logging, and clear playbook guidance to restrict visibility or clone-and-delete when changelog purge is required.