Help us shape the future of Go! Take the 2026 Go Developer Survey

typo-scanner

command module
v0.0.0-...-ccdfcc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

typo-scanner

typo-scanner is a quick and simple CLI to help you scan public registries for TypoSquatters trying to attack your package's userbase.

What is TypoSquatiing?

TypoSquatting is when malicious developers upload copies of software packages with typos in the package name.

These developers then include nefarious payloads in the otherwise functional copy, and clumsy fingers everywhere are vulnerable when attempting to use open source software.

Supported Registries

The following public registries are currently supported:

  • go.dev
  • mvnrepository
  • npmjs
  • pypi
  • rubygems

Getting Started

Install from source

git clone https://github.com/dsm0014/typo-scanner.git
go build

Scan some package registries!

./typo-scanner npm -dr react

The -dr specified above will search for [d]uplicate and [r]eversed character typos.

If a legitimate package is getting flagged incorrectly, use the [e]xclude flag to ignore it in your results.

./typo-scanner pypi fastapi -d -x faastapi

For more details on flags and command options explore the detailed help commands.

./typo-scanner --help
./typo-scanner [command] --help

Documentation

Overview

Copyright © 2022 Daniel Morrison

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL