Logo de Auditing Scim Provisioning Trust

Auditing Scim Provisioning Trust

Organização
UnboundCompute
auditing-scim-provisioning-trust

Audite um endpoint de provisionamento SCIM 2.0 em busca de confiança mal depositada no provedor de identidade que o controla: uma API de provisionamento autenticada por um token bearer fraco, compartilhado ou de longa duração que qualquer pessoa que o obtenha pode usar para criar usuários e conceder grupos; um handler que permite ao cliente de um tenant criar ou modificar usuários em outro tenant; um grupo ou função enviado por SCIM que concede mais privilégios do que o atributo de origem deveria permitir; um processo de desprovisionamento que não desativa um usuário desligado e mantém o acesso; e atualizações de atributos (email, external id, admin flag) aceitas sem validação, permitindo que um invasor reassocie uma conta. Use quando uma fonte externa de identidade cria, atualiza e exclui contas por SCIM, e a confiança do provedor de serviços nessa fonte define o limite de segurança. A solicitação SCIM forjada ou repetida é a origem; a conta ou o grupo não autorizado, ou o acesso que permanece ativo, é o destino; e a autenticação fraca do provisionamento ou o mapeamento de atributos sem validação é a falha.

Visão geral

Publicado porUnboundCompute
Repositóriosecurity-agent-skills
Nome da habilidadeauditing-scim-provisioning-trust
Estrelas
27
Forks
8
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por UnboundCompute no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Auditing Scim Provisioning Trust no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-scim-provisioning-trust
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Auditing Scim Provisioning Trust em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Auditing Scim Provisioning Trust automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Auditing Scim Provisioning Trust não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Perguntas frequentes

O que a habilidade de IA Auditing Scim Provisioning Trust faz?

Audite um endpoint de provisionamento SCIM 2.0 em busca de confiança mal depositada no provedor de identidade que o controla: uma API de provisionamento autenticada por um token bearer fraco, compartilhado ou de longa duração que qualquer pessoa que o obtenha pode usar para criar usuários e conceder grupos; um handler que permite ao cliente de um tenant criar ou modificar usuários em outro tenant; um grupo ou função enviado por SCIM que concede mais privilégios do que o atributo de origem deveria permitir; um processo de desprovisionamento que não desativa um usuário desligado e mantém o ac...

Por que usar Auditing Scim Provisioning Trust no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Auditing Scim Provisioning Trust é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Auditing Scim Provisioning Trust no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-scim-provisioning-trust. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Auditing Scim Provisioning Trust?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Auditing Scim Provisioning Trust?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Auditing Scim Provisioning Trust com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Auditing Scim Provisioning Trust é gratuita?

Sim. A habilidade é publicada no GitHub por UnboundCompute sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