Back to Checks
chatgpt

ChatGPT projects that sync connector data are shared only with invited members

project_with_connectors_invite_only
Service: projectSeverity: medium
OfficialVerifiedPrivate
Categories:gen-aitrust-boundaries
Resource Type:OpenAIChatGPTProject

Each ChatGPT project that syncs data from a connector (Slack channels, Google Drive files or folders, Linear, websites) is checked for a sharing level broader than invite-only.

Prowler logoProwlerprowler-provider-chatgpt

Risk

A project syncs connector content with its owner's access. Shared with the whole workspace, or beyond it, the project lets everyone it reaches read Slack channels and Drive files they could not open themselves.

Run this check with Prowler

Run in Prowler Cloud
Run
prowler chatgpt --checks project_with_connectors_invite_only

Recommendation

Change the project's sharing to invite-only, or remove the connector scopes from it.

Check Code

from prowler.lib.check.models import Check

from prowler_provider_chatgpt.check_report import finding
from prowler_provider_chatgpt.services.project.project_client import project_client

# Visibilities that reach more than the people the project was shared with.
BROAD_VISIBILITY = {"workspace", "workspace-with-link", "anyone-with-link", "gpt-store"}


class project_with_connectors_invite_only(Check):
    def execute(self):
        findings = []
        for project in project_client.projects or []:
            if not project["connectors"] or project["visibility"] is None:
                continue
            sources = ", ".join(project["connectors"])
            visibility = project["visibility"]
            if visibility in BROAD_VISIBILITY:
                text = f"Project {project['name']} syncs {sources} and is shared as {visibility}."
            else:
                text = f"Project {project['name']} syncs {sources} and is not shared beyond its invited members."
            findings.append(finding(self.metadata(), project, visibility not in BROAD_VISIBILITY, text))
        return findings