primekg

Pass

Audited by Gen Agent Trust Hub on Jun 29, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill performs its described functions of searching and retrieving biological associations from the Precision Medicine Knowledge Graph (PrimeKG). The code is straightforward and handles data processing locally using pandas.
  • [INDIRECT_PROMPT_INJECTION]: The search_nodes function in scripts/query_primekg.py uses the user-provided name_query in a pandas.Series.str.contains call. By default, this function treats input as a regular expression, which makes the skill vulnerable to Regular Expression Denial of Service (ReDoS). An attacker providing a specifically crafted regex could cause high CPU usage and stall the agent.
  • [DATA_EXPOSURE]: The skill uses a hardcoded absolute path /mnt/c/Users/eamon/Documents/Data/PrimeKG/kg.csv to access its data. While the data itself is public research material, referencing a specific user's home directory exposes a local username ('eamon') and limits the skill's portability across different systems.
Audit Metadata
Risk Level
SAFE
Analyzed
Jun 29, 2026, 02:19 PM