Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
0cac6e6
🧪 `sanitizeTableName` 함수에 대한 테스트 추가
seonghobae Aug 7, 2026
5a952d7
test(erd): consolidate table-name sanitization cases
seonghobae Aug 7, 2026
17ca366
Merge branch 'main' into add-sanitize-table-name-tests-47242289131928…
opencode-agent[bot] Aug 13, 2026
6e62b0d
test(erd): preserve PostgreSQL identifiers in relationship inference
seonghobae Aug 14, 2026
d9b360f
fix(erd): preserve PostgreSQL table identifiers
seonghobae Aug 14, 2026
49aa358
docs(erd): record PostgreSQL identifier fidelity
seonghobae Aug 14, 2026
c9af69d
🧪 `sanitizeTableName` 함수에 대한 테스트 추가
seonghobae Aug 14, 2026
52f4b7a
🧪 `sanitizeTableName` 함수에 대한 테스트 추가
seonghobae Aug 14, 2026
185f43b
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 14, 2026
177c384
refactor(erd): remove obsolete identifier sanitizer
seonghobae Aug 14, 2026
33af32b
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 14, 2026
f6440a1
merge(main): restore PostgreSQL identifier fidelity slice
seonghobae Aug 17, 2026
2057ee7
Merge main into PostgreSQL identifier fidelity fix
seonghobae Aug 20, 2026
4368025
fix: preserve dotted PostgreSQL identifiers
seonghobae Aug 20, 2026
eb24c16
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
22e6f00
fix(erd): restore exact PostgreSQL identifier inference
seonghobae Aug 20, 2026
f19848a
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
b5a80f3
fix(erd): preserve quoted relation names with dots
seonghobae Aug 20, 2026
b7cfdc4
docs(changelog): record identifier and dependency hardening
seonghobae Aug 20, 2026
78dc8da
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
2b222a0
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
729453c
fix(erd): retain dotted relation identity
seonghobae Aug 20, 2026
437a4f2
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
039b94b
fix(erd): preserve dotted relation names
seonghobae Aug 20, 2026
6f4bd45
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
e82ef54
fix(erd): preserve dotted relation names
seonghobae Aug 20, 2026
d93bf96
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
f3a225b
fix(erd): retain relation metadata in inference
seonghobae Aug 20, 2026
395dfe3
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
92cd625
fix(erd): preserve relation names from snapshots
seonghobae Aug 20, 2026
7753fe7
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
74b2fb3
Revert "fix(erd): preserve PostgreSQL table identifiers during relati…
seonghobae Aug 20, 2026
deea636
Merge branch 'main' into add-sanitize-table-name-tests-47242289131928…
seonghobae Aug 20, 2026
a2d90a7
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
d3662ed
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
20afa67
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
bbe9e70
fix(erd): retain relation metadata through graph conversion
seonghobae Aug 20, 2026
ff1b2a0
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
fd1321f
fix(erd): restore relation metadata propagation
seonghobae Aug 20, 2026
5bc3598
fix(security): retain current runtime security pins
seonghobae Aug 20, 2026
5dc0076
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
efb331f
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
8dfea3b
fix(erd): restore exact identifiers and security pins
seonghobae Aug 20, 2026
42d5335
Merge remote-tracking branch 'refs/remotes/origin/pr/774' into HEAD
seonghobae Aug 20, 2026
60d1846
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
753193a
fix(erd): preserve security baseline and regression coverage
seonghobae Aug 20, 2026
45df540
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
d5510e5
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
d655a6c
fix(erd): retain branch security baselines and identifier regression
seonghobae Aug 20, 2026
430dd03
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
59e2514
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
84f6d9e
fix: preserve identifiers and refresh dependency baselines
seonghobae Aug 20, 2026
1899685
merge: integrate latest identifier repair
seonghobae Aug 20, 2026
901f160
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
68c9e84
test: cover exact relation-name propagation
seonghobae Aug 20, 2026
4b1c03d
merge: integrate latest remote identifier repair
seonghobae Aug 20, 2026
d98b73d
test: avoid duplicate relation-name regression
seonghobae Aug 20, 2026
aec731c
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
e634365
merge: integrate latest remote identifier repair
seonghobae Aug 20, 2026
b1faace
fix: preserve identifiers and refresh dependency baselines
seonghobae Aug 20, 2026
105728f
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
2fe4372
merge: integrate latest remote identifier repair
seonghobae Aug 20, 2026
f71812c
fix: preserve identifiers and refresh dependency baselines
seonghobae Aug 20, 2026
7184e3f
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
16d229f
fix: preserve identifiers and refresh dependency baselines
seonghobae Aug 20, 2026
0123793
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
27d3b2c
fix: preserve identifier and security baselines
seonghobae Aug 20, 2026
95e76f2
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
03f8edd
fix: retain identifier and security baselines
seonghobae Aug 20, 2026
d6da06b
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
67ac515
fix: restore security and identifier regression coverage
seonghobae Aug 20, 2026
c41122c
fix(erd): preserve PostgreSQL table identifiers during relationship i…
seonghobae Aug 20, 2026
9fc8738
security: fix shell injection and dependabot findings
seonghobae Aug 20, 2026
9e14c0d
security: fix shell injection and dependabot findings
seonghobae Aug 20, 2026
1082b58
security: fix shell injection and dependabot findings
seonghobae Aug 26, 2026
f7e715b
security: fix shell injection and dependabot findings
seonghobae Aug 26, 2026
e924f2b
test(erd): add unit tests for sanitizeTableName
seonghobae Aug 26, 2026
4cd2870
test(erd): reproduce PostgreSQL identifier inference loss
seonghobae Aug 27, 2026
dac472b
fix(erd): preserve exact relation identity in graph nodes
seonghobae Aug 27, 2026
ef53979
fix(erd): infer relationships from exact PostgreSQL names
seonghobae Aug 27, 2026
68520b2
test(erd): remove lossy identifier sanitizer contract
seonghobae Aug 27, 2026
f98a06f
refactor(erd): remove obsolete lossy identifier sanitizer
seonghobae Aug 27, 2026
af37a8f
docs(erd): record PostgreSQL identifier fidelity repair
seonghobae Aug 27, 2026
a072685
docs(frontend): record identifier-safe relationship inference
seonghobae Aug 27, 2026
5ff2766
docs(erd): trace PostgreSQL identifier fidelity boundary
seonghobae Aug 27, 2026
f521122
test(erd): add unit tests for sanitizeTableName
seonghobae Aug 27, 2026
72c4d32
test(erd): add unit tests for sanitizeTableName
seonghobae Aug 27, 2026
32c8fbc
test(erd): add unit tests for sanitizeTableName
seonghobae Aug 27, 2026
220256c
test(erd): add unit tests for sanitizeTableName
seonghobae Aug 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/codeql-backfill.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ jobs:
- name: Enumerate target commits
id: commits
shell: bash
env:
TARGET_BRANCH: ${{ inputs.branch }}
run: |
set -euo pipefail

