REDCap imports send the study's token to any host in redcapURL
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
Direção de pesquisa
Start at PATCH /studies/{studyId} and trace how redcapURL and redcapToken are stored, then find the participant and instrument REDCap import request paths. Check the deployment configuration and related issue #832 for context. Done means imports only send the token to an allowed host, and changing the URL clears the stored token so it must be entered again.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
PATCH /studies/{studyId} accepts any value for redcapURL, and the REDCap API imports (participants and instruments) POST the study's redcapToken to that URL. Since #832 the token is write-only, and the API only returns hasRedcapToken. But anyone who can edit the study can change where the token is sent, which undoes #832's protection. It also lets the backend send requests to any host it can reach.
Fix: check the URL's host against an allowlist that each deployment configures, and clear the stored token whenever redcapURL changes, so a new URL needs the token entered again.
Related: #832.
- Linguagem predominante
- TypeScript
- Estrelas
- 4
- Forks
- 0
- Merge médio
- 8h 37min
- PRs com merge (30d)
- 3
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Garvan-Data-Science-Platform/ctrl
-
backend enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 63/100
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 82/100
-
admin-client backend bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
-
backend bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Garvan-Data-Science-Platform/ctrl#970 · 1 comentário ·
-
backend bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Todas as issues de Garvan-Data-Science-Platform/ctrl
Issues semelhantes
-
Parallel reticle_verify opens per-flow leases without the source lease's ignoreHTTPSErrorsTalvez já em andamento @as992949791 assumiu hoje. Abertagood first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
reticlehq/reticle#2033 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
area:quality p3-medium ready-for-agent type:docs
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
fderuiter/deruiter.dev#3589 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
manfredsteyer/angular-oauth2-oidc#1514 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
marmelab/react-admin#11431 ·
Mantenedores costumam responder em até 1 dia