networkx

Warn

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: MEDIUMINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external graph data and database records, creating a surface for indirect prompt injection where malicious instructions could be embedded in node/edge attributes or metadata.
  • Ingestion points: Multiple data reading functions in references/io.md (e.g., read_graphml, read_edgelist, read_json, read_sql_query).
  • Boundary markers: None identified in the instructions to prevent the agent from following instructions embedded within graph data.
  • Capability inventory: The skill has capabilities to write files (write_graphml, write_edgelist), generate visualizations that may execute in a browser environment (pyvis, plotly), and interact with SQL databases.
  • Sanitization: While the skill correctly recommends parameterized queries for SQL to prevent SQL injection, it does not specify sanitization or validation for general graph attributes imported from external files.
  • [DYNAMIC_EXECUTION]: The skill documents the use of the Python pickle module for graph serialization, which involves unsafe deserialization.
  • Evidence: references/io.md provides code snippets for pickle.load(f) and pickle.dump(G, f). Although the skill includes a warning to only unpickle files from trusted sources, the inclusion of this pattern represents a medium-risk capability for executing arbitrary code embedded in malicious data files.
  • [COMMAND_EXECUTION]: The skill provides instructions for the agent to execute shell commands to manage the environment.
  • Evidence: SKILL.md and references/io.md contain instructions to use uv pip install for installing networkx, geopandas, and momepy.
  • [EXTERNAL_DOWNLOADS]: The skill facilitates the download of external code dependencies.
  • Evidence: The skill directs the agent to download and install packages from the Python Package Index (PyPI), a standard package registry, using the uv package manager.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 28, 2026, 09:46 AM