Логотип Auditing Scim Provisioning Trust

Auditing Scim Provisioning Trust

Организация
UnboundCompute
auditing-scim-provisioning-trust

Проверьте конечную точку подготовки учетных записей SCIM 2.0 на ошибочное доверие к поставщику удостоверений, который ею управляет: API подготовки, защищенный слабым, общим или долгоживущим токеном bearer, который любой обладатель может использовать для создания пользователей и назначения групп; обработчик, позволяющий клиенту одного арендатора создавать пользователей в другом арендаторе или изменять их; группу или роль, переданную через SCIM и дающую больше привилегий, чем положено исходному атрибуту; сценарий отключения учетной записи, который не блокирует ушедшего пользователя и оставляет ему доступ; а также обновления атрибутов (электронная почта, внешний идентификатор, признак администратора), которым доверяют без проверки, позволяя злоумышленнику переназначить учетную запись. Используйте этот навык, когда внешний источник удостоверений создает, обновляет и удаляет учетные записи через SCIM, а границей безопасности служит доверие поставщика услуг к этому источнику. Сформированный или повторно отправленный запрос SCIM — источник, несанкционированная учетная запись, группа или сохранившийся доступ — цель, а слабая аутентификация подготовки или непроверенное сопоставление атрибутов — уязвимость.

Обзор

ИздательUnboundCompute
Репозиторийsecurity-agent-skills
Название навыкаauditing-scim-provisioning-trust
Звёзды
27
Форки
8
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — UnboundCompute. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Auditing Scim Provisioning Trust в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-scim-provisioning-trust
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-scim-provisioning-trust .claude/skills/auditing-scim-provisioning-trust
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Auditing Scim Provisioning Trust в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Auditing Scim Provisioning Trust, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Auditing Scim Provisioning Trust не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Auditing SCIM provisioning trust: the provisioning token creates admins, so guard it like one

SCIM lets an identity provider create, update, and delete accounts in a service provider automatically, and that means the SCIM endpoint is an account-and-group factory reachable over the network. Whoever can call it with a valid credential can mint users, add them to privileged groups, and change who an existing account belongs to, so the provisioning credential is effectively an admin credential and the trust in the calling identity provider is the whole boundary. The failures follow. A provisioning endpoint authenticated by a weak, shared, or never-expiring bearer token hands account creation to anyone who obtains it. A handler that does not scope requests to the calling tenant lets one customer's provisioning client touch another customer's users. A group or role pushed over SCIM that maps to more privilege than the source attribute warrants is a quiet escalation. A deprovisioning event that does not actually disable the account leaves a departed user with standing access. And attribute updates, email, external id, an admin flag, trusted without validation let an attacker reassign or elevate an account. The audit treats the SCIM endpoint as privileged, checks its authentication and tenant scoping, and follows each lifecycle event to what it actually grants or revokes. You audit this by calling the SCIM API as the identity provider would and as an attacker who stole its token would.

When to use

  • An identity provider provisions accounts and groups into a service provider over SCIM 2.0 (create, update, deactivate, delete).
  • The SCIM endpoint may be authenticated by a shared, weak, or long-lived bearer token.
  • Provisioning may not be scoped per tenant, deprovisioning may not revoke access, or attribute mappings may over-grant.

Scope check

Test SCIM provisioning only against services and directories you own or are authorized to assess, on non-production tenants. Creating, modifying, and deleting accounts over SCIM changes real identity state, so use test tenants and never provision, elevate, or delete accounts that are not yours. If you can't name the authorization, stop.

