pymatgen

Pass

Audited by Gen Agent Trust Hub on Jul 10, 2026

Risk Level: SAFE
Full Analysis
  • [COMMAND_EXECUTION]: Provides instructions for installing established materials science libraries (pymatgen, mp-api) using the standard pip package manager.
  • [EXTERNAL_DOWNLOADS]: Interacts with the Materials Project's official REST API (materialsproject.org) to retrieve DFT-computed materials data, which is the intended purpose of the library.
  • [CREDENTIALS_UNSAFE]: Demonstrates how to configure an API key (PMG_MAPI_KEY) using environment variables and internal configuration methods, correctly utilizing placeholders (your_api_key_here) for sensitive values.
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 10, 2026, 03:35 PM
Security Audit — agent-trust-hub — pymatgen