Forge Platform & Security Architecture

What is Atlassian Forge?

Atlassian Forge is a cloud-native development platform that replaces the older Connect model (iframe + external server). Unlike Connect apps, Forge apps run inside Atlassian infrastructure - no external hosting required.

Key characteristics of the Forge platform:

Property Description
Serverless runtime Functions execute on demand within Atlassian’s cloud, not on vendor-owned servers
Built-in storage SQL database and key-value storage managed by Atlassian
Declarative permissions All scopes declared upfront and reviewed by Atlassian before Marketplace publication
Automatic updates A single deployment reaches all installations simultaneously
App review Apps are reviewed by Atlassian before Marketplace publication, and any change to declared scopes requires a new review and explicit administrator approval

JiBrok Studio for Jira Cloud is built entirely on Forge. There are no external servers, databases, companion apps, or third-party services involved.


Tenant isolation

Your Jira site gets its own isolated Forge runtime. Every installation operates in a per-site isolated environment:

  • Separate execution contexts - there is no shared memory, shared process, or shared filesystem between tenants
  • Scoped storage - Forge SQL databases are per-installation. One tenant cannot query or access another tenant’s data
  • Identity via platform context - the acting user and installation are taken from the Forge platform context on every call, never from client-supplied parameters, so one tenant cannot address another tenant’s data
  • No shared state - there is no global variable, cache, or queue that spans multiple tenants

Why this matters

With Forge, cross-tenant risk is architecturally eliminated - the platform itself enforces isolation boundaries, not the app code. There is no shared memory, process, or database between tenants that could be exploited.


Custom interpreter

User scripts in JiBrok Studio are processed through a custom interpreter with a multi-layer security pipeline. There is no string-based eval() (the eval builtin accepts only the ID of a saved script), no new Function(), and scripts never become native JavaScript.

The security pipeline validates, analyzes, and executes code with strict safety checks at every stage:

  • Input validation - scripts are validated against structural and size limits before processing
  • Static analysis - dangerous code patterns are detected and blocked before execution begins
  • Runtime guards - every operation is checked in real time with scope isolation, resource limits, and safe type handling
  • Method whitelisting - only explicitly approved methods are available per data type

Blocked by design

  • Scripts cannot break out of the sandbox - escape vectors are blocked at multiple stages
  • Dangerous constructors cannot be instantiated or referenced
  • Internal type metadata is inaccessible from within the sandbox
  • Security violations terminate the script immediately and cannot be caught with try/catch

Data residency and storage

All data in JiBrok Studio is stored within Atlassian-managed infrastructure:

  • Forge SQL - scripts, execution history, configuration, custom tables, message queues, audit logs, compliance baselines
  • Forge KV - key-value storage for app settings and lightweight data
  • Forge Secrets - the webhook token encryption key
  • Issue entity properties - lightweight per-issue execution tracking (no PII)
  • No external databases - there is no Amazon RDS, S3 bucket, MongoDB, or any third-party data store
  • Atlassian data residency - your data is subject to the same data residency policies as your Jira Cloud site

Scripts, their source code, execution results, and all associated metadata never leave Atlassian’s infrastructure.


No external infrastructure

JiBrok Studio operates with zero external infrastructure:

  • No vendor-hosted servers
  • No companion apps or satellite services
  • No proxy servers or API gateways
  • No third-party monitoring, logging, or analytics services

The app manifest does not declare external: permissions - there is no network egress outside Atlassian’s own APIs. The only scheduled outbound call is the weekly Atlassian Personal Data Reporting request, which submits the account IDs the app stores. The only network communication from scripts is requestJira(), which routes through the Forge proxy to the Jira REST API of the current site.

What this eliminates

Threat Status
Server-side compromise No server to compromise
SSRF (Server-Side Request Forgery) Scripts have no outbound network access and the manifest declares no external hosts
Data exfiltration via callbacks Scripts cannot call external URLs
DNS-based attacks No DNS resolution from scripts
Supply chain attacks on infrastructure No infrastructure dependencies
DDoS attack surface No vendor-hosted endpoints. Webhook triggers are Forge-managed URLs protected by per-webhook Basic Auth tokens and rate limits

Scoped permissions

JiBrok Studio uses a declarative permission model:

  • All permissions are declared upfront in the manifest published on the Atlassian Marketplace; expanding them requires a new Atlassian review and explicit administrator approval
  • 48 granular scopes across 9 categories - Atlassian requires fine-grained scopes instead of a single “full access” permission. For a complete breakdown of all 48 permissions and the features they enable, see Permissions Reference
  • Impersonation scopes - scripts execute API calls with the permissions of the configured user (current user, application, or a specific user). Scripts cannot escalate beyond the actor’s Jira permissions
  • API whitelist/blacklist - admins can restrict which Jira REST API endpoints scripts are allowed to call. Restrictions use glob-pattern matching at both global and per-script levels (see API Restrictions)
  • No cross-site data sharing - each Jira site’s data is completely isolated, with no shared storage between installations

Automatic updates

Forge apps use a single-deployment model:

  • One deployment automatically becomes available to all installations
  • No manual upgrade process for end users
  • No version fragmentation across sites
  • Security patches reach every installation simultaneously

Updates include backward-compatible data migrations that run automatically after an upgrade; no admin action is required.


Egress controls

Forge blocks outbound network requests by default. JiBrok Studio does not override this:

  • The app manifest does not declare external: permissions
  • Scripts cannot call fetch(), XMLHttpRequest, or any HTTP client - these do not exist in the sandbox
  • The only network access from scripts is requestJira(), which is routed through the Forge proxy to the Jira REST API of the current site only
  • The app’s only scheduled outbound call is the weekly account-ID report to Atlassian’s Personal Data Reporting API; scripts cannot reach it or any other endpoint outside their own Jira site
  • There is no way to exfiltrate data to external URLs, set up callback endpoints, or perform SSRF attacks

Built-in admin controls

JiBrok Studio provides a comprehensive set of admin controls on top of the Forge platform security:

Control Description Details
API Restrictions Whitelist/blacklist Jira REST API endpoints per script or globally API Restrictions
Trigger Type Controls Enable/disable each trigger type (scheduled, event, UIM, webhook, etc.) globally Administration
Run As Controls Control which execution identities are available (current user, application, specific user) Administration
Audit Logs Full execution history and settings change log Audit Logs
Compliance & Drift Configuration baselines with SHA-256 integrity hashes and drift detection Compliance
Resource Limits Per-trigger execution time, API call, loop iteration, and memory limits Limits

Next steps


JiBrok Studio for Jira Cloud JiBrok Studio for Jira Cloud
Release notes
Core Features
Triggers
Extensions
Data Storage
Scripting Overview
JavaScript Engine
Python Engine
Groovy Engine
Scripting API
Administration
Guides