Add Security page

This commit is contained in:
Gary Tou 2025-03-17 22:21:14 -07:00
parent 02a692e220
commit b27075fd81
No known key found for this signature in database
GPG key ID: 1587ABD3593755C3
3 changed files with 73 additions and 2 deletions

View file

@ -0,0 +1,20 @@
At Hack Club, we take security seriously.
If you believe you have found a security vulnerability in one of our services,
please responsibly report it to us by emailing
[security@hackclub.com](mailto:security@hackclub.com). We will work with you to
investigate the issue and remediate it as quickly as possible.
Upon finding a notable security vulnerability, we'd be happy to send you
something as a thank you.
<br />
---
Some projects may have specific security policies. Please refer to the table below for more information.
| Project | Security Policy |
| ------- | ----------------------------------------------------------------------------------- |
| HCB | [hcb.hackclub.com/security](https://hcb.hackclub.com/security) |
| Sprig | [github.com/hackclub/sprig](https://github.com/hackclub/sprig?tab=security-ov-file) |

51
pages/security.js Normal file
View file

@ -0,0 +1,51 @@
import { Box, Container, Heading } from 'theme-ui'
import Head from 'next/head'
import Meta from '@hackclub/meta'
import Nav from '../components/nav'
import ForceTheme from '../components/force-theme'
import Footer from '../components/footer'
import SecurityContent from '../components/security/content.mdx'
const SecurityPage = () => (
<>
<Meta
as={Head}
title="Security"
description="Hack Club's Security & Vulnerability Disclosure Policy"
image="https://workshop-cards.hackclub.com/Security.png?fontSize=350px"
/>
<ForceTheme theme="light" />
<Nav color="text" />
<Box
as="header"
sx={{
bg: 'sheet',
color: 'text',
pt: [5, null, null, null, 6],
pb: [3, 4, 5, null, 6],
textAlign: 'center'
}}
>
<Container variant="copy">
<Heading as="h1" variant="title" sx={{ color: 'primary', mt: [2, 4] }}>
Hack Club Security
</Heading>
<Heading as="h2" variant="subtitle" sx={{ mt: 3, color: 'text' }}>
Responsible Disclosure Policy
</Heading>
</Container>
</Box>
<Container
variant="copy"
sx={{
py: [4, 5],
fontSize: [2, 3]
}}
>
<SecurityContent />
</Container>
<Footer />
</>
)
export default SecurityPage

View file

@ -1,4 +1,4 @@
Contact: mailto:security@hackclub.com
Expires: 2024-12-31T11:59:00.000Z
Preferred-Languages: en
Preferred-Languages: en-US
Policy: https://hackclub.com/security
Canonical: https://hackclub.com/.well-known/security.txt