The loop

  1. Establish who may provision and what each event should grant first. Name the trusted identity provider, how the SCIM endpoint authenticates it, which tenant its requests are confined to, and what privilege each group or role mapping is supposed to confer. This is the false-positive killer: an endpoint that authenticates the provider with a strong, scoped, rotatable credential, confines every request to the calling tenant, maps groups to exactly their intended privilege, and revokes access on deprovision is behaving correctly. Name the intended trust, then test each edge.

  2. Test the provisioning authentication. Examine the credential the SCIM endpoint accepts: whether it is a strong per-provider secret or a shared, guessable, or long-lived bearer token, and whether it can be rotated and revoked. Try calling the endpoint with a missing, malformed, or another tenant's token. An endpoint that accepts a weak or shared token lets anyone holding it create accounts and grant groups.

  3. Test tenant scoping. As one tenant's provisioning client, attempt to create, read, update, or delete users and groups belonging to another tenant, by external id, by user id, and by filter. Confirm every SCIM operation is confined to the calling tenant. A handler that acts cross-tenant lets one customer provision into another.

  4. Test group and role mapping. Push group memberships and role attributes over SCIM and confirm each maps to exactly the privilege it should, not more. Attempt to add a provisioned user to an admin or elevated group the source attribute should not reach. A mapping that grants more than the attribute warrants is a provisioning-time privilege escalation.

  5. Test deprovisioning and attribute reassignment. Deactivate and delete a provisioned user and confirm access is actually revoked (sessions, tokens, and group membership), not just a flag flipped. Separately, update sensitive attributes (email, external id, username, admin flag) and confirm the service validates them so an attacker cannot reassign or elevate an account. Lingering access after deprovision and unvalidated attribute updates are both live bugs.

  6. Confirm and record. Confirm on a test tenant by provisioning or elevating an account with a weak or cross-tenant token, adding a user to a group beyond its mapping, or keeping access after a deprovision event, without touching real accounts. Kill the lead if the endpoint authenticates the provider with a strong scoped rotatable credential, confines requests to the calling tenant, maps groups to their intended privilege only, revokes access on deprovision, and validates attribute updates. Record the crafted or replayed SCIM request, the unauthorized account, group, or lingering access, and the weak provisioning auth or unvalidated attribute mapping.

Where SCIM trust leaks

  • Weak or shared provisioning token. A guessable, shared, or never-expiring bearer token on the SCIM endpoint hands account creation and group grants to anyone who holds it.
  • No tenant scoping. A handler that does not confine operations to the calling tenant lets one provisioning client create or modify another tenant's users and groups.
  • Over-granting group or role mapping. A group or role pushed over SCIM that maps to more privilege than the source attribute warrants escalates at provisioning time.
  • Deprovisioning that does not revoke. A deactivate or delete that flips a flag but leaves sessions, tokens, or group membership intact leaves a departed user with access.
  • Unvalidated attribute updates. Trusting email, external id, username, or an admin flag from a SCIM update lets an attacker reassign or elevate an account.

Worked example (a confirm and a kill)

Confirm. A service exposes a SCIM endpoint authenticated by a single shared bearer token that is the same across all customers and never rotated. On a test tenant, using that token, a request creates a user in a different tenant and adds them to that tenant's administrators group, because the handler does not scope the operation to the token's tenant. Confirmed cross-tenant account creation and privilege grant via shared provisioning token and missing tenant scoping, critical, remediation = issue a strong per-provider, per-tenant credential that can be rotated and revoked, and confine every SCIM operation to the calling tenant's users and groups.

Kill. The SCIM endpoint authenticates each provider with a strong per-tenant credential that is rotatable and revocable, confines every create, read, update, and delete to the calling tenant, maps each group to exactly its intended privilege with admin groups unreachable from ordinary source attributes, revokes sessions and tokens on deprovision, and validates attribute updates. A cross-tenant call is rejected, an over-privilege group add fails, and a deprovisioned user loses access. Killed, kill_reason = "SCIM endpoint uses a strong scoped rotatable credential, confines every operation to the calling tenant, maps groups to their intended privilege only, revokes access on deprovision, and validates attributes; no crafted request provisions, elevates, or retains access it should not."

