macos-process-injection
Pass
Audited by Gen Agent Trust Hub on Nov 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides numerous Bash and C code examples for analyzing and interacting with macOS system components.
- Example: Using
gccto compile dynamic libraries andotoolto inspect binary structures. - Example: Using
osascriptto demonstrate how Apple Events can be used for process interaction. - [PRIVILEGE_ESCALATION]: The instructions detail how various injection vectors can inherit the permissions (TCC, entitlements) of the target process.
- Example: Explains how
ELECTRON_RUN_AS_NODEallows code to inherit a signed application's camera or microphone permissions. - Example: Discusses
task_for_pidwhich requires root privileges to manipulate other processes. - [DYNAMIC_EXECUTION]: The skill documents several methods for injecting and executing code within foreign process address spaces.
- Example: Methodology for
DYLD_INSERT_LIBRARIESto force-load code at startup. - Example: Walkthrough for patching Electron
asararchives to add custom execution logic.
Audit Metadata