microsoft / microsoft/BotFramework-WebChat
Forced to use unsafe-inline CSP header
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 1.6k
- Avg merge
- 22h 58m
- Merged PRs (30d)
- 2
Description
Feature Request
We would like to remove the 'unsafe-inline' CSP header for security reasons. However, when we remove the 'unsafe-inline' header, we get the following error in the client.

sheet.browser.esm.js is used in the Emotion package, which is a dependency in botframework-webchat. This issue mentions a solution for this problem. Would it be possible to implement this?
Contributor guide
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.
Research direction
Start by reading the linked Emotion issue and examining how sheet.browser.esm.js is used through the Emotion dependency in botframework-webchat. Determine the requested integration change and verify that the client works with the CSP unsafe-inline header removed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100