scikit-survival

Pass

Audited by Gen Agent Trust Hub on Sep 8, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill implements strict local-only data processing. All scripts in the scripts/ directory use a shared validation utility (_common.py) that explicitly rejects URLs and symlinks for input and output paths, preventing basic data exfiltration or unauthorized file access.
  • [SAFE]: The ast_analyzer flagged a dynamic import __import__('numpy') in scripts/validate_survival_csv.py. Manual inspection confirms this is a benign, lazy import used solely to calculate a median value within a validation report. It does not ingest untrusted input for the module name.
  • [SAFE]: The skill uses allow_pickle=False for all NumPy operations (np.save, np.savez_compressed, np.load). This is a critical security best practice that prevents arbitrary code execution vulnerabilities common when loading serialized scientific data.
  • [SAFE]: All external downloads and installation instructions target well-known, trusted package registries (PyPI) and official versions of widely used scientific libraries (NumPy, SciPy, scikit-learn). The instructions use uv for environment isolation.
  • [SAFE]: The scripts implement robust resource limiting, including MAX_INPUT_BYTES (32MB), MAX_ROWS (20,000), and MAX_FEATURES (256). These boundaries prevent denial-of-service (DoS) scenarios from excessively large input files.
  • [SAFE]: The skill documentation (SKILL.md and various references) provides extensive warnings against using model outputs for clinical advice or causal claims, adhering to ethical guidelines for AI in healthcare and statistics.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 8, 2026, 04:42 AM