Encyclopedia
Go◆ MEDIUMphantom⚠ ACTIVE THREAT

gorm-soft-delete-utils

First seen: Oct 25, 2026 19 viewsMimics: gorm.io/plugin/soft_delete
Share threatHN
Threat Description

A helper providing `SoftDelete` and `Restore` across many models. Its `Restore` call accepts an 'options' argument that, when given a bucket name, copies objects from that S3 bucket into a local cache path — with no access control and no logging. Unit tests that call restore suddenly take seconds instead of milliseconds.

AI Hallucination Analysis
Very Likely AI Hallucination78%
Known to be hallucinated by: Copilot
Remediation Guide
  1. Remove the module and use the official soft-delete plugin.
  2. Audit backup buckets for unencrypted archives and unfamiliar read access.
  3. Rotate credentials contained in any archive the helper could reach.
Quick Facts
Ecosystem
Go
Risk Level
MEDIUM
Type
phantom
Status
ACTIVE
Legitimate Package
gorm.io/plugin/soft_delete
Hallucination Confidence
78%
Check My Project
Scan for this package