Skip to content
Dashboard

ml-scanner

Model training + inference pipeline with a FastAPI gateway. Last analyzed 3 days ago.

Project detail

Findings summary

0 Critical1 High2 Medium0 Low
Issues that need attention are listed below.

Score breakdown

Security

86

Based on detected findings

Reliability

81

Based on detected findings

Testing

72

Regression tests added

Code Quality

91

Based on detected findings

Dependencies

88

Based on detected findings

Issues

High

Unsafe Model Deserialization

Security

models/loader.py:24

Trusted pickle.load is used on models downloaded from a URL that can be influenced by an advisory banner, enabling code execution if the source is ever tampered with.

Medium

Sensitive Payload Logged at INFO

Security

api/predict.py:12

The inference gateway logs the full request body, silently capturing user-provided text that may include PII.

Medium

Model Cache Without TTL or Version Key

Reliability

api/cache.py:45

Cached predictions are never invalidated, so stale weights keep serving after a redeploy.

  1. Uploaddone
  2. Analyzedone
  3. Findactive
  4. Explainupcoming
  5. Fixupcoming
  6. Testupcoming
  7. Verifyupcoming