PostHog / PostHog/warlock

Expand hardcoded secret detection using open-source references

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

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Context

From Vincent's review on PR #14 — the current hardcoded secret rules cover AWS, GitHub PAT, and Stripe live keys. There are many more secret formats worth detecting.

Reference projects to pull patterns from

High-value candidates to add next

  • Slack tokens (xoxb-, xoxp-, xoxs-)
  • Twilio keys (SK + 32 hex)
  • SendGrid keys (SG.)
  • Database connection strings (postgres://, mongodb://, mysql://)
  • Generic JWT detection
  • OpenAI / Anthropic API keys
  • Datadog / New Relic API keys

Origin

PR #14 review comment by @gewenyu99

Contributor guide

Open the contributing guide

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 reviewing the existing AWS, GitHub PAT, and Stripe live-key detection rules, then compare candidate patterns in the TruffleHog, detect-secrets, and Secret Parker detector directories. Prioritize the listed Slack, Twilio, SendGrid, database connection, JWT, OpenAI, Anthropic, Datadog, and New Relic formats. Done means the selected additional formats are detected and covered by appropriate verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.