pymatgen

Pass

Audited by Gen Agent Trust Hub on Jul 12, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill is a legitimate implementation of the Pymatgen (Python Materials Genomics) library. All bundled scripts (structure_analyzer.py, structure_converter.py, phase_diagram_generator.py) perform their stated functions using standard library practices.
  • [EXTERNAL_DOWNLOADS]: The skill references the Materials Project API (materialsproject.org) and installs standard scientific packages (pymatgen, mp-api). These are well-known and reputable services in the computational materials science community.
  • [CREDENTIALS_UNSAFE]: The skill requires MP_API_KEY for database access. It correctly instructs users to set this as an environment variable and retrieves it using os.environ.get() in its scripts, which is the recommended practice for secret management in this context.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external structure files (CIF, POSCAR, XYZ). While this represents a data ingestion surface, the risk is negligible as the library uses specific scientific parsers designed for structured atomic data rather than natural language processing. Boundary markers are absent, but the capabilities are limited to scientific analysis and local file writing.
  • [COMMAND_EXECUTION]: The skill includes CLI scripts for structure manipulation. These scripts use standard argument parsing (argparse) and do not involve shell execution of unsanitized user input.
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 12, 2026, 03:14 PM