networkx
Warn
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill documents and encourages the use of
pickle.load()andnx.read_gpickle()(a wrapper around pickle) for reading graph data inreferences/io.md. Python'spicklemodule is insecure because it can execute arbitrary code during the deserialization process. If an agent is directed to load a malicious pickle file from an untrusted source, it could result in full system compromise. - [INDIRECT_PROMPT_INJECTION]: The skill defines multiple ingestion points for external data that could contain malicious instructions designed to influence the agent's behavior.
- Ingestion points: Functions like
nx.read_graphml(),nx.read_gml(), andpd.read_sql_query()inreferences/io.mdallow the agent to process data from external files and databases. - Boundary markers: The instructions lack explicit boundary markers or warnings to the agent to disregard natural language instructions embedded within the graph data.
- Capability inventory: The skill environment includes file system access, potential network operations through visualization libraries, and arbitrary code execution via
pickle. - Sanitization: There is no mention of sanitizing or validating the contents of ingested files before they are processed by the LLM or graph algorithms.
Audit Metadata