Back to Checks
claude

Claude organization Claude Science SSH host access setting matches the documented baseline

execution_science_ssh_hosts_disabled
Service: executionSeverity: medium
OfficialVerifiedPrivate
Categories:gen-aitrust-boundaries
Resource Type:ClaudeOrganizationSettings

The effective organization settings are evaluated for claude_science_ssh_hosts_enabled. SSH access from an agent surface reaches infrastructure directly, well beyond the sandbox.

Risk

SSH access from an agent surface reaches infrastructure directly, well beyond the sandbox.

Run this check with Prowler

Run in Prowler Cloud
Install
pip install --extra-index-url https://__token__:${PROWLER_REGISTRY_DOWNLOAD_API_KEY}@registry.prowler.com/simple/ "prowler-provider-claude[runtime]"
Run
prowler claude --checks execution_science_ssh_hosts_disabled

Recommendation

Disable Claude Science SSH hosts, or record the decision to allow it in the audit config.

Remediation

Other

1Disable Claude Science SSH hosts, or record the decision to allow it in the audit config.

Check Code

from prowler.lib.check.models import Check

from prowler_provider_claude.lib.report import CheckReportClaude
from prowler_provider_claude.services.execution.execution_client import (
    execution_client,
)


class execution_science_ssh_hosts_disabled(Check):
    """Claude Science SSH host access matches the documented baseline.

    SSH access from an agent surface reaches infrastructure directly, well beyond the sandbox.

    Policy-pinned: compared against ``claude_science_ssh_expected`` in the Prowler audit config
    rather than assumed, so a capability the organization chose to enable is
    only reported when it differs from the documented baseline.
    """

    def execute(self) -> list[CheckReportClaude]:
        expected = execution_client.audit_config.get(
            "claude_science_ssh_expected", False
        )
        findings = []
        for settings in execution_client.settings:
            row = settings.get("claude_science_ssh_hosts_enabled")
            if row is None:
                continue
            org = settings.name.removesuffix(" effective settings")
            state = "enabled" if row.value else "disabled"
            report = CheckReportClaude(metadata=self.metadata(), resource=settings)
            if row.value == expected:
                report.status = "PASS"
                report.status_extended = (
                    f"Organization {org} has Claude Science SSH host access {state}, matching the documented "
                    f"baseline (claude_science_ssh_hosts_enabled is {str(row.value).lower()})."
                )
            else:
                report.status = "FAIL"
                report.status_extended = (
                    f"Organization {org} has Claude Science SSH host access {state} but the documented baseline "
                    f"is {'enabled' if expected else 'disabled'} (claude_science_ssh_hosts_enabled is "
                    f"{str(row.value).lower()}). Either change the setting or update "
                    "claude_science_ssh_expected in the Prowler audit config to record the decision."
                )
            findings.append(report)
        return findings