Skip to main content
Run any Skill in Manus
with one click

remediate-workspace-session-kill

Stars3
Forks0
UpdatedJuly 9, 2026 at 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

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
8 files
SKILL.md
readonly