microsoft / microsoft/copilot-camp

Fix race condition that might result in multiple JWS validator objects

Open
#351 0 comments 0 reactions 1 assignee View on GitHub

@BobGerman is already working on this.

Since Oct 7, 2024.

Dominant language
C#
Stars
664
Forks
175
Avg merge
1m
Merged PRs (30d)
7

Description

In lab E6 there is a race condition in which, if additional HTTP request(s) arrive while the code is awaiting the JWT validator, it will create additional validators. This would not present a security problem but would be inefficient.
Need to cache the promise not the validator object.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.