Back to Checks
chatgpt

Workspace GPTs do not have web browsing enabled

gpt_web_browsing_disabled
Service: gptSeverity: medium
OfficialVerifiedPrivate
Categories:gen-aitrust-boundaries
Resource Type:OpenAIGpt

Each live ChatGPT workspace GPT is checked for the web browsing tool.

Prowler logoProwlerprowler-provider-chatgpt

Risk

Browsing lets a GPT fetch untrusted web content into the conversation, the main path for indirect prompt injection and for data leaking through crafted URLs.

Run this check with Prowler

Run in Prowler Cloud
Run
prowler chatgpt --checks gpt_web_browsing_disabled

Recommendation

Disable web browsing on GPTs that do not need it.

Check Code

from prowler.lib.check.models import Check

from prowler_provider_chatgpt.check_report import finding
from prowler_provider_chatgpt.services.gpt.gpt_client import gpt_client


class gpt_web_browsing_disabled(Check):
    def execute(self):
        findings = []
        for gpt in gpt_client.gpts or []:
            if gpt["tool_types"] is None:
                continue
            browsing = "browser" in gpt["tool_types"]
            if browsing:
                text = f"GPT {gpt['name']} has web browsing enabled."
            else:
                text = f"GPT {gpt['name']} has web browsing disabled."
            findings.append(finding(self.metadata(), gpt, not browsing, text))
        return findings