Back to Checks
claude

Claude organization-wide skill sharing setting matches the documented baseline

sharing_org_wide_skill_sharing_matches_baseline
Service: sharingSeverity: medium
OfficialVerifiedPrivate
Categories:gen-aitrust-boundaries
Resource Type:ClaudeOrganizationSettings

The effective organization settings are evaluated for org_wide_skill_sharing_enabled. A skill published organization-wide runs its instructions for every member, so it is a distribution channel worth governing.

Risk

A skill published organization-wide runs its instructions for every member, so it is a distribution channel worth governing.

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 sharing_org_wide_skill_sharing_matches_baseline

Recommendation

Restrict organization-wide skill publishing, or record the decision to allow it in the audit config.

Remediation

Other

1Restrict organization-wide skill publishing, 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.sharing.sharing_client import sharing_client


class sharing_org_wide_skill_sharing_matches_baseline(Check):
    """Organization-wide skill publishing matches the documented baseline.

    A skill published organization-wide runs its instructions for every member, so it is a distribution channel worth governing.

    Policy-pinned: compared against ``claude_org_skill_sharing_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 = sharing_client.audit_config.get(
            "claude_org_skill_sharing_expected", False
        )
        findings = []
        for settings in sharing_client.settings:
            row = settings.get("org_wide_skill_sharing_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 organization-wide skill sharing {state}, matching the documented "
                    f"baseline (org_wide_skill_sharing_enabled is {str(row.value).lower()})."
                )
            else:
                report.status = "FAIL"
                report.status_extended = (
                    f"Organization {org} has organization-wide skill sharing {state} but the documented baseline "
                    f"is {'enabled' if expected else 'disabled'} (org_wide_skill_sharing_enabled is "
                    f"{str(row.value).lower()}). Either change the setting or update "
                    "claude_org_skill_sharing_expected in the Prowler audit config to record the decision."
                )
            findings.append(report)
        return findings