浏览代码

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

85 add a securitytxt file
Nariman Jelveh 1 年之前
父节点
当前提交
5398ba83b1
共有 3 个文件被更改,包括 21 次插入2 次删除
  1. 6 0
      SECURITY-ACKNOWLEDGEMENTS.md
  2. 9 0
      src/security.txt
  3. 6 2
      utils.js

+ 6 - 0
SECURITY-ACKNOWLEDGEMENTS.md

@@ -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 - 0
src/security.txt

@@ -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

+ 6 - 2
utils.js

@@ -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) => {