Skip to content

Check for security.txt files under the top-level directory too. #1

@EdOverflow

Description

@EdOverflow

Hi @Pinjasaur,

First off, fantastic work! I enjoyed your write-up and thank you for sharing your tool. I just wanted to point out that you are currently only checking for security.txt files under the .well-known path, but it is worth noting that the Internet Draft also allows security.txt files to be served under the top-level directory (https://example.com/security.txt). You might stumble across a couple of hosts only hosting their security.txt file under the top-level directory; e.g. https://bit.ly/security.txt.

tfc/tfc.js

Line 64 in fa2fb44

const files = ['robots.txt', 'humans.txt', '.well-known/security.txt']

Keep up the excellent work. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions