pySCG: Missing rules on CWE Top 25
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
- 25/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- documentation, security
Hướng nghiên cứu
Start by reviewing the linked CWE Top 25 list and the Python Secure Coding Guide sections named in the issue, including CWE-502 and the rules already listed as existing or similar. Decide which missing weaknesses apply to Python and whether existing guidance covers the similar rules; the issue says this requires debate. Done means the rule list and resulting guide changes are agreed and the selected missing guidance is added.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Most Dangerous Software Weaknesses CWE Top 25 2023 can be interpreted as mandatory for a learning resource on secure coding.
Will need to debate list of rules to add to the Python - Secure Coding One Stop Shop
Missing rule:
1 : CWE-787 Out-of-bounds Write
4 : CWE-416 Use After Free
14 : CWE-190 Integer Overflow or Wraparound
17: CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
23 CWE-94 Improper Control of Generation of Code ('Code Injection')
Not Python ?, JavaScript/Web/HTML/Architecture:
2 : CWE-79 Improper Neutralization of Input During Web Generation ('Cross-site Scripting')
7 : CWE-125 Out-of-bounds Read
9 : CWE-352 Cross-Site Request Forgery (CSRF)
11: CWE-434 Missing Authorization
13: CWE-287 Missing Authentication
19: CWE-918 Server-Side Request Forgery (SSRF)
20: CWE-306 Missing Authentication for Critical Function
22: CWE-269 Improper Privilege Management
24: CWE-863 Incorrect Authorization
25: CWE-276 Incorrect Default Permissions
Similar existing rule, need to check:
6 : CWE-20 Improper Input Validation
8 : CWE-22 Improper Limitation of a Path-name to a Restricted Directory ('Path Traversal')
10: CWE-434 Unrestricted Upload of File with Dangerous Type
16: CWE-77 Improper Neutralization of Special Elements used in a Command
Existing Rule, either online or pending publication as part of ossf/wg-best-practices-os-developers#531 :
3 : CWE-89 SQL Injection
5 : CWE-78 Os Command Injection
12 : CWE-476 NULL pointer Dereference
15: CWE-502: Deserialization of Untrusted Data
18: CWE-798 Hard-coded Credentials
21 CWE-362 Concurrent Execution Using Shared Resource with Improper Synchronization ("Race Condition")
Rg Helge
- Ngôn ngữ chính
- Python
- Star
- 2
- Fork
- 2
- Merge trung bình
- 11 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
- Không 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 ossf/python-secure-coding-guide
-
pyscg-0051 should use a context managerCó thể đã có người làm @s19110 đã nhận 8 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ossf/python-secure-coding-guide#1 · 4 bình luận · 1 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
ossf/python-secure-coding-guide#29 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Tất cả issue của ossf/python-secure-coding-guide
Issue tương tự
-
README Quick Start query command fails, and doctor points to a missing Prerequisites sectionĐang mởdocumentation type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
add entry to blockĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
StevenBlack/hosts#3299 ·
-
`garak --report` overwrites the input report when its name has no ".report"Có thể đã có người làm @0z5a đã nhận hôm nay. Đang mởneeds-triage
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
trace: Pi's 1-hour cache writes are priced at 1.25x, but billed at 2xCó thể đã có người làm @Shizoqua đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
microsoft/TokenEconomizer#221 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
plot_graph crashes when a mesh node has no m2m edgeCó thể đã có người làm @tygvi đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
mllam/neural-lam#883 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày