Back to skill

Security audit

Jetson Tegrastats

Security checks for vulnerabilities and agentic risk

Overview

This skill is a small Jetson monitoring helper that only documents and runs the local tegrastats command with fixed arguments.

Install this only on systems where NVIDIA Jetson tegrastats is expected to exist. The skill runs a local monitoring command and prints device statistics; review the Chinese-only documentation if language accessibility matters for your environment.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/tegrastats.py (reported line 9)May include surrounding context.

python
def run_tegrastats():
    """运行 tegrastats"""
    try:
        result = subprocess.run(
            ['tegrastats', '--interval', '1000', '--stop'],
            capture_output=True,
            text=True,

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

The primary descriptive text is written in Chinese, which imposes a specific language choice in the skill documentation without offering an alternative or explaining a locale-specific requirement. This matches the policy category for language or locale constraints lacking user opt-in or clear justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The module docstring and function docstring are written only in Chinese, which imposes a specific language choice in the skill's natural-language content. The file does not indicate that this is a region-specific tool or offer any language/locale opt-in, which matches the language policy violation criteria.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.