upgrade-alinux-kernel
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The skill makes extensive use of
sudoto perform system-level changes. - Evidence includes commands like
sudo yum update kernel,sudo grubby --set-default,sudo reboot, andsudo sed -ifor configuration fixes inSKILL.mdandreference/fix-alinux3.8-kernel-upgrade-error.md. - [COMMAND_EXECUTION]: The skill instructs the agent to execute various shell commands to manage the operating system lifecycle.
- Core utilities used include
yum(package management),rpm(package querying),grubby(bootloader configuration),sed(file stream editing), andreboot(system restart). - [INDIRECT_PROMPT_INJECTION]: The skill defines a vulnerability surface where user-supplied data is interpolated directly into shell commands with elevated privileges.
- Ingestion points: User-provided inputs for
<version>and<待升级内核相关软件包>placeholders inSKILL.md. - Boundary markers: None; the instructions do not include delimiters or warnings to treat these specific inputs as untrusted data.
- Capability inventory: The skill has the ability to install packages, modify boot paths, and restart the system via
sudo. - Sanitization: There is no mention of validation or sanitization for the version strings provided by the user before they are passed to
yumorgrubby.
Audit Metadata