skills/ascend-ai-coding/awesome-ascend-skills/external-gitcode-ascend-ascendc-operator-precision-debug/Gen Agent Trust Hub
external-gitcode-ascend-ascendc-operator-precision-debug
Pass
Audited by Gen Agent Trust Hub on Apr 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The template script
scripts/debug_precision_template.pyperforms dynamic loading of shared libraries (.sofiles) usingtorch.ops.load_library(). The target paths are resolved at runtime via file system globbing, which is a form of dynamic loading from computed paths.\n- [COMMAND_EXECUTION]: The skill's primary workflow requires the agent to generate and execute local Python scripts (debug_<op_name>_precision.py) to interface with the NPU hardware and perform numerical comparisons.\n- [PROMPT_INJECTION]: The skill facilitates indirect prompt injection by ingesting untrusted local project files, such as C++ kernel code and design documents, into the agent's context for review.\n - Ingestion points: Reads
op_host/<op_name>.cpp,op_kernel/<op_name>.cpp, anddesign.mdfiles.\n - Boundary markers: Absent. The skill instructions do not provide delimiters or negative constraints to prevent the agent from following instructions potentially embedded in code comments or documentation.\n
- Capability inventory: The agent possesses file system access, shell command execution capabilities, and Python execution capabilities.\n
- Sanitization: Absent. The skill performs direct analysis of the raw text from ingested files to identify debugging targets.
Audit Metadata