huawei-cloud-ascend-profiler-db-explorer

Pass

Audited by Gen Agent Trust Hub on Nov 18, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill operates on local profiling database files provided by the user. It enforces strict read-only constraints (SELECT only) and mandates the use of pre-defined Common Table Expression (CTE) macros for common performance analysis tasks, which reduces the risk of incorrect or inefficient queries.
  • [SAFE]: The provided Python script scripts/get_schema.py is used for looking up table definitions in the accompanying documentation. It uses standard libraries and performs local file and SQLite metadata operations without network access or dynamic code execution.
  • [INDIRECT_PROMPT_INJECTION]: The skill translates natural language into executable SQL queries, creating a potential surface for prompt injection where a user might attempt to craft queries that bypass constraints.
  • Ingestion points: User-provided natural language questions regarding performance profiling (e.g., "Which operators are most time-consuming?").
  • Boundary markers: The instructions define a structured pipeline (Input -> Intent -> SQL Gen -> Execution) and include explicit "Mandatory Restrictions" for the agent.
  • Capability inventory: Execution of SQL via sqlite3 CLI and platform-provided msprof_mcp tools.
  • Sanitization: The skill mandates SELECT operations, requires the use of aggregation functions or LIMIT clauses, and restricts database access to specific filename patterns (ascend_pytorch_profiler*.db or msprof_*.db).
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 18, 2026, 04:04 AM