security enabled community high v1.0.0

pkexec

Execute command as another user via polkit, can spawn root shell.

📋 Live Preview
pkexec /bin/sh
pkexec /bin/sh

Sandbox: execFile · Timeout: 30s

Capabilities

security.privilege-escalation.shell

Contract

Outputs

process.output

Shell output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory4 MB
Networknone
Disk I/Olow

Examples

Spawn a root shell via pkexec

pkexec /bin/sh

Related Tools

sudodoasksu

References