dis-moi / dis-moi/backend

Prevent a user to impersonate another one when posting from the extension

Open
#314 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

> https://github.com/dis-moi/backend/pull/161#issuecomment-787753464
> https://github.com/dis-moi/backend/pull/161#discussion_r585075034

Contributor guide

Open the contributing guide

Research direction

Start by reading the discussion and issue comment linked from pull request #161, then trace the backend authentication path used when the extension posts. Determine how one user can post as another and define the request-level checks needed to prevent that impersonation. Done means extension posts cannot be attributed to an unintended user and the relevant regression is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
api, authentication, authorization, backend, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.