Missing User Warnings
Medium
- Confidence
- 94% confidence
- Finding
- The import routine uses `INSERT OR REPLACE`, which will silently overwrite existing sample records when an imported `sample_id` matches one already in the database. In a lab tracking context, this can destroy provenance, notes, ownership, and status history, undermining data integrity and traceability even if there is no direct code-execution risk.
