Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

remediate-workspace-session-kill

Sterne3
Forks0
Aktualisiert9. Juli 2026 um 18:17

Contain a Google Workspace account takeover by signing the user out and forcing a password change at next login. Consumes an OCSF 1.8 Detection Finding (class 2004) emitted by detect-google-workspace-suspicious-login (T1110 Brute Force / T1078 Valid Accounts) and calls the Admin SDK Directory API to invalidate active session tokens (POST /users/{userKey} /signOut) and require re-authentication on next sign-in (PATCH /users/{userKey} with changePasswordAtNextLogin=true). Every action is dry-run by default, deny-listed against admin / service-account / break-glass / @google.com principals (extensible via WORKSPACE_SESSION_KILL_DENY_LIST_FILE), gated behind an incident ID plus approver plus an explicit allowed-domain boundary for --apply, and dual-audited (DynamoDB + KMS-encrypted S3). Re-verify reads the Admin SDK Reports API for any login_success since remediation; emits VERIFIED if absent, DRIFT (+ paired OCSF Detection Finding via the shared remediation_verifier contract) if the attacker came back in, UNREAC

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

Datei-Explorer
8 Dateien
SKILL.md
readonly