scikit-survival

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFE
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill's setup instructions utilize uv pip install to fetch a specific scientific stack from the official Python Package Index (PyPI). The packages include well-known libraries such as scikit-survival, scikit-learn, numpy, pandas, scipy, ecos, osqp, joblib, numexpr, and narwhals. All package versions are pinned to ensure reproducible and expected behavior.
  • [DATA_EXFILTRATION]: The bundled utility script (scripts/_common.py) implements several security safeguards for file operations. It explicitly rejects paths containing :// to prevent network-based file access and prohibits the use of symbolic links. Additionally, it enforces a 32MB limit on input files to mitigate potential resource exhaustion attacks.
  • [DYNAMIC_EXECUTION]: The script scripts/validate_survival_csv.py contains a localized dynamic import of the numpy library (__import__("numpy")). This is used for a single calculation and targets a hardcoded, trusted package name, presenting no security risk.
  • [INDIRECT_PROMPT_INJECTION]: The skill identifies CSV files as ingestion points for untrusted data. However, the analysis logic in the provided scripts is strictly numerical and statistical. The data is parsed using pandas and validated against expected numeric/boolean types and row/feature counts before being used by the scientific libraries. The data is not directly interpolated into LLM instructions.
  • [COMMAND_EXECUTION]: The skill uses local CLI helpers for its workflows. These scripts prioritize the standard library and avoid unsafe patterns. Numeric data is saved using numpy.save with allow_pickle=False to prevent arbitrary code execution during data loading.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 01:31 PM