
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
github-current-user
Advanced tools
Get the current GitHub user and verify that they have access to a private key that's been authorized to that account.
Uses the username in user.username or the email address in user.email of
the user's .gitconfig and the private keys in in the user's ssh-agent with
fallback to ~/.ssh/id_rsa or ~/.ssh/id_dsa.
If the username is known, you can use verifyUser and pass it as the first argument which bypasses .gitconfig lookup work.
var user = require('github-current-user');
user.verify(function (err, verified, username) {
// if verified === true, the user has the correct private key or ssh-agent
// for the username in the `username`
console.log(verified, username);
});
var user = require('github-current-user');
user.verifyUser('beaugunderson', function (err, verified, username) {
// if verified === true, the user has the correct private key or ssh-agent
// for the username in the `username`
console.log(verified, username);
});
$ npm i github-current-user -g
$ github-current-user
You are verified as maxogden
$ github-current-user maxogden
You are verified as maxogden
FAQs
Verify the current GitHub user via their private keys
The npm package github-current-user receives a total of 104 weekly downloads. As such, github-current-user popularity was classified as not popular.
We found that github-current-user demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.