primekg
Pass
Audited by Gen Agent Trust Hub on Sep 24, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill reads from an external biological dataset (
kg.csv) and displays entity names and relationship metadata to the agent. This represents an indirect prompt injection surface where malicious instructions could be embedded in the scientific data. - Ingestion points: Data is ingested via
pd.read_csvinscripts/query_primekg.pyand returned through search and neighbor retrieval functions. - Boundary markers: None. Data is provided directly to the agent context without delimiters.
- Capability inventory: The script provides functions for searching and retrieving local graph neighbors using
pandas. No network-write or OS command execution capabilities are present in the provided scripts. - Sanitization: No validation or escaping of the data strings is performed before they are returned to the agent.
- [EXTERNAL_DOWNLOADS]: The skill documentation encourages downloading the PrimeKG dataset from the Harvard Dataverse and fetching citation metadata from arXiv. These are well-known, trusted academic and scientific repositories.
- [DATA_EXFILTRATION]: The documentation in
SKILL.mdcontains a hardcoded absolute file path (C:\Users\eamon\Documents\Data\PrimeKG\kg.csv) from the developer's local workstation, which exposes information about the host user's environment and directory structure.
Audit Metadata