Back to Checks
Prowlerprowler-provider-chatgpt
ChatGPT projects are not shared outside the workspace
project_not_externally_shared
Service: projectSeverity: high
OfficialVerifiedPrivate
Categories:gen-aiinternet-exposed
Resource Type:OpenAIChatGPTProject
Each ChatGPT project is checked for a sharing level that reaches people outside the workspace: anyone with the link, or the GPT Store.
Risk
A project shared outside the workspace exposes its files, instructions and conversations to people the organization does not manage.
Run this check with Prowler
Run in Prowler CloudRun
prowler chatgpt --checks project_not_externally_sharedRecommendation
Change the project's sharing to invite-only or workspace.
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.project.project_client import project_client
class project_not_externally_shared(Check):
def execute(self):
findings = []
for project in project_client.projects or []:
if project["visibility"] is None:
continue
external = project["visibility"] in EXTERNAL_VISIBILITY
if external:
text = f"Project {project['name']} is shared as {project['visibility']}, reachable outside the workspace."
else:
text = f"Project {project['name']} is shared as {project['visibility']}, inside the workspace only."
findings.append(finding(self.metadata(), project, not external, text))
return findings