OWASP / OWASP/ASVS

Reduce maximum lifetime of OAuth authorization code (10.4.3)

Open Beginner friendly
#3,353 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

V10 (prev V51)
Dominant language
HTML
Stars
3.6k
Forks
831
Avg merge
7h 55m
Merged PRs (30d)
4

Description

Current 10.4.3 reads:

10.4.3 Verify that the authorization code is short‑lived. The maximum lifetime can be up to 10 minutes for L1 and L2 applications and up to 1 minute for L3 applications.

Reading:

I think it would make sense to reduce this to 1 minutes / 30 seconds.

Contributor guide

Open the contributing guide

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.

Research direction

Start with requirement 10.4.3 in the ASVS source and compare its current lifetime wording with the OAuth browser-swapping thread, the ConsentFix attack description, and OAuth 2.1 issue 230 linked here. Update the requirement to reflect the agreed maximums, then verify the rendered standard still states the intended values.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, security
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.