Back to Checks
Prowlerprowler-provider-chatgpt
ChatGPT projects do not grant write access to the people they are shared with
project_sharing_no_write_access
Service: projectSeverity: medium
OfficialVerifiedPrivate
Categories:gen-aiidentity-access
Resource Type:OpenAIChatGPTProject
Each ChatGPT project is checked for sharing recipients who can edit it.
Risk
A recipient with write access can change the project's instructions and files, steering every conversation that runs in it.
Run this check with Prowler
Run in Prowler CloudRun
prowler chatgpt --checks project_sharing_no_write_accessRecommendation
Share the project read-only, and keep edit rights with its owner.
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
class project_sharing_no_write_access(Check):
def execute(self):
findings = []
for project in project_client.projects or []:
writers = project["write_recipients"]
if writers is None:
continue
if writers:
text = f"Project {project['name']} grants write access to {', '.join(writers)}."
else:
text = f"Project {project['name']} grants no write access to its recipients."
findings.append(finding(self.metadata(), project, not writers, text))
return findings