Logo : Auditing Sso Logout And Session Revocation

Auditing Sso Logout And Session Revocation

Organisation
UnboundCompute
auditing-sso-logout-and-session-revocation

Auditez la déconnexion SSO et la révocation des sessions pour repérer celles qui persistent après l’événement censé y mettre fin : une déconnexion qui efface la session locale de l’application sans fermer la session du fournisseur d’identité, permettant une reconnexion silencieuse ; un flux de déconnexion unique ignoré par l’application, qui laisse les sessions des applications en aval actives après une déconnexion chez le fournisseur d’identité ; un jeton d’accès ou d’actualisation qui reste valide après la déconnexion ou la désactivation du compte par un administrateur ; une session qui survit à une réinitialisation du mot de passe ou à un événement de déprovisionnement ; et une notification de déconnexion par canal secondaire que l’application ne traite jamais. Cela couvre le SSO SAML et OIDC, la déconnexion unique, la déconnexion par canal secondaire et la révocation des jetons dans les applications dépendantes. À utiliser lorsqu’un utilisateur, un administrateur ou un fournisseur d’identité met fin à une session, et que la question est de savoir si toutes les sessions et tous les jetons en aval sont effectivement résiliés. L’événement de déconnexion ou de révocation constitue la source ; la session ou le jeton qui reste actif constitue la destination ; la déconnexion non propagée ou le jeton non révoqué est le problème.

Présentation

ÉditeurUnboundCompute
Dépôtsecurity-agent-skills
Nom de la compétenceauditing-sso-logout-and-session-revocation
Étoiles
27
Forks
8
Fichiers inclus
Instructions uniquement
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par UnboundCompute sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Auditing Sso Logout And Session Revocation dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-sso-logout-and-session-revocation
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

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-sso-logout-and-session-revocation .claude/skills/auditing-sso-logout-and-session-revocation
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Auditing Sso Logout And Session Revocation dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Auditing Sso Logout And Session Revocation dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Auditing Sso Logout And Session Revocation n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Auditing SSO logout and session revocation: ending a session at one place must end it everywhere

Single sign-on spreads one login across many applications, and the hard part is not the login, it is the logout. When a user signs out, an admin disables an account, a password is reset, or the identity provider ends a session, every downstream session and token that login created is supposed to stop working, and often several of them do not. A logout that clears only the local application cookie leaves the identity-provider session alive, so the next visit signs the user back in silently and the logout was cosmetic. A single-logout flow the application never implements means signing out at the identity provider leaves every relying application still logged in. An access or refresh token minted during the session keeps working after logout or after the account is disabled, because nothing revokes it. A session that survives a password reset lets a stolen session outlive the credential change meant to shut it out. And a back-channel logout notification the application does not process is an ended session the application never hears about. The audit ends a session by every available means, user logout, identity-provider logout, admin disable, password reset, token revocation, and then checks that every downstream session and token is actually dead. You audit this by logging out one way and trying to keep using the session another.

When to use

  • Users sign in through SSO (SAML or OIDC) across one or more relying applications, and log out through the application, the identity provider, or an admin action.
  • Logout may clear only the local session, single logout may be unimplemented, or tokens may outlive the event meant to end them.
  • A session may survive a password reset, an account disable, or a deprovisioning event.

Scope check

Test logout and revocation only against applications and identity providers you own or are authorized to assess, with test accounts. Exercising logout, account disable, and password reset changes real session and account state, so use test identities and never disable, reset, or revoke access for accounts that are not yours. If you can't name the authorization, stop.

The loop

  1. Establish what each ending event must terminate first. Name every way a session can end (user logout, identity-provider logout, admin disable, password reset, explicit token revocation) and, for each, exactly which sessions and tokens it is supposed to kill across which applications. This is the false-positive killer: a system where each ending event propagates to every downstream session, revokes the associated access and refresh tokens, and processes back-channel logout is behaving correctly. Name the intended termination, then test each event.

  2. Test local logout completeness. Log out of an application and check whether the identity-provider session also ends. Revisit the application and confirm you are not silently signed back in by a still-live identity-provider session. A logout that clears only the local cookie is cosmetic if the next request re-authenticates without a prompt.

  3. Test single logout propagation. With sessions open in several relying applications, sign out at the identity provider (or one application that triggers single logout) and confirm every other application's session also ends. An application that ignores single-logout messages stays logged in after the user believes they signed out everywhere.

  4. Test token revocation after logout and disable. Capture an access and refresh token from the session, then log out and, separately, have an admin disable the account. Confirm both tokens stop working promptly: the access token is rejected and the refresh token cannot mint a new one. A token that keeps working after logout or after the account is disabled is standing access nothing revoked.

  5. Test survival across password reset and deprovisioning. With an active session and its tokens, reset the password and, separately, deprovision the user, then confirm the pre-existing session and tokens are invalidated. A session that outlives a password reset defeats the reset as a response to compromise, and one that outlives deprovisioning leaves a departed user with access.

  6. Confirm and record. Confirm with test accounts by keeping a session or token working after a logout, single logout, account disable, password reset, or deprovisioning event that should have ended it, without touching real accounts. Kill the lead if every ending event propagates to all downstream sessions, revokes access and refresh tokens promptly, invalidates sessions on reset and deprovision, and processes back-channel logout. Record the logout or revocation event, the session or token that kept working, and the unpropagated logout or unrevoked token.