count="${{ inputs.commit_count }}"
branch="${{ inputs.branch }}"
branch="${TARGET_BRANCH}"

if ! [[ "${count}" =~ ^[0-9]+$ ]]; then
echo "commit_count must be a positive integer" >&2
Expand Down
31 changes: 31 additions & 0 deletions frontend/src/erd/securityUtils.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import { describe, it, expect } from "vitest";
import { sanitizeTableName } from "./securityUtils";

describe("sanitizeTableName", () => {
it("should keep alphanumeric characters and underscores", () => {
expect(sanitizeTableName("Users_Table_123")).toBe("Users_Table_123");
});

it("should remove spaces", () => {
expect(sanitizeTableName("My Table Name")).toBe("MyTableName");
});

it("should remove special characters", () => {
expect(sanitizeTableName("Table!@#$%^&*()-=Name")).toBe("TableName");
expect(sanitizeTableName("Drop Table;--")).toBe("DropTable");
expect(sanitizeTableName("<script>alert(1)</script>")).toBe("scriptalert1script");
});

it("should remove unicode/emojis", () => {
expect(sanitizeTableName("Table_🌟")).toBe("Table_");
expect(sanitizeTableName("사용자")).toBe("");
});

it("should handle empty strings", () => {
expect(sanitizeTableName("")).toBe("");
});

it("should handle strings with only special characters", () => {
expect(sanitizeTableName("!!!***@@@")).toBe("");
});
});
Loading