Archive Importer

Zip Slip

The archive extractor writes each entry to disk using its raw filename, so a crafted archive can drop files outside the upload directory.

Extract probe

  

Expected Findings

  • Archive entries are joined into the upload root without normalization.
  • `..` segments escape the intended directory.
  • Both POSIX and Windows path separators are honored.

Signals

Write
os.WriteFile(filepath.Join(uploadRoot, entry.Name), entry.Data, 0644)