Socket
Book a DemoInstallSign in
Socket

github.com/Bushidosan/TomTomCheck

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/Bushidosan/TomTomCheck

v0.0.0-20230106170738-6883898c0c2c
Source
Go
Version published
Created
Source

TomTomCheck

The TomTom API is another version of the clasic Google Maps API, it can be used to do a wide ranges of different API calls. In this tool we check most of these API calls if we can perform them, the only downside is for some API calls there is account specific information required like history which is imposible to test via a default API query.

Usage

go run .\main.go <API Key>

TomTomCheck

Remidation

The remidation is pretty simple, TomTom has a nice setting called "Domain Whitelisting". When enabled before making the API call TomTom will first verify if the source making the API call is an allowed source and will return a 403 forbidden if this is not the case.

Key take away : Make sure domain whitelisting is enabled otherwise bad people can waste your money.

https://developer.tomtom.com/blog/decoded/how-protect-your-api-key-using-domain-whitelisting

FAQs

Package last updated on 06 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.