Atlassian Forge Skills supports Atlassian Forge, a platform for building and deploying apps that extend products such as Jira and Confluence. Its skills and MCP-backed tools help coding agents create Forge apps, review them before deployment, optimize usage, troubleshoot failures, and work with Forge APIs and the Atlassian Design System.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/atlassian/forge-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/atlassian/forge-skills/static-analysis-forge)<a href="https://agentmods.dev/rules/atlassian/forge-skills/static-analysis-forge"><img src="https://agentmods.dev/badge/rules/atlassian/forge-skills/static-analysis-forge/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/atlassian/forge-skills/static-analysis-forge"><img src="https://agentmods.dev/badge/rules/atlassian/forge-skills/static-analysis-forge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00010 | $0.02483 |
| Opus 5.5 | $0.00004 | $0.00993 |
| Sonnet 5.5 | $0.00002 | $0.00497 |
| Haiku 4.5 | $0.00001 | $0.00248 |
Grade A, and why
static-analysis-forge scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
| RCE / sandbox | `eval`, `new Function`, `child_process`, `fs` in backend code | OpenGrep `forge-sandbox-no-*` | How it starts
The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context
- Static analysis for Forge apps needs Forge-specific rules in addition to standard JavaScript/TypeScript scanning: the dangerous sinks are Forge APIs (
asApp(),storage,sql,invokeRemote, web trigger handlers) and the manifest, not generic Node.js calls. - The skill ships a deterministic layer for exactly this: FSRT (Forge Security Requirements Tester, Atlassian Labs) plus OpenGrep running the Forge rules under
assets/opengrep-rules/. Both are pinned by release and SHA-256 and run by one script. - Deterministic results are leads, not verdicts. Every hit still goes through the source -> validation/authz -> sink trace and CVSS v3.1 scoring described in the global baseline.
Deterministic Layer (run first)
# From the skill directory. Downloads the pinned binaries on first use and verifies their checksums.
scripts/run_static_analysis.sh <forge-project-root> # macOS / Linux
scripts/run_static_analysis.ps1 <forge-project-root> # Windows (PowerShell 7)
Outputs, all under <forge-project-root>/security-audit-artifacts/:
| File | Content |
|---|---|
static-analysis-summary.json |
Per-tool status (completed, completed_with_errors, completed_with_warnings, skipped, not_run), versions, finding counts |
fsrt/report.json |
FSRT findings (vulns[] with check_name, description, proof, severity, marketplace_security_requirement) |
fsrt/fsrt.log |
FSRT log; Could not scan / Unable to scan lines mean the project was not analysed |
opengrep/results.json |
OpenGrep findings (results[] with check_id, path, start/end, extra.severity, extra.message, extra.metadata) and file-level errors[] |
opengrep/results.sarif |
Same findings as SARIF 2.1.0 for IDE and CI viewers |
opengrep/opengrep.log |
OpenGrep console output |
Reading the summary:
- Exit code 0 means every tool completed. Exit code 1 means at least one tool is
not_run: it did not analyse the project, so its empty result is not evidence of anything. Record it in the report's coverage section and review that category manually. completed_with_errors(OpenGrep) lists files it could not parse or that timed out undererrors[]; name them as coverage gaps.- FSRT needs network access to developer.atlassian.com on its first run to cache Atlassian API specifications; without it the tool exits non-zero and is reported
not_run. - FSRT cannot analyse projects whose source is already transpiled (a
"use strict";first line); the log says so. Review such projects with the OpenGrep results and manual tracing only.
Using the OpenGrep Findings
extra.metadata.skill_rulenames the rule file underassets/security-rules/to apply to the hit. Open it and run its Detection Checklist on the flagged location before reporting.extra.severityis the rule's confidence:ERRORmeans the matched code is the defect (a user-controlled value reached the sink without a recognised sanitiser);WARNINGmeans the location is the right place to look and the message says what must still be confirmed.extra.metadata.security-severityis an ordering hint. The reported severity is always your own CVSS v3.1 score.- Rules marked
requires_manifest_correlation: true(web trigger authentication) must be checked againstmanifest.yml: resolvemodules.webtrigger[].functiontomodules.function[].handlerand drop any hit whose function is not a declared web trigger handler. Say that you dropped it. - Group WARNING findings from the same rule by their key or template (for example one storage-key template per app) and triage the template once.
- FSRT and an OpenGrep rule can flag the same location (for example literal JWT secrets, Basic auth with Atlassian API tokens,
asApp()calls without a permission check). Report each location once and cite every tool that flagged it. - The rules are intra-procedural. A caller-controlled id that reaches
asApp()through a helper function parameter is not flagged; list everyasApp()call site yourself and trace helper parameters back to resolver payloads.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 20d ago Changed · -56 lines 73986e1c6ea8
- 3mo ago First seen · 213 lines · 10 tokens per session scan A 471a47af96c4
static-analysis-forge is a cursor rule published in the GitHub repository atlassian/forge-skills (35 stars, last pushed 4d ago), licensed Apache-2.0. It adds 10 tokens to every session and 2,483 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
static-analysis-forge compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| static-analysis-forgeatlassian/forge-skills | Cursor rule | 35 | 4d ago | Apache-2.0 | A | 10 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 201k | 8d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 102k | 4d ago | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 76k | today | Apache-2.0 | A | 1,147 | Cursor |
| prefer-assertions-over-defensive-checksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Cursor |
| prefer-direct-imports-over-module-mocksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Cursor |
| shared-plane-packagesprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Cursor |