NYC

vitest-best-practices

Pass

Audited by Gen Agent Trust Hub on Feb 17, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE] (SAFE): The skill consists of documentation and best practice guidelines for the Vitest testing framework. It does not contain executable scripts, system commands, or network requests.
  • [Indirect Prompt Injection] (SAFE): The skill defines a workflow for the agent to analyze user-provided code files, which is a potential surface for indirect prompt injection. However, as the skill provides static guidance and lacks execution capabilities for the analyzed data, the risk is categorized as safe. Evidence Chain: 1. Ingestion points: The agent reads user-provided test files (*.test.ts, *.spec.ts) and configuration files (vitest.config.ts). 2. Boundary markers: No explicit delimiters or instructions to ignore embedded commands are provided. 3. Capability inventory: The agent is tasked with reading, reviewing, and refactoring source code. 4. Sanitization: No sanitization processes are defined for the input data.
Audit Metadata
Risk Level
SAFE
Analyzed
Feb 17, 2026, 05:13 PM