·
Last changedVersion:
This version passed the hardening gate. Hardening applied 7 targeted changes and preserved all other text. Classified findings before hardening: 6. Classified findings closed: 1. Classified findings remaining: 5. Unclassified scanner findings remaining: 0. Review findings closed: 14. Review findings remaining: 3.
3
3
3
2
Expand | File | Group | Subtype | Severity | Status |
|---|---|---|---|---|---|
BENCHMARK.md | Sensitive Data & Secret Exposure | Agent snooping | Medium | Open | |
SKILL.md | Excessive Agency & Rogue Autonomy | — | Medium | Open | |
tests/test_export_evidence_pack.py | Tool & MCP Manipulation | MCP configuration abuse | Medium | Open | |
SKILL.md | Privilege Escalation & Host / Cloud Compromise | Privilege escalation | Low | Open | |
SKILL.md | Tool & MCP Manipulation | MCP over-permissioning | Low | Open | |
SKILL.md | Prompt Injection | Indirect prompt injection | Low | Closed |
6 findings
Mirror an existing medical-inference result or evidence pack into MLflow after
the run and emit the export_result JSON contract. Keep the original evidence
pack as the source of truth. Training skills should add MLflow inside their
training loops instead.
scripts/export_evidence_pack.py in the default dry-run mode.
Run it from this skill's own installed directory, or through the host
script helper shown below, and confirm the script path belongs to this
skill. Use the shell only to run this bundled exporter script.params, metrics, artifact_plan, and mlflow.note.content.--mode local or --mode databricks only after checking the target.
Before any live run, tell the user the effective tracking destination: the
--tracking-uri value, or else the MLFLOW_TRACKING_URI value, or else
the Databricks workspace or profile. Get explicit user confirmation of it.
Prefer passing --tracking-uri so the destination is visible. An empty
tracking URI in dry-run output only means the flag was not passed. Use
only https destinations the user has approved.--artifact-policy metadata unless the target is approved for images.preview or all in a live mode, pass
--confirm-medical-artifact-upload only after the user has explicitly
approved, in the current conversation, the destination, the experiment,
and the data policy for medical images. If that approval is absent or
unclear, stop and ask the user. The preview policy also uploads the
full HTML and image review files referenced by the result, so the
approval must cover those files too.--source-ref, --note, config filenames, and artifact filenames free
of patient or secret identifiers; always review the dry-run output first.
Inspect every param, tag, note, artifact name, and evidence document in
the dry-run output for patient or secret identifiers, and stop before any
live run if any are found.preview or all export, review every item in the dry-run
artifact_plan with the user and confirm that each referenced file comes
from the inference output directory of the named pack. The plan shows only
file names, so also check the referenced paths in the result JSON. If
unsure, keep the metadata policy. Use --image and --mask only for
files inside that pack or run directory.--max-artifact-mb limit unless the user explicitly
approves a larger one.DATABRICKS_TOKEN value out of commands, notes, params, and
output, and refer to it only by name. Prefer a configured Databricks
profile and a least-privilege token scoped to the experiment.Hosts with a script helper can use
run_script("scripts/export_evidence_pack.py", args=["PACK_OR_RESULT", "--mode", "dry-run"]).
| Script | Purpose | Arguments |
|---|---|---|
| Export post-hoc inference evidence through MLflow. |
|
mlflow>=2.10,<4 for local or databricks mode.numpy>=1.24,<3 and nibabel>=4,<6 for NIfTI quality metrics and previews.MLFLOW_TRACKING_URI may select a caller-managed tracking server.DATABRICKS_HOST, DATABRICKS_TOKEN, or
configured Databricks profile. The declared network endpoint is
https://<caller-provided-mlflow-or-databricks-workspace>; Docker and GPU
are not required.<current-working-directory>/mlruns. Run local mode from an
access-controlled directory kept out of version control and shared
folders, because the store may hold medical data.Preview the export without contacting MLflow:
Export a direct NV-Generate result with reproducibility metadata:
Log downsampled slice previews, but not raw NIfTI files:
--artifact-policy all additionally uploads discovered or explicitly supplied
NIfTI images and masks, subject to --max-artifact-mb. Use --image and
--mask when paths are not present in the result JSON.
The exporter logs:
--source-ref, plus a prompt digest when present;mlflow.note.content with a short human-readable run summary;all policy.| Error | Cause | Fix |
|---|---|---|
Evidence source not recognized | No direct result JSON or pack | Pass the result file, evidence-pack directory, or trusted-run root. |
MLflow import fails | Live mode lacks the declared package. | Install |
Preview/all confirmation error | A live image upload was not acknowledged. | Review the destination, then pass |
Referenced image not found | Result paths moved after inference. | Pass current paths with |
Get started with chainctlchainctl skill install public/nvidia/medtech-model-evidence-export:latest
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.chainreg.biz/public/github.com/nvidia/skills/medtech-model-evidence-export:latest
Apache-2.0
BENCHMARK.md
HARDENING.md
SKILL.md
evals/evals.json
fixtures/sample_pack/integrity_check.json
fixtures/sample_pack/manifest.json
fixtures/sample_pack/output.json
fixtures/sample_pack/runtime_profile.json
fixtures/sample_pack/validation_summary.json
fixtures/sample_result.json
scripts/export_evidence_pack.py
skill-card.md
skill.oms.sig
skill_manifest.yaml
tests/test_export_evidence_pack.py
validators/output_schema.json