T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:23- Finding
Mutable Remote Source Is Downloaded, Compiled, and Executed Without Integrity Verification
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a legitimate Linux performance troubleshooting skill, but it includes high-privilege tracing and mutable source installation paths without enough scoping or safety controls.
Review before installing. Use a pinned, verified perf-prof commit or release, build it in an unprivileged isolated environment, and require exact approval for any root/CAP_* tracing, /proc/kcore use, dynamic probes, network push/pull, or expression command execution. Avoid running this on production or multi-user systems unless scope, duration, output storage, and cleanup are explicitly controlled.
SKILL.md:23Mutable Remote Source Is Downloaded, Compiled, and Executed Without Integrity Verification
references/kprobe_events.md:121Privileged Global Tracing State Can Be Modified Without Mandatory Scope and Cleanup Controls
references/expr.md:77Expression Engine Exposes an Unrestricted Command-Execution Primitive
The expression language explicitly exposes a built-in system(const char *format, ...) function that formats and executes shell commands. In a profiling/analysis skill, this enables arbitrary command execution from what should be a data-processing context, greatly expanding the attack surface and making command injection or abuse possible if expressions are user-supplied or derived from event fields.
The skill explicitly presents kcore as a way to read kernel memory but does not warn that this can expose highly sensitive in-memory data, typically requires elevated privileges, and can bypass normal application-level data boundaries. In a troubleshooting skill, omission of these cautions can lead an operator to collect or disclose secrets, credentials, or other sensitive kernel-resident data without understanding the risk.
The instructions for manually writing to /sys/kernel/debug/tracing/kprobe_events and /sys/kernel/debug/tracing/uprobe_events describe modifying live tracing configuration without warning that this changes kernel tracing state, can increase overhead, and may destabilize production observability or system behavior if misused. Because these actions affect a running system and often require elevated privileges, users may apply them in sensitive environments without understanding rollback, blast radius, or performance consequences.
The documentation advertises system() as a normal built-in capability but provides no warning that it executes shell commands. This omission increases the chance that users treat expressions as safe computation, when in fact they can trigger command execution, leading to accidental misuse, unsafe sharing of expressions, or injection through untrusted inputs.
The document explicitly teaches use of hardware breakpoints to trace memory accesses and capture full register state for both kernel and user-space contexts, but it does not clearly warn that this can expose highly sensitive data such as pointers, stack contents, keys, credentials, or proprietary in-memory state. In a performance/debugging skill, that omission increases the chance of unsafe collection, storage, or sharing of sensitive runtime data by legitimate users.
The write-value decoding section documents reading kernel instructions from kcore to reconstruct writes, but it lacks an explicit warning that this requires elevated privileges and touches highly sensitive kernel memory interfaces. Without that warning, operators may use the feature on production systems without understanding the integrity, confidentiality, and compliance implications of exposing kernel code/data paths.
This markdown file presents all user-facing instructions, examples, and descriptions exclusively in Chinese. Under the policy rules, forcing a specific language without user opt-in or a documented region-specific justification is a natural-language policy violation.
这是一个 markdown 文件,因此应检查是否缺少会影响系统完整性或可用性的用户告警。文档说明该分析器需要 root 权限并通过 perf/tracepoint 持续跟踪内核与用户态内存分配事件,但只描述了功能和参数,没有明确提醒高权限观测、事件跟踪和较大 ringbuffer 配置可能带来的性能开销或对生产系统的影响。
The entire skill document is written in Chinese, including the title, usage guidance, options, and examples, with no indication that users may choose another language or that the locale is intentionally limited to a Chinese-speaking audience. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation.
This markdown file presents all user-facing instructions and descriptions exclusively in Chinese, including the title, usage guidance, and operational notes. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale constraint is explicitly documented and justified, which is not present here.
The entire skill description, headings, and usage guidance are written in Chinese, beginning with the title at L001, and there is no indication that users may select another language or that the skill is intended only for a Chinese-language audience. Under the policy, forcing a specific language without user opt-in is a natural-language locale violation.
SQP-3 applies to all file types and includes language/locale policy violations. The file forces a specific language for all instructions and examples, with no opt-in, alternative language, or explanation that the skill is intended only for a Chinese-language audience.
The natural-language content of the skill file is entirely in Chinese, which effectively forces a specific language for users reading the skill documentation. No opt-in, alternative language, or justification for a Chinese-only locale constraint is provided.
这是一个 markdown 文件,适用 SQP-2。L012 仅说明“需要root权限运行”,但未提醒用户该操作会以高权限采集系统范围的进程/线程系统调用信息,可能影响隐私、系统完整性或生产环境稳定性;后文示例还展示了对所有进程进行跟踪。
The documentation explicitly states that the tool requires root or CAP_SYS_ADMIN privileges, but it does not present a clear user-facing warning about the risks of elevated execution and broad system observability. In a profiling skill, this omission can lead users to run powerful tracing commands without understanding that they may expose sensitive process, syscall, memory, or workload information and increase operational risk on production systems.
The documentation explicitly notes root/CAP_PERFMON requirements and later supports event propagation across hosts, but it does not warn that traced events and call stacks can contain sensitive process, kernel, or workload data. In a privileged tracing tool, omission of these operational security cautions can lead users to expose telemetry over the network or run high-impact tracing without understanding data-leakage and system-stability risks.
The cross-host push/pull example binds a receiver to 0.0.0.0 and demonstrates transmitting system events over the network without any warning about exposure, authentication, encryption, or firewalling. Because these events may include process names, timing, stack traces, and other sensitive telemetry, users could unintentionally create a remotely reachable observability endpoint or leak privileged runtime data.
This markdown template is entirely written in Chinese and all placeholder guidance requires Chinese output, which imposes a specific language on downstream skill authors or users. The file does not provide any opt-in, alternative language option, or justification for a Chinese-only locale requirement.
The document includes ready-to-run examples that write to tracing control files, enable uprobes, and capture trace output from user-space functions such as malloc, free, and open-related wrappers, but it does not clearly warn about operational risk or sensitive data exposure. In this performance-analysis context, those commands can degrade system performance, require elevated privileges, and collect process arguments, pointers, filenames, and other potentially sensitive runtime data if copied directly into production use.
This markdown skill file presents all instructions and operational guidance exclusively in Chinese, and there is no indication that the user can choose another language or that the skill is intentionally limited to a Chinese-speaking audience. That can violate language/locale policy when a skill forces a specific language without user opt-in.
markdown 文件需要对可能影响隐私或数据暴露的行为给出警示。这里说明 --comm 会在报告中输出进程名列表,这可能泄露系统上运行的程序名称或工作负载信息,但文档未提醒用户这些输出应谨慎共享或在敏感环境中使用。
This is a markdown file, so SQP-2 applies to missing safety/privacy warnings in the description. Although L011 notes that root privileges are required, the document does not clearly warn users about the visibility impact of monitoring live process/thread scheduling data or advise caution when running on production or multi-user systems.
SQP-3 applies to all file types and includes language or locale policy violations. This document presents all user-facing guidance in Chinese and does not indicate that the user can select another language or that the skill is intentionally limited to a Chinese-language audience.
This is a markdown file, so SQP-2 applies to missing user warnings in the skill description. The examples include very high sampling rates and a production-environment example, and the document notes root/CAP_PERFMON requirements, but it does not explicitly warn that profiling can add overhead, affect system performance, or expose process names and call stacks during collection.
The document explicitly states that running this profiler requires root or CAP_PERFMON, but it does not warn that those privileges enable broad observation of system-wide performance events, kernel activity, and potentially other processes' execution characteristics. In a skill centered on Python-based custom event handling, this omission matters because users may be encouraged to run arbitrary analysis scripts with elevated observability and control without understanding the security implications.