pymatgen
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill handles untrusted external data formats such as CIF and POSCAR. This ingestion surface is mitigated by strict site and byte bounds implemented in
scripts/_common.pyandscripts/composition_structure_validator.py. Boundary markers include robust JSON parsing that rejects non-finite numbers and duplicate keys, while the capability inventory is restricted to local processing and authenticated API calls. Sanitization is applied viascripts/mp_query.py, which redacts secrets from all potential output streams. - [CREDENTIALS_UNSAFE]: The skill demonstrates secure management of the
MP_API_KEY. It reads the secret only from environment variables and explicitly redacts it using thesafe_error_messagehelper inscripts/mp_query.py. Additionally,scripts/artifact_manifest.pyemploys a sensitive name filter (SENSITIVE_NAME) to prevent the accidental inclusion of credential-bearing files (e.g., .env or files with 'secret' in the name) in generated manifests. - [EXTERNAL_DOWNLOADS]: The skill references official scientific software from PyPI and connects to the Materials Project API. These references target well-known scientific organizations and established technology providers, representing legitimate scientific data retrieval rather than a security risk.
Audit Metadata