T09 · Insecure Skill Coding Practices
- Location
assets/beijing-jifen-wizard.html:1521- Finding
Automatic Plaintext Persistence of Sensitive Personal Information
- Content
View full analysis
= 2) data.degreeDeduct = ymReadSafe(dp[0]) + "|" + ymReadSafe(dp[1]); return data; } function saveForm(){ if (restoringForm) return; try { localStorage.setItem(FORM_CACHE_KEY, JSON.stringify(collectFormState())); } catch (e) {} } ``` The storage operation is automatically connected to form activity at lines 1627-1630: ```javascript if ($("#wizardForm")) { $("#wizardForm").addEventListener("change", saveForm); $("#wizardForm").addEventListener("input", saveForm); } ``` ### T ...[truncated 2706 chars]- Remediation
View remediation
