networkx

Warn

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONMETADATA_POISONINGINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill provides documentation and examples for using the Python pickle module to save and load graph objects. Specifically, references/io.md demonstrates pickle.load(f), which is a known unsafe deserialization pattern that can result in arbitrary code execution if the input file is malicious. While the skill includes a textual warning about unpickling only trusted files, the promotion of this capability without a secure alternative (such as JSON or structured formats) remains a risk.
  • [METADATA_POISONING]: There is an inconsistency between the authoring organization provided in the skill's metadata frontmatter (K-Dense Inc.) and the author provided in the distribution context (umich-fatml). This mismatch represents deceptive metadata that could mislead users about the origin and accountability of the skill's content.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to read and process numerous external graph file formats (GraphML, GML, GEXF, JSON, etc.) that often contain arbitrary textual metadata like node labels and edge attributes. These fields represent an ingestion surface for malicious instructions that could influence the agent's behavior if the data is subsequently processed by the LLM without strict boundary markers.
  • Ingestion points: Graph loading functions in SKILL.md and references/io.md, such as nx.read_graphml, nx.read_gexf, and nx.read_edgelist.
  • Boundary markers: Absent; the instructions do not suggest the use of delimiters or specific "ignore" instructions when the agent processes textual data extracted from graphs.
  • Capability inventory: The skill possesses capabilities to write files to disk (nx.write_*), perform complex algorithmic computations, and generate interactive HTML visualization files (pyvis, plotly).
  • Sanitization: While the documentation mentions the need to sanitize XML inputs and HTML labels for tooltips, it does not provide sanitization or escaping mechanisms for preventing instruction injection into the agent's prompt context.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 31, 2026, 03:30 PM