WEBVTT

1
00:00:00.000 --> 00:00:03.920
A routine coding task turns into a command that asks for elevated

2
00:00:03.993 --> 00:00:04.880
privileges.

3
00:00:05.024 --> 00:00:06.640
That may be necessary.

4
00:00:06.880 --> 00:00:10.720
It may also be more access than the task deserves.

5
00:00:10.880 --> 00:00:13.920
The moment the command changes is worth seeing.

6
00:00:14.458 --> 00:00:18.138
An agent troubleshooting a missing dependency reaches for sudo.

7
00:00:18.405 --> 00:00:22.858
In a long session, that request can sit between ordinary checks and

8
00:00:22.907 --> 00:00:24.218
installation output.

9
00:00:24.458 --> 00:00:28.218
If you only review the final result, you may never notice the

10
00:00:28.258 --> 00:00:29.978
attempted change in authority.

11
00:00:30.542 --> 00:00:34.702
ClawMetry recognizes privilege related patterns in captured tool

12
00:00:34.774 --> 00:00:35.582
arguments.

13
00:00:36.022 --> 00:00:39.582
A sudo command can raise a privilege change warning.

14
00:00:39.782 --> 00:00:43.742
The finding gives you a reason to review the attempted action in the

15
00:00:43.822 --> 00:00:45.262
context of the task.

16
00:00:45.801 --> 00:00:49.801
The checked example uses a sudo package installation command and

17
00:00:49.858 --> 00:00:50.761
raises a warning.

18
00:00:51.054 --> 00:00:54.441
An ordinary Git status command stays quiet.

19
00:00:54.661 --> 00:00:57.881
The signal concerns the command that was observed.

20
00:00:58.068 --> 00:01:01.401
It does not establish that the privilege request succeeded.

21
00:01:01.967 --> 00:01:04.767
Check whether elevated access was actually needed.

22
00:01:04.947 --> 00:01:09.447
Inspect the target, the command and any approval involved.

23
00:01:09.510 --> 00:01:13.647
Prefer the narrowest access that completes the task, and verify the

24
00:01:13.716 --> 00:01:17.327
result using the runtime and system evidence available to you.

25
00:01:17.854 --> 00:01:20.814
Make privilege change visible in your agent workflow.

26
00:01:21.114 --> 00:01:25.614
See the finding, understand the reason, and review what happened

27
00:01:25.710 --> 00:01:26.774
next.

28
00:01:26.859 --> 00:01:30.094
Explore this detector at ClawMetry dot com.
