jerpint / jerpint/woltspace

The wolf found a key under the doormat

Open
#49 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12
Forks
1
Avg merge
7h 13m
Merged PRs (30d)
31

Description

The problem

There's a GitHub PAT baked into the git remote URL:

origin https://woltspace:<PAT>@github.com/jerpint/woltspace.git

This means every git remote -v, every debug log, every subprocess that touches the remote leaks the token in plaintext. Today the wolf read it off the floor to authenticate gh — that shouldn't have been possible.

The PAT should live in .env (where secrets belong) and get injected at auth time through a credential helper or GH_TOKEN, not welded into the remote.

What needs to happen

  1. Strip the PAT from the remote URLgit remote set-url origin https://github.com/jerpint/woltspace.git
  2. Add GITHUB_TOKEN to .env — single source of truth for the PAT
  3. Configure a git credential helper that reads from .env (or use GH_TOKEN env var for gh commands)
  4. Audit other remotes — check all wolts for the same pattern (wolts/*/ repos)
  5. Rotate the PAT — the current one has been logged in shell history and tool outputs

The rule going forward

Secrets live in .env. Nowhere else. No embedding in URLs, no hardcoding in scripts, no "just this once." If a creature needs auth, it reads from .env at runtime.

Priority

High — this is a live credential in a place that gets printed by default tooling.

🐺 Howlie found this one. Good wolf.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting git remotes across the wolts/*/ repositories and checking how .env and gh authentication are handled. Verify that no remote, shell history, tool output, or script contains the PAT, then confirm the remote uses the clean GitHub URL, authentication reads from .env or GH_TOKEN, and the exposed token is rotated.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github
Domain
authentication, devops, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.