networkx

Warn

Audited by Gen Agent Trust Hub on Sep 5, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill's documentation encourages the use of the Python 'pickle' module for serializing and deserializing graph data, which is an unsafe practice when handling data from untrusted sources.
  • Evidence in references/io.md: Snippets such as G = pickle.load(f) and G = nx.read_gpickle('graph.gpickle') demonstrate this usage.
  • Evidence in SKILL.md: The 'Important Considerations' section suggests using pickle for efficiency.
  • [INDIRECT_PROMPT_INJECTION]: The skill facilitates the ingestion of data from various external and potentially untrusted formats, creating a surface for indirect prompt injection if the agent processes malicious instructions embedded in node or edge attributes.
  • Ingestion points: Multiple functions in references/io.md such as nx.read_graphml(), nx.read_csv(), and pd.read_sql_query().
  • Boundary markers: The skill does not provide instructions or examples for using delimiters or boundary markers to separate data from instructions.
  • Capability inventory: The skill enables extensive data processing, file writing (e.g., plt.savefig, nx.write_graphml), and potential database interactions.
  • Sanitization: There are no examples or recommendations for sanitizing or validating the input data before processing it within the graph structure.
  • [COMMAND_EXECUTION]: The skill includes shell commands for environment setup and package management.
  • Evidence in SKILL.md: The installation section provides commands like uv pip install networkx and uv pip install networkx[default].
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 5, 2026, 11:07 AM