Rationalizations to reject

  • "The SCIM token is secret." → A shared or long-lived token leaks and cannot be revoked without breaking everyone; issue a strong per-provider credential that rotates, and treat it as an admin credential.
  • "Only our identity provider calls it." → Anyone with the token calls it; confirm the endpoint scopes to the authenticated tenant and rejects cross-tenant ids and filters, not just that the provider is honest.
  • "Groups come from the IdP, so they are trusted." → Confirm each group and role maps to exactly its intended privilege; an attribute the IdP sends should not be able to reach an admin group it was never meant to.
  • "Deactivating the user is enough." → Verify sessions, tokens, and group membership are actually revoked; a flipped flag that leaves a live session is not deprovisioning.
  • "Attribute updates are routine." → An unvalidated email or external-id change reassigns an account; validate sensitive attributes on every SCIM update.

Executing this in practice

You need the SCIM endpoint's authentication (credential strength, scope, rotation), whether operations are confined to the calling tenant, how groups and roles map to privilege, what deprovisioning actually revokes, and how attribute updates are validated. Call the endpoint as the provider and as a token-holder attacking another tenant, exercising create, update, group-add, delete, and attribute-change on test tenants. Reading the provisioning handler shows the intended trust; an account created, elevated, or retained against policy shows whether it holds.

Related

  • auditing-jit-provisioning-and-role-mapping - the just-in-time counterpart; SCIM pushes accounts ahead of login while JIT creates them at login, and both hinge on how a source attribute maps to privilege.
  • auditing-directory-sync-trust - the bulk directory synchronization that often sits beside SCIM; both trust an external source to shape internal identity state.
  • auditing-multi-tenant-isolation - the per-tenant scoping SCIM must enforce is that skill's whole subject, applied to the provisioning surface.
  • hunting-iam-privilege-escalation-paths - a group or role over-granted at provisioning time is the entry to an escalation path that skill traces onward.
  • FINDING-SCHEMA.md - source = the crafted or replayed SCIM request, sink = the unauthorized account, group, or lingering access, evidence = the weak provisioning auth or unvalidated attribute mapping.

Часто задаваемые вопросы

Что делает навык ИИ Auditing Scim Provisioning Trust?

Проверьте конечную точку подготовки учетных записей SCIM 2.0 на ошибочное доверие к поставщику удостоверений, который ею управляет: API подготовки, защищенный слабым, общим или долгоживущим токеном bearer, который любой обладатель может использовать для создания пользователей и назначения групп; обработчик, позволяющий клиенту одного арендатора создавать пользователей в другом арендаторе или изменять их; группу или роль, переданную через SCIM и дающую больше привилегий, чем положено исходному атрибуту; сценарий отключения учетной записи, который не блокирует ушедшего пользователя и оставляе...

Зачем использовать Auditing Scim Provisioning Trust в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Auditing Scim Provisioning Trust — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Auditing Scim Provisioning Trust в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-scim-provisioning-trust. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Auditing Scim Provisioning Trust?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Auditing Scim Provisioning Trust?

С любым количеством. В TypingMind вы можете использовать Auditing Scim Provisioning Trust с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Auditing Scim Provisioning Trust?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — UnboundCompute. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип anthropics

Command Development

anthropics
ОрганизацияПопулярный

This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create…

23.8K
146.3K
Файлы: 9
Открыть
Логотип openclaw

Discord E2e

openclaw
ОрганизацияПопулярный

Тестируйте Discord с QA-ботами, арендуемыми через Convex: проверяйте учётные данные без Gateway, тестируйте сообщения от своего имени или подтверждайте ответы OpenClaw, файлы, треды, реакции, потоковую передачу и индикатор набора текста. Различайте данные API и…

82.2K
391K
Файлы: 4
Открыть
Логотип openclaw

Openclaw Ghsa Maintainer

openclaw
ОрганизацияПопулярный

Проверяйте, исправляйте, подтверждайте и публикуйте рекомендации по безопасности OpenClaw GHSA, а также проверяйте состояние приватного форка.

82.2K
391K
Инструкции
Открыть
Логотип openclaw

Openclaw Secret Scanning Maintainer

openclaw
ОрганизацияПопулярный

Разбирайте оповещения GitHub Secret Scanning в задачах и PR OpenClaw: маскируйте секреты, очищайте данные и устраняйте проблемы.

82.2K
391K
Файлы: 1
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