Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

floor: the secret-file check can't see runtime values (globs, expansion side effects, symlinks, code)

Đang mở
#97 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python, shell, typescript
Lĩnh vực
security

Hướng nghiên cứu

Start with floor.ts and section 4 of docs/plans/2026-09-22-real-shell-parser.md, then review the runtime file resolution described in #67 and spawn interception in the eval kernel from #13. Done means the reviewer sees the files opened at runtime or the argv actually spawned, rather than only source spellings.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The floor's secret-file check is a check on names, and names don't cover runtime values. PR #96 hit the Codex review cap on this: each of three rounds found a new runtime spelling, and the class doesn't close by adding spellings.

Passes the floor Why a name check can't see it
cat .e* the glob matches whatever is on disk
cat ${x:=key.txt} ${x/txt/pem} the first expansion assigns x, the second reads it
ln -s ~/.aws/credentials notes.txt && cat notes.txt a symlink renames any file
subprocess.run(["o" "p", "read", "op://v/i/c"]) in eval Python joins the literals, and the floor doesn't evaluate Python

What #96 does about it: the floor reads each word as the text it's written as, so *.pem still asks and .e* doesn't. The limit is written down as a decision in docs/plans/2026-09-22-real-shell-parser.md section 4. Every one of these reaches the reviewer.

This issue tracks whether anything below the reviewer should close it. Two ways that would actually work, not more spellings:

  • For shell, judge the file the command opens, not its name. That means resolving it at run time, the same move #67 makes for script bodies. Symlinks need this too.
  • For code, intercept the spawn in the eval kernel (#13) so the floor sees the argv the kernel runs, not the source text.

Until then, don't add glob samples, expansion simulation, or language-specific string parsing to floor.ts. Rounds 2 and 3 on #96 show where that goes.

Related: #95 (the summary's version of the same limit), #91.

Ngôn ngữ chính
TypeScript
Star
0
Fork
1
Merge trung bình
1 giờ 15 phút
Pull request đã merge (30 ngày)
49

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của STRML/omp-classifier

Tất cả issue của STRML/omp-classifier

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.