Back to Checks
claude

Claude organization end-user skill creation setting matches the documented baseline

connector_user_skill_creation_restricted
Service: connectorSeverity: medium
OfficialVerifiedPrivate
Categories:software-supply-chaingen-ai
Resource Type:ClaudeOrganizationSettings

The effective organization settings are evaluated for user_skill_creation_enabled. User-authored skills bypass whatever review you apply to published ones.

Risk

User-authored skills bypass whatever review you apply to published ones.

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 connector_user_skill_creation_restricted

Recommendation

Restrict skill creation to reviewers, or record the decision to allow it in the audit config.

Remediation

Other

1Restrict skill creation to reviewers, 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.connector.connector_client import (
    connector_client,
)


class connector_user_skill_creation_restricted(Check):
    """End-user skill creation matches the documented baseline.

    User-authored skills bypass whatever review you apply to published ones.

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