Back to Checks
chatgpt

Workspace GPTs are not shared outside the workspace

gpt_not_externally_shared
Service: gptSeverity: high
OfficialVerifiedPrivate
Categories:gen-aiinternet-exposed
Resource Type:OpenAIGpt

Each live ChatGPT workspace GPT is checked for a sharing level that reaches people outside the workspace: anyone with the link, or the GPT Store.

Prowler logoProwlerprowler-provider-chatgpt

Risk

A GPT shared outside the workspace exposes its instructions, knowledge files and actions to anyone holding the link or browsing the GPT Store.

Run this check with Prowler

Run in Prowler Cloud
Run
prowler chatgpt --checks gpt_not_externally_shared

Recommendation

Change the GPT's sharing to invite-only or workspace, and restrict external GPT sharing in the workspace settings.

Check Code

from prowler.lib.check.models import Check

from prowler_provider_chatgpt.check_report import finding
from prowler_provider_chatgpt.lib.chatgpt import EXTERNAL_VISIBILITY
from prowler_provider_chatgpt.services.gpt.gpt_client import gpt_client


class gpt_not_externally_shared(Check):
    def execute(self):
        findings = []
        for gpt in gpt_client.gpts or []:
            if gpt["visibility"] is None:
                continue
            external = gpt["visibility"] in EXTERNAL_VISIBILITY
            if external:
                text = f"GPT {gpt['name']} is shared as {gpt['visibility']}, reachable outside the workspace."
            else:
                text = f"GPT {gpt['name']} is shared as {gpt['visibility']}, inside the workspace only."
            findings.append(finding(self.metadata(), gpt, not external, text))
        return findings