Improve the auditability of first-party origin detection
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- backend-api-design, security
Research direction
The issue relates to first-party origin detection logic, likely in the extension's core security modules. Start by examining the code paths that handle origin detection and the calls to Tor Browser Bundle's privileged fetch API. Look for existing tests to understand the current behavior, then refactor to improve clarity and add documentation inline. The goal is to make the detection logic transparent and auditable, ensuring it correctly identifies first-party origins.
Written by the indexing model from the issue text.
Description
For #163, one of the concerns is that the extension could detect first-party origins incorrectly, pass incorrectly detected FPOs to TBB's new privileged fetch API, and hence allow manipulating Tor circuits. One way to remedy that is to make the FPO detection logic more transparent and easily auditable. Some of the concrete things that could entail are:
- Better documentation, preferably directly linked to code
- Refactoring call paths that are currently difficult to follow
- Refactoring the detection logic itself
- More thorough testing
- Dominant language
- TypeScript
- Stars
- 116
- Forks
- 12
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 10
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from freedomofpress/webcat
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
freedomofpress/webcat#260 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
freedomofpress/webcat#332 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 56/100
freedomofpress/webcat#330 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 8/100
freedomofpress/webcat#323 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
freedomofpress/webcat#302 ·
Maintainers usually reply within 1 day
All issues in freedomofpress/webcat
Similar issues
-
Translate the appOpengood first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Mikiyas-Meles-Assefa/opensourcebook#154 · 1 comment ·
Maintainers usually reply within 1 day
-
rowbinary: typeStringToReader keeps Variant members in text order, so Variant(Int64, Float64) reads 7 as 3.5e-323Possibly taken @rwits08 claimed this today. Openbug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/clickhouse-js#1293 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
sidebandstudio/clawtrate#1863 ·
Maintainers usually reply within 1 day
-
agent/quality testing
Difficulty 1/5 Under an hour Newbie friendliness 95/100
cncf/techdocs#463 · 1 comment ·
Maintainers usually reply within 1 day
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`Possibly taken @carlosrobert0 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
Maintainers usually reply within 2 days