Merge pull request #94 from HeyPuter/85-add-a-securitytxt-file

85 add a securitytxt file
This commit is contained in:
Nariman Jelveh 2024-03-13 17:23:28 -07:00 committed by GitHub
commit 5398ba83b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,6 @@
We would like to thank the following security researchers for their responsible disclosures:
# 2024
- xyzeva: [Github](https://github.com/xyzeva) | [email](mailto:xyzeva@riseup.net) | [website](https://kibty.town/)

9
src/security.txt Normal file
View File

@ -0,0 +1,9 @@
Contact: mailto:security@puter.com
Expires: 2025-01-01T20:00:00.000Z
Acknowledgments: https://github.com/HeyPuter/puter/blob/master/SECURITY-ACKNOWLEDGEMENTS.md
Canonical: https://github.com/HeyPuter/puter/blob/master/src/security.txt
Policy: https://github.com/HeyPuter/puter/blob/master/SECURITY.md

View File

@ -158,8 +158,12 @@ async function build(options){
);
const copy_these = [
'images', 'favicons',
'browserconfig.xml', 'manifest.json', 'favicon.ico',
'images',
'favicons',
'browserconfig.xml',
'manifest.json',
'favicon.ico',
'security.txt',
];
const recursive_copy = (src, dest) => {