本文へ移動
cccskills
無料GitHub で公開

forge-security-review

Performs a white-box security review of Atlassian Forge apps using structured, Forge-specific security rules and evidence-driven reporting. Use when the user asks for a Forge security review, security audit, vuln assessment, pentest-style code review, authz review, tenant isolation analysis, web trigger hardening, or static analysis execution for a Forge app.

インストール方法を見る

含まれるファイル(36)

  • SKILL.md6.6 KB
  • assets/security-rules/_global-forge.mdc8.8 KB
  • assets/security-rules/forge-auditing/_index-auditing.mdc1.8 KB
  • assets/security-rules/forge-auditing/static-analysis-forge.mdc5.4 KB
  • assets/security-rules/forge-authn-authz/_index-authn-authz.mdc2.2 KB
  • assets/security-rules/forge-authn-authz/asapp-privilege-escalation.mdc6.6 KB
  • assets/security-rules/forge-authn-authz/display-conditions-bypass.mdc4.9 KB
  • assets/security-rules/forge-authn-authz/missing-resolver-authz.mdc12.3 KB
  • assets/security-rules/forge-authn-authz/prefer-context-authz.mdc5.3 KB
  • assets/security-rules/forge-egress-remotes/_index-egress-remotes.mdc2.1 KB
  • assets/security-rules/forge-egress-remotes/data-egress-redirects.mdc4.9 KB
  • assets/security-rules/forge-egress-remotes/wildcard-permissions.mdc4.5 KB
  • assets/security-rules/forge-injection/_index-injection.mdc1.7 KB
  • assets/security-rules/forge-injection/prototype-pollution.mdc4.4 KB
  • assets/security-rules/forge-injection/rce-code-execution.mdc5.2 KB
  • assets/security-rules/forge-injection/sql-injection.mdc4.6 KB
  • assets/security-rules/forge-injection/ssrf.mdc5.0 KB
  • assets/security-rules/forge-injection/xss.mdc4.7 KB
  • assets/security-rules/forge-manifest-config/_index-manifest-config.mdc2.1 KB
  • assets/security-rules/forge-manifest-config/content-security-policy.mdc4.5 KB
  • assets/security-rules/forge-manifest-config/egress-url-entries.mdc4.7 KB
  • assets/security-rules/forge-manifest-config/permission-scopes.mdc4.1 KB
  • assets/security-rules/forge-misc/_index-misc.mdc1.1 KB
  • assets/security-rules/forge-misc/software-composition.mdc5.2 KB
  • assets/security-rules/forge-rovo-agents/_index-rovo-agents.mdc2.9 KB
  • assets/security-rules/forge-rovo-agents/agent-privilege-escalation.mdc5.3 KB
  • assets/security-rules/forge-secrets-storage/_index-secrets-storage.mdc2.0 KB
  • assets/security-rules/forge-secrets-storage/hardcoded-secrets.mdc5.0 KB
  • assets/security-rules/forge-tenant-isolation/_index-tenant-isolation.mdc1.9 KB
  • assets/security-rules/forge-tenant-isolation/global-state-warmstart.mdc6.0 KB
  • assets/security-rules/forge-webtrigger-entrypoints/_index-webtrigger-entrypoints.mdc2.4 KB
  • assets/security-rules/forge-webtrigger-entrypoints/webtrigger-security.mdc5.4 KB
  • README.md3.3 KB
  • scripts/.gitignore13 B
  • scripts/run_static_analysis.ps13.8 KB
  • scripts/run_static_analysis.sh4.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Forge Security Review

Runs a Forge-focused white-box security review and reports validated findings with exploitability, impact, evidence, and remediation guidance.

Token-Efficient Default

Use manifest-driven routing by default to reduce token usage. Do not load every rule file up front.

Rule Assets

