_index-egress-remotes

_index-egress-remotes is a cursor rule for Cursor from atlassian/forge-skills. It costs 0 tokens per session (467 once invoked), scanned A, original, Apache-2.0.

An index of security rules for external network access and remote integrations in Forge apps. It covers permissions, outbound requests, redirects, remote authentication, and server-side request forgery (SSRF).

In plain words
What is it for?
Use it to review external.fetch permissions, dynamic URLs, window.location redirects, fetch calls, and remote configurations against the app manifest.
Why use it?
It helps identify overly broad network access and paths that could send sensitive data to unsafe or attacker-controlled destinations.

Cursor rule for Cursor ✓ vendor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to review external.fetch permissions, dynamic URLs, window.location redirects, fetch calls, and remote configurations against the app manifest.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/atlassian/forge-skills/_index-egress-remotes
About the project

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.

atlassian/forge-skills · 22 stars · on GitHub · developer.atlassian.com

Install

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.

Clone the repo
git clone --depth 1 https://github.com/atlassian/forge-skills

Made for: Cursor.

Wrote 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.

agentmods badge for _index-egress-remotes

README.md
[![agentmods](https://agentmods.dev/badge/rules/atlassian/forge-skills/_index-egress-remotes/github.svg)](https://agentmods.dev/rules/atlassian/forge-skills/_index-egress-remotes)
Your own site
<a href="https://agentmods.dev/rules/atlassian/forge-skills/_index-egress-remotes"><img src="https://agentmods.dev/badge/rules/atlassian/forge-skills/_index-egress-remotes/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.

agentmods 80×15 button for _index-egress-remotes

Your own site · 80×15
<a href="https://agentmods.dev/rules/atlassian/forge-skills/_index-egress-remotes"><img src="https://agentmods.dev/badge/rules/atlassian/forge-skills/_index-egress-remotes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 467 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00467
Opus 5 $0.00000 $0.00234
Sonnet 5 $0.00000 $0.00093
Haiku 4.5 $0.00000 $0.00047

Measured 10d ago against content hash d936027a51ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

_index-egress-remotes scanned grade A with 0 findings 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/forge-security-review/assets/security-rules/forge-egress-remotes/_index-egress-remotes.mdc · 60 lines

What it actually says

  • Scope: External network permissions, remote configurations, egress controls, and data exfiltration risks.
  • Priority: External integrations are a common attack surface for SSRF and data leakage.

Key Forge Egress/Remote Risks

  • Wildcard external permissions: Using * or overly broad wildcards in permissions.external.fetch.
  • Data egress via window.location: Custom UI can redirect with sensitive data in URL parameters.
  • Undeclared external domains: Outbound calls to domains not in manifest permissions.
  • Remote backend trust: Trusting external remotes without proper authentication/validation.
  • SSRF via user-controlled URLs: Building fetch URLs from untrusted input.

Subrules

  • Wildcard External Permissions → @forge-egress-remotes/wildcard-permissions.mdc
  • Data Egress via Redirects → @forge-egress-remotes/data-egress-redirects.mdc

Detection Heuristics

  • Check manifest permissions.external.fetch for wildcards or overly broad patterns.
  • Search for window.location, location.href, location.assign() with dynamic URLs containing query params.
  • Trace fetch/request calls to verify destinations match declared permissions.
  • Review remote configurations for authentication and data residency declarations.

Manifest Permission Patterns

# INSECURE - overly broad
permissions:
  external:
    fetch:
      backend:
        - '*.example.com'  # Wildcard subdomain risk
        - '*'              # Never acceptable

# SECURE - explicit domains
permissions:
  external:
    fetch:
      backend:
        - 'api.example.com'
        - 'auth.example.com'

CWE References

  • CWE-918: Server-Side Request Forgery
  • CWE-441: Unintended Proxy or Intermediary
  • CWE-942: Permissive Cross-domain Policy
  • CWE-201: Insertion of Sensitive Information Into Sent Data
Changes

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.

  1. 10d ago First seen · 60 lines · 0 tokens per session scan A d936027a51ed

Subscribe to this mod's changes

_index-egress-remotes is a cursor rule published in the GitHub repository atlassian/forge-skills (22 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 467 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.