Where session termination leaks

  • Local-only logout. Clearing the application cookie while the identity-provider session stays alive lets the next visit sign the user back in silently.
  • Ignored single logout. An application that does not process single-logout messages stays logged in after the user signed out at the identity provider.
  • Tokens that outlive logout. An access or refresh token that keeps working after logout is standing access the logout did not revoke.
  • Survival across disable and reset. A session or token that outlives an account disable, password reset, or deprovisioning leaves access in place after the event meant to remove it.
  • Unprocessed back-channel logout. A back-channel logout notification the application never handles is an ended session it never hears about.

Worked example (a confirm and a kill)

Confirm. A user logs out of a relying application; the application deletes its own session cookie but sends nothing to the identity provider, and the OIDC access and refresh tokens issued during the session are not revoked. On a test account, after logout the refresh token still mints new access tokens and revisiting the application signs the user straight back in from the live identity-provider session. Confirmed session and token survival after logout via local-only logout and no token revocation, high, remediation = on logout end the identity-provider session (RP-initiated logout), revoke the access and refresh tokens, and honor back-channel logout so every relying application terminates.

Kill. Logout triggers RP-initiated logout that ends the identity-provider session, revokes the access and refresh tokens so neither works afterward, and back-channel logout notifies every relying application to end its session. An admin disable and a password reset both invalidate existing sessions and tokens promptly. After any ending event, the captured token is rejected and no application silently re-authenticates. Killed, kill_reason = "every ending event ends the identity-provider session, revokes access and refresh tokens, and propagates to all relying applications; no session or token outlives the event meant to end it."

Rationalizations to reject

  • "Logout deletes the session cookie." → Confirm the identity-provider session also ends and tokens are revoked; a deleted cookie with a live IdP session re-authenticates on the next request.
  • "The token expires soon anyway." → A short expiry is not revocation; a refresh token that still mints access tokens, or an access token valid for its remaining lifetime, is live access after logout.
  • "Single logout is optional." → If the user believes signing out ends every session, an application that ignores single logout leaves a session the user thinks is closed.
  • "Password reset forces re-login." → Confirm existing sessions and tokens are invalidated; a reset that leaves the old session alive does not lock out a session-stealing attacker.
  • "Disabling the account is immediate." → Verify it revokes live sessions and tokens, not just blocks new logins; a disabled account with a working refresh token still has access.

Executing this in practice

You need every way a session can end, what each is supposed to terminate, and how tokens are revoked and logout is propagated (RP-initiated, single, and back-channel logout). With test accounts, capture a session and its tokens, trigger each ending event, and try to keep using the session and tokens afterward. Reading the logout and revocation handling shows the intended termination; a session or token that survives an ending event shows what it fails to end.

Related

  • auditing-session-lifecycle-and-fixation - the single-application session lifecycle; this skill extends it to ending a session across every relying application at once.
  • auditing-saml-and-oidc-federation-trust - the federation that created the sessions; logout and single logout are the teardown side of that trust.
  • auditing-account-recovery-and-reset-trust - a password reset is one of the ending events here; whether it invalidates live sessions is shared ground.
  • auditing-oauth-token-audience-and-scope-trust - the tokens that must be revoked on logout are that skill's subject; an unrevoked token is standing access.
  • FINDING-SCHEMA.md - source = the logout or revocation event, sink = the session or token that keeps working, evidence = the unpropagated logout or unrevoked token.

Foire aux questions

À quoi sert la compétence IA Auditing Sso Logout And Session Revocation ?

Auditez la déconnexion SSO et la révocation des sessions pour repérer celles qui persistent après l’événement censé y mettre fin : une déconnexion qui efface la session locale de l’application sans fermer la session du fournisseur d’identité, permettant une reconnexion silencieuse ; un flux de déconnexion unique ignoré par l’application, qui laisse les sessions des applications en aval actives après une déconnexion chez le fournisseur d’identité ; un jeton d’accès ou d’actualisation qui reste valide après la déconnexion ou la désactivation du compte par un administrateur ; une session qui s...

Pourquoi utiliser Auditing Sso Logout And Session Revocation sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Auditing Sso Logout And Session Revocation se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Auditing Sso Logout And Session Revocation dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-sso-logout-and-session-revocation. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Auditing Sso Logout And Session Revocation ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Auditing Sso Logout And Session Revocation ?

Autant que vous le souhaitez. Vous pouvez utiliser Auditing Sso Logout And Session Revocation avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Auditing Sso Logout And Session Revocation est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par UnboundCompute sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