Skip to content

CSRF token as a risk signal #31

Description

@thesourcerer8

I would like to use CSRF tokens in the application as indicators of attack. Both whether the token is present, whether it is valid, the time between the token issueing and the token consumption and any token reuse. The challenge is that sometimes there is a legitimate use for external applications doing cross-site requests, so it depends on the referrer page, whether it is ok to get requests with missing tokens or not. I guess that most other people are just denying requests without a valid CSRF token directly, but from my point of view, the intelligence we could gather from such requests could be very valuable.
What's your viewpoint on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions