networkx
Warn
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill documents and promotes the use of Python's
picklemodule and NetworkX'sread_gpicklefunction for graph serialization. - Evidence: Found in
references/io.mdunder the 'Pickle Format' and 'Format Selection Guidelines' sections. - Risk: The
picklemodule is insecure. If the agent is instructed to load a pickle file provided by an untrusted external source, it could lead to remote code execution. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process graph data from a wide variety of external file formats and databases, creating a surface for indirect prompt injection.
- Ingestion points: Includes
nx.read_edgelist,nx.read_graphml,nx.read_gml,nx.read_adjlist, andpd.read_sql_querydocumented inreferences/io.md. - Boundary markers: The instructions do not define clear boundaries or 'ignore' instructions for the data being processed from these files.
- Capability inventory: The skill environment allows for complex Python execution, file system access (read/write), and integration with numerical and visualization libraries.
- Sanitization: There is no evidence of sanitization or validation of the graph attributes or node/edge data loaded from external sources before they are processed by the agent.
Audit Metadata