diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 000000000..1b794685b --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,7 @@ +# Reporting a security vulnerability + +Email [security@tanstack.com](mailto:security@tanstack.com) to report a suspected vulnerability in tanstack.com privately. Please do not post security reports in public issues, pull requests, or discussions. + +Include the affected URL or commit, steps to reproduce, and the potential impact. A small proof of concept is helpful when available. + +For vulnerabilities in a TanStack library, check that library's repository for its security policy. diff --git a/public/.well-known/security.txt b/public/.well-known/security.txt new file mode 100644 index 000000000..6bb48b670 --- /dev/null +++ b/public/.well-known/security.txt @@ -0,0 +1,4 @@ +Contact: mailto:security@tanstack.com +Expires: 2027-11-01T00:00:00Z +Canonical: https://tanstack.com/.well-known/security.txt +Policy: https://github.com/TanStack/tanstack.com/blob/main/SECURITY.md diff --git a/public/_headers b/public/_headers index 45563990d..7775fa046 100644 --- a/public/_headers +++ b/public/_headers @@ -8,3 +8,6 @@ # the filename changes on a later build. /assets/* Cache-Control: public, max-age=31536000, immutable + +/.well-known/security.txt + Content-Type: text/plain; charset=utf-8