bunkerity / bunkerity/bunkerweb

[FEATURE] security.txt Alphabetical Sorting

Open Beginner friendly
#3,705 1 comment 0 reactions 0 assignees View on GitHub
core enhancement
Dominant language
Python
Stars
10.9k
Forks
643
Avg merge
1d 10h
Merged PRs (30d)
42

Description

### What's needed and why?

I noticed that the Values in the security.txt are not sorted, it would be a better way to sort the values alphabetically

example:

Now:
>Contact: mailto:security@example.com
>Expires: 2027-07-06T20:22:15Z
>Preferred-Languages: en
>Canonical: https://example.com/.well-known/security.txt

Requested:
>Canonical: https://example.com/.well-known/security.txt
>Contact: mailto:security@example.com
>Expires: 2027-07-06T20:22:15Z
>Preferred-Languages: en

### Implementations ideas (optional)

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

Start by locating the entry point or template that produces security.txt and check whether tests cover its field order. Update the output so the fields are alphabetized as shown in the issue, then run the relevant existing tests or verify the generated file manually.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.