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
sudoto modify sensitive kernel parameters, includingperf_event_paranoidandkptr_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 utilizescargo installfor 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