linux-perf
Warn
Audited by Gen Agent Trust Hub on Nov 23, 2026
Risk Level: MEDIUMPRIVILEGE_ESCALATIONPERSISTENCEEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The skill instructs the user to execute several commands with
sudoprivileges. This includes installing system packages (apt install,dnf install), modifying kernel parameters usingsysctl, and running real-time profiling tools likeperf topwhich requires root access to monitor system-wide activity. - [PERSISTENCE]: Instructions include creating a persistent system configuration file at
/etc/sysctl.d/99-perf.conf. This modification ensures that lowered security settings for kernel performance event monitoring (perf_event_paranoid) persist across system reboots. - [EXTERNAL_DOWNLOADS]: The skill guides the user to download performance visualization scripts from a public GitHub repository (
https://github.com/brendangregg/FlameGraph). While this is a standard and well-known resource in the performance engineering community, it involves executing externally sourced scripts (.plfiles) on the local system. - [COMMAND_EXECUTION]: The workflow involves compiling code with specific flags (
-fno-omit-frame-pointer) and executing various system-level performance monitoring commands that interact deeply with the kernel and hardware performance monitoring units (PMUs).
Audit Metadata