pymatgen
Pass
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides a legitimate set of tools, scripts, and documentation for computational materials science using the established
pymatgenlibrary. All operations described align with the stated purpose of crystal structure analysis and Materials Project integration. - [CREDENTIALS_SAFE]: The skill correctly implements security best practices by instructing users to store sensitive Materials Project API keys in environment variables (
MP_API_KEY). All examples in the documentation use non-functional placeholders like 'your_api_key_here'. - [EXTERNAL_DOWNLOADS]: The skill utilizes standard, domain-specific packages such as
pymatgenandmp-apifrom official registries. References to the Materials Project (materialsproject.org) target a well-known scientific service. - [DYNAMIC_EXECUTION]: Code examples and scripts use safe deserialization practices, specifically
yaml.safe_load()when processing configuration files, which prevents arbitrary code execution during data loading. - [INDIRECT_PROMPT_INJECTION]: The skill's ingestion points for external data are limited to scientific structure files (e.g., CIF, POSCAR). These are processed using standard
pymatgenparsers, posing a minimal and expected attack surface for this domain.
Audit Metadata