Tag: JavaScript
All the articles with the tag "JavaScript".
-
SonarQube Insecure Random 막는 법 — Math.random 3가지 케이스
SonarQube Insecure Random 룰 S2245가 토큰 생성 코드에서 떴다. Math.random부터 SecureRandom 마이그레이션까지 3가지 케이스를 정리한다.
-
SonarQube eval Injection 해결 — Function 동적 실행 3가지
SonarQube eval Injection 룰 S1523이 동적 코드 실행에서 떴다. Function constructor부터 안전한 파서까지 3가지 해결 코드를 정리한다.
-
SonarQube DOM XSS 시도 4가지 — innerHTML 통과 코드
SonarQube DOM XSS 룰 S5696이 innerHTML 동적 갱신에서 떴다. textContent 전환부터 sanitize-html까지 4가지 시도와 최종 코드를 정리한다.