rust-profiling

Fail

Audited by Gen Agent Trust Hub on Nov 21, 2026

Risk Level: HIGHPRIVILEGE_ESCALATIONPERSISTENCEEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
  • [PRIVILEGE_ESCALATION]: The skill makes extensive use of sudo to modify sensitive kernel parameters, including perf_event_paranoid and kptr_restrict. These operations reduce the system's security posture by allowing unprivileged users to capture kernel events and exposing internal kernel memory addresses.
  • [PERSISTENCE]: Includes instructions to create a permanent system-wide change to security settings by writing to /etc/sysctl.d/perf.conf. This ensures that reduced kernel restrictions persist across system reboots.
  • [EXTERNAL_DOWNLOADS]: Directs the agent to download scripts from a third-party GitHub repository (github.com/brendangregg/FlameGraph) and add them to the execution PATH. It also utilizes cargo install for various utilities (flamegraph, cargo-bloat, cargo-llvm-lines) without version pinning or integrity verification.
  • [COMMAND_EXECUTION]: Executes administrative commands to install system packages and reconfigure the operating system's performance monitoring capabilities.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 21, 2026, 01:30 AM