Conversation
- [CRITICAL] requireAdminContext 가드 추가 및 모든 admin action에 적용 SvelteKit layout.server.ts load는 form action 제출 시 실행되지 않으므로 action마다 관리자 인가를 직접 검사하도록 수정 - [HIGH] 세션 토큰 SHA-256 해싱 후 DB 저장 (평문 저장 제거) - [HIGH] LDAP STARTTLS 모드에 rejectUnauthorized: true 적용 - [HIGH] OIDC 클라이언트 update 시 public client PKCE 다운그레이드 방지 - docs: 보안 감사 보고서 추가 (docs/security-audit-20260417.md) Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
- [MEDIUM] SAML SSO 엔드포인트 IP 기반 rate limit 추가 (30회/분) - [MEDIUM] OIDC end-session id_token_hint 서명 검증 및 sub 일치 확인 - feat: verifyIdToken (RS256 JWT 검증) 함수 추가 Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
- @hicaru/argon2-pure.js 도입 (순수 JS, Cloudflare Workers 호환) - 신규 해시: argon2id (m=4096KB, t=3, p=1) - 레거시 PBKDF2 해시는 로그인 시 자동 검증 후 argon2id로 업그레이드 - verifyPassword()가 두 포맷을 모두 처리하므로 마이그레이션 불필요 Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
- [M-1] svelte.config.js csp.mode='hash' 설정으로 script-src unsafe-inline 제거 SvelteKit이 SSR 인라인 스크립트 SHA-256 해시를 자동 추가 hooks.server.ts 수동 CSP 제거 (중복 방지) - [L-3] Fixed Window → Sliding Window(두 버킷 근사) 전환 경계 2x burst 제거: prev*(1-elapsed/window)+current 가중 합산 Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
argon2id기반 비밀번호 해싱 도입src/lib/server/crypto/keys.ts)Test plan
🤖 Generated with Claude Code