Rule 5: hidden columns in every clause and through stars
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Start with src/sqlguardllm/rules/columns.py and its tests in tests/rules/test_columns.py, and check whether #4 (its dependency) is merged. Walk the select list, WHERE, join conditions, GROUP BY, HAVING, ORDER BY and window clauses to see where a hidden column can slip through, including * and t.* expansion. Done means gallery cases 22-24 are rejected as hidden_column, both the no-schema and Policy.schema modes have tests, and aliases resolve.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Goal
A hidden column can't be read, filtered, sorted or reached through * (docs/DESIGN.md#5-columns).
Acceptance criteria
- A hidden column referenced in the select list,
WHERE,JOIN ... ON,GROUP BY,HAVING,ORDER BY, window clauses or subqueries →hidden_column(gallery cases 22-24) -
*andt.*over a source with hidden columns →hidden_column - Without
Policy.schema, unqualified columns that match a hidden column name of any source in scope are rejected; withPolicy.schema, columns are qualified withsqlglot.optimizer.qualifyand checked exactly (tests for both modes) - Table and column aliases (
c.email AS contact) are resolved
Relevant files
src/sqlguardllm/rules/columns.pytests/rules/test_columns.py
Size
M (1-2 days)
Notes
- Depends on: #4
- Milestone: v0.1 · Core guard
- Design: docs/DESIGN.md · threat model · attack gallery
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 0
- Merge trung bình
- 1 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của jmmana/sqlguardllm
-
area:security good first issue size:s type:feature
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/100
jmmana/sqlguardllm#16 ·
-
area:integrations size:s type:feature
Độ khó 4/5 Nửa ngày Mức phù hợp với người mới 25/100
jmmana/sqlguardllm#38 ·
-
area:security size:m type:infra
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 30/100
jmmana/sqlguardllm#37 ·
-
Official .NET client on NuGetĐang mởarea:integrations help wanted size:m type:feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
jmmana/sqlguardllm#36 ·
-
area:integrations help wanted size:m type:feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
jmmana/sqlguardllm#35 ·
Tất cả issue của jmmana/sqlguardllm
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug (unverified)
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
scikit-hep/awkward#4581 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ci-cd priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
LearningCircuit/local-deep-research#9163 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Specifically suppress IsEnoughWorkspace, instead of all MIopen warnings in denoiser/config.pyĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
supersonic-lumina/ENM156#50 ·
Maintainer thường phản hồi trong vòng 2 ngày