New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

git-1337

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-1337

Customize your git commit hashes (to an extent)

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

git 1337

Customize your git commit hashes (to an extent)


How it works

Git's commit hashes take a bunch of inputs, one of them is time. By calculating hashes of a commit, with its time altered, we get random commit hashes cheaply. Thus, we can alter a commit's hash without ruining our repository with junk placed somewhere crazy.

Use/Installation

# One-time use (no install, just node/npm and git required)
npx git-1337

Or for more extended use:

# Install globally
npm i -g git-1337
# Use from now on
git 1337

Caveats

This is just a proof of concept right now, not exactly going for perfection in implementation or UX here. There is nothing really that can be done here besides coming up with random hashes, read the code behind it to see how it works (it's not much).

Keywords

FAQs

Package last updated on 13 Dec 2021

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc