Merge pull request #22 from offendingcommit/fix/web-security-hardening

fix: harden token and URL transport security
This commit is contained in:
Offending Commit
2026-05-28 14:20:51 -05:00
committed by GitHub
11 changed files with 152 additions and 14 deletions

View File

@@ -8,8 +8,10 @@
{
"identifier": "http:default",
"allow": [
{ "url": "http://*" },
{ "url": "http://*:*" },
{ "url": "http://localhost" },
{ "url": "http://localhost:*" },
{ "url": "http://127.0.0.1" },
{ "url": "http://127.0.0.1:*" },
{ "url": "https://*" },
{ "url": "https://*:*" }
]

View File

@@ -30,7 +30,7 @@
}
],
"security": {
"csp": null
"csp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; font-src 'self' data:; connect-src 'self' http://localhost:* http://127.0.0.1:* https:; object-src 'none'; base-uri 'none'; frame-ancestors 'none'"
}
},
"plugins": {