Skip to content

Evaluate tiged Typosquat Warning and Consider Alternatives #79

@Josephat-S

Description

@Josephat-S

What to build

Socket flagged tiged as a possible typosquat of giget (a more popular package). While tiged is a legitimate fork of degit, this warning combined with the CVE and deprecated deps suggests we should evaluate replacing it.

Alternatives to evaluate

  • giget — Modern, maintained, used by Nuxt/UnJS ecosystem. Supports GitHub, GitLab, Bitbucket.
  • degit — Original by Rich Harris, but unmaintained.
  • Custom solution — Use fetch to download GitHub tarball + tar to extract. Zero dependencies.

Specs

  • Must support: cloning a subdirectory from a GitHub repo (e.g., Ebyte-Lab/opusify-templates/portfolio/nextjs-monolith).
  • Must support: private repos with token auth.
  • Should not add deprecated or vulnerable transitive dependencies.

Acceptance criteria

  • Evaluate giget as a replacement (test with our repo structure).
  • If giget works: replace tiged with giget, update src/generate.js.
  • If custom solution: implement GitHub tarball download with node:https + tar.
  • Socket scan shows no typosquat warnings after the change.
  • All template generation tests still pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions