Mask personal data instead of hiding it
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
- 35/100
Hướng nghiên cứu
Start with src/sqlguardllm/rules/masking.py and src/sqlguardllm/policy.py, and check whether issue #5 is merged, since this issue depends on it. The done state is tests/test_masking.py passing, with masked queries executed on SQLite and no real values returned. The partial strategy and the per-dialect SHA-256 hashing are not defined in the issue, so confirm them with the maintainer before implementing.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Goal
Let models answer questions about people without ever seeing their personal data (docs/DESIGN.md#protecting-personal-data).
Acceptance criteria
-
masked_columns: {"table.column": strategy}with strategiesnull,redact,hash(SHA-256 hex per dialect) andpartial - Masked columns are rewritten in the select list keeping their output name; any use in predicates, joins, grouping or ordering is
hidden_column -
SELECT *over a table with masked columns is expanded with the masks whenschemais known, and rejected otherwise - Tests that execute masked queries on SQLite and check no real value comes back
Relevant files
src/sqlguardllm/rules/masking.pysrc/sqlguardllm/policy.pytests/test_masking.py
Size
M (1-2 days)
Notes
- Depends on: #5
- Milestone: v0.3 · More power
- 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