schema-query
Pass
Audited by Gen Agent Trust Hub on Nov 13, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- Execution of External Command-Line Tools: The skill instructs the agent to utilize
npxfor executingfabric-app-semantic-model-toolsandrayfin. This involves downloading and running packages from the npm registry. While this is a standard developer workflow, it introduces a dependency on the integrity of external software repositories. - Potential for Indirect Prompt Injection: The agent is guided to ground its logic in metadata retrieved from external semantic models, such as table descriptions and measure expressions. If this metadata is provided by an untrusted source, it could contain instructions designed to influence the agent's behavior.
- Ingestion points: Metadata retrieved from the
query-schematool's output, specifically from views likeinfo_view_measuresandinfo_view_tables(SKILL.md). - Boundary markers: The instructions do not prescribe the use of specific delimiters or markers to isolate ingested metadata from the agent's core instructions.
- Capability inventory: The agent can execute shell commands via
npxand perform SQL queries against local cached databases. - Sanitization: The skill proactively recommends sanitization techniques, such as using SQLite-style brackets for identifiers and utilizing dedicated SQL files (
--file) when queries incorporate user-provided or free-form text. - Mitigation of Command and SQL Injection: The skill provides high-quality guidance for handling user-provided strings. By advising the use of external files for complex queries and detailed quoting rules, it significantly reduces the risk of malicious or malformed input causing unintended shell command execution or SQL injection.
Audit Metadata