The review rules are packaged with this skill under assets/security-rules/:

  • Global baseline: assets/security-rules/_global-forge.mdc
  • Category indexes: assets/security-rules/forge-*/_index-*.mdc
  • Category deep checks: assets/security-rules/forge-*/*.mdc

Execution Mandate

When this skill is triggered:

  1. Run static analysis first from this skill directory:
  • scripts/run_static_analysis.sh <forge-project-root-directory>
  • use .ps1 script for windows
  1. Read manifest.yml first before any deep code review.
  2. Load assets/security-rules/_global-forge.mdc first.
  3. Load only relevant category index rules based on manifest and code signals.
  4. Load deep subrules only when the matching detection heuristics are triggered by real code patterns.
  5. Perform an evidence-based security review across:
    • AuthN/AuthZ
    • Injection and input validation
    • Tenant isolation and cross-tenant leakage
    • Secrets and storage
    • Egress/remotes/CSP and manifest permissions
    • Public entry points (web triggers)
    • Agent and miscellaneous Forge security risks
  6. Do not modify app code unless the user explicitly requests fixes.
  7. Write all scan outputs and generated artifacts to security-audit-artifacts/.

Rule Routing Workflow

Phase 1: Reconnaissance (Mandatory)

Read manifest.yml first and extract:

  • permissions.scopes
  • permissions.external.fetch
  • permissions.content.scripts
  • modules (resolver/webtrigger/scheduledTrigger/rovo/etc.)
  • remotes
  • app.runtime.name

Build an execution map:

  • UI modules -> bridge calls -> resolvers/functions
  • External entry points (web triggers, events, schedules)
  • api.asUser() vs api.asApp() paths
  • Outbound fetch destinations

Phase 2: Index Rule Selection (Two-Tier Loading)

Always load first:

  • assets/security-rules/_global-forge.mdc

Then load only relevant category index rules:

SignalLoad
Any meaningful scope usage, mutations, or asApp() usageassets/security-rules/forge-authn-authz/_index-authn-authz.mdc
webtrigger or scheduledTrigger modulesassets/security-rules/forge-webtrigger-entrypoints/_index-webtrigger-entrypoints.mdc
permissions.external.fetch or remotesassets/security-rules/forge-egress-remotes/_index-egress-remotes.mdc
SQL APIs or untrusted input reaching resolver sinksassets/security-rules/forge-injection/_index-injection.mdc
Multi-tenant patterns, module/global state, cache reuseassets/security-rules/forge-tenant-isolation/_index-tenant-isolation.mdc
Credentials/tokens/secrets handlingassets/security-rules/forge-secrets-storage/_index-secrets-storage.mdc
Unsafe CSP or likely scope/config misconfigurationassets/security-rules/forge-manifest-config/_index-manifest-config.mdc
Rovo modules/actionsassets/security-rules/forge-rovo-agents/_index-rovo-agents.mdc
Baseline logging/error/static analysis concernsassets/security-rules/forge-auditing/_index-auditing.mdc
Dependency/package risk reviewassets/security-rules/forge-misc/_index-misc.mdc

Subrule policy:

  • After reading an index, load only the subrules that match the detection heuristics observed in code.
  • Do not pre-load every subrule in a category.

Phase 3: Analysis and Verification

For each loaded category:

  1. Enumerate reachable entry points.
  2. Trace source -> validation/authz -> sink.
  3. Confirm exploitability with evidence.
  4. Score confirmed findings with CVSS v3.1.

Focused Review Mode

If the user asks for a narrow review (for example, only authz), load:

  • Global baseline
  • Requested category index
  • Only matching subrules in that category

Still mention any obvious critical findings observed outside scope.

Review Workflow

  1. Build an execution map:
    • UI Kit/Custom UI entry points
    • Bridge invocations and resolver handlers
    • api.asUser() / api.asApp() call paths
    • External egress/remotes and trigger entry points
  2. For each finding, trace source -> validation/authz -> sink.
  3. Validate exploitability before classifying as a confirmed vulnerability.
  4. Keep non-exploitable hardening observations in a separate "needs validation" section.
  5. Provide file-level evidence and practical test leads for each issue.

Static Analysis Mode

If the user asks for a full scan, run the complete workflow from:

  • assets/security-rules/forge-auditing/static-analysis-forge.mdc

Expected tools (when available): Semgrep, npm audit, Snyk, gitleaks.

Output Requirements

  • Provide a markdown security audit report.
  • Order confirmed exploitable findings by CVSS v3.1 severity and impact.
  • Include for each confirmed finding:
    • CVSS vector and base score
    • Severity band
    • Exploitability and impact
    • File evidence and source-to-sink trace
    • CWE mapping
    • Reproducible PoC/test steps with concrete commands
  • Include assumptions and evidence gaps.
  • Do not report scanner counts only when vulnerabilities exist.

Example Trigger Phrases

  • "Review this Forge app for security"
  • "Do a white-box security audit of my Forge app"
  • "Check this app for authz bypass and tenant isolation issues"
  • "Run full static analysis for this Forge codebase"

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Plan, build, scaffold, or safely extend Atlassian Forge apps using current official documentation. Use for fresh Forge apps, existing-app feature work, module and manifest changes, UI Kit or Custom UI implementation, backend functions and events, Atlassian or external APIs, storage, permissions, environment configuration, distribution-affecting implementation, validation, and explicitly authorized deployment or installation; route standalone debugging and specialist reviews to their dedicated skills.

日本語の概要は準備中です。原文の説明を表示しています。

atlassian/forge-skills252026年10月9日 更新

Performs a lightweight pre-release readiness review of Atlassian Forge apps across manifest/module wiring, architecture, runtime compatibility, dependency posture, tests, deploy readiness, and obvious security, cost, or reliability smells. Use when the user asks "review my Forge app", "pre-deploy check", "is this app ready to ship", "review manifest", "general app review", "release readiness", or asks for a broad quality pass. Do not use for deep security audits/SAST/exploitability review, cost optimization, or diagnosing a known broken app; route those to forge-security-review, forge-cost-optimizer, or forge-debugger respectively.

日本語の概要は準備中です。原文の説明を表示しています。

atlassian/forge-skills252026年10月9日 更新

Guides building and deploying Atlassian Forge Teamwork Graph connector apps that ingest external data into Atlassian's Teamwork Graph, making it searchable in Rovo Search and surfaced in Rovo Chat. Use when the user wants to build a Forge connector, ingest external data into Atlassian, connect a third-party tool (e.g. Google Drive, ServiceNow, Salesforce) to Atlassian, make external content searchable in Rovo, build a graph:connector module, use the @forge/teamwork-graph SDK, or implement onConnectionChange / validateConnection functions.

日本語の概要は準備中です。原文の説明を表示しています。

atlassian/forge-skills252026年10月9日 更新

Optimizes Atlassian Forge apps to reduce platform consumption and avoid unnecessary costs using Atlassian's "Optimise Forge platform costs" guidance. Use when the user asks to optimize Forge app costs, reduce Forge invocations, lower GB-seconds, reduce storage or log usage, tune memory, replace polling, improve scheduled triggers, reduce KVS writes, move work to the frontend, use bridge APIs, batch API calls, add caching, or evaluate Forge Remote trade-offs. By default, perform an audit first and offer to make the recommended changes after presenting the audit. Only modify files immediately when the user explicitly asks the agent to implement or apply optimizations.

日本語の概要は準備中です。原文の説明を表示しています。

atlassian/forge-skills252026年10月9日 更新

Diagnoses and fixes issues in Atlassian Forge apps. Use this skill whenever a Forge app has errors, crashes, shows blank UI, fails to deploy, doesn't appear after installation, has permission issues, or produces unexpected output. Trigger on any mention of forge logs, forge deploy errors, resolver errors, blank panels, missing scopes, Custom UI not rendering, production vs dev discrepancies, or any Jira/Confluence app that "stopped working". Also trigger when the user asks to debug, troubleshoot, investigate, or fix a Forge app issue — even if they haven't used the word "Forge" but describe a Jira panel or Confluence macro acting up.

日本語の概要は準備中です。原文の説明を表示しています。

atlassian/forge-skills252026年10月9日 更新

Guide a first-time Forge builder through deploying a stock Rovo Agent, then turning it into Forge Guru, a documentation companion. Use for Forge onboarding, a first Forge or Rovo app, or resuming this tutorial. Route unrelated existing-app changes, debugging, reviews, and connector work to the specialist skills.

日本語の概要は準備中です。原文の説明を表示しています。

atlassian/forge-skills252026年10月9日 更新

atlassian のスキルをすべて見る

このスキルの問題を報告する