[Feature Request] Re-implement http request leak detection

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
backend, security

Research direction

Read the existing outgoing server response leak detection and the prior dmno fetch patch, if available in the repository history. The issue proposes patching fetch to inspect outgoing requests and adding per-secret host allow-lists, but gives no files, tests, or acceptance details. Done would require detecting disallowed secret values sent to other servers while permitting configured hosts.

Written by the indexing model from the issue text.

Description

enhancement
Description

Currently we only detect leaks in outgoing server responses.

Im dmno, we also detected leaks in outgoing http requests to other servers (not the client) by patching fetch.

This requires that the user can specify an allow-list for each secret. For example, a stripe key is only allowed to be sent to api.stripe.com

Motivation

No response

Proposed Solution

No response

Alternatives

No response

Additional Information

No response

Dominant language
TypeScript
Stars
4.9k
Forks
140
Avg merge
2d 3h
Merged PRs (30d)
35

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from dmno-dev/varlock

All issues in dmno-dev/varlock

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.