Files
AgentCompany/AgentCompany-New
ZacharyZhang-NY 03c4b5376d Harden the renderer CSP (sec #2)
The policy fell back to default-src for scripts and allowed
'unsafe-inline', so any future injection sink would run with the
renderer's full contextBridge authority. The page has no inline scripts
(one external module), so split the directives: script-src 'self' with
no inline, style-src keeps 'unsafe-inline' for React inline styles, and
add object-src/base-uri/frame-src 'none'. localhost stays only on
script/connect for the dev server. Verified the production build still
loads and renders end to end.
2026-06-26 18:05:58 -04:00
..
2026-06-26 18:05:58 -04:00
2026-05-20 23:27:00 -04:00
2026-05-23 19:05:32 -04:00