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.py and scripts/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 via scripts/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 the safe_error_message helper in scripts/mp_query.py. Additionally, scripts/artifact_manifest.py employs 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
Risk Level
SAFE
Analyzed
Sep 28, 2026, 09:46 AM