mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
[security] replace innerHTML usages in dashboard/app.js — convert to safe DOM APIs
- Replaced innerHTML assignment in dashboard/app.js with DOMParser. - Updated baseline count in scripts/check-innerhtml.mjs. - Generated context, todo, decisions, and test logs for innerhtml-migration-agent. - Executed full scheduler daily flow and published lock/completion. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
678372e0a6
commit
624f322383
8 files changed
+67
-3
No files matched your search
@@ -7,9 +7,8 @@ const DEFAULT_TARGET_EXTENSIONS = ['.js', '.mjs', '.ts', '.html'];
|
||||
const DEFAULT_EXCLUDED_FILES = [];
|
||||
|
||||
const BASELINE = {
|
||||
"dashboard/app.js": 1,
|
||||
"landing/index.html": 1,
|
||||
"total": 2
|
||||
"total": 1
|
||||
};
|
||||
|
||||
function countInnerHTML(filePath) {
|
||||
|
||||
Reference in new issue
Block a user