v2.0.46 protected-audit installer rejects valid dotted macOS account names

Đang mở Phù hợp với người mới
#641 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, macos, node.js
Lĩnh vực
cli, security

Hướng nghiên cứu

Đọc trình cài đặt bản phát hành v2.0.46, install-protected-audit-service.sh, bắt đầu từ bước xác thực CLIENT_USER ở dòng 18 và theo dõi quá trình phân giải tài khoản Darwin thông qua Directory Services. Kiểm tra để đảm bảo bước xác thực chấp nhận an toàn tên tài khoản macOS hợp lệ có dấu chấm và từ chối đầu vào không hợp lệ. Công việc hoàn tất khi tài khoản hiện có vượt qua bước xác thực và phân giải mà không bị đổi tên; hãy kiểm tra bằng trình cài đặt bản phát hành và checksum đã công bố.

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

Mô tả

Environment

macOS Apple Silicon; existing npm-managed Evolver 2.0.42, evaluating 2.0.46. Official release installer install-protected-audit-service.sh was downloaded and checked against its companion SHA256.

Problem

Line 18 only permits a-zA-Z0-9_- in CLIENT_USER. An existing macOS short account name containing a period (illustrative example: first.last) is rejected with invalid_client_user. The Darwin branch later resolves the account via Directory Services (dscl). The real account name and personal paths are omitted.

Reproduction without privileged installation

Inspect the CLIENT_USER validation in the v2.0.46 release installer and evaluate its character allowlist against first.last: the period falls outside the permitted set, so it rejects this valid existing account. No system mutation is required to reproduce the validation failure.

Expected

Safely support existing dotted macOS account names while retaining proper input validation and account resolution. Please publish a version-bound, checksum-published installer fix or a supported alternative that does not require renaming the OS account.

Verification scope

This is based on inspection of the official installer, not an attempted privileged installation. We have not modified the account or bypassed audit checks. An isolated 2.0.46 protected-audit configuration probe reports protected_audit_unavailable: service_not_provisioned.

Release: https://github.com/EvoMap/evolver/releases/tag/v2.0.46

Ngôn ngữ chính
JavaScript
Star
9.1k
Fork
848
Merge trung bình
14 giờ 39 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 EvoMap/evolver

Tất cả issue của EvoMap/evolver

Issue tương tự

Thêm issue về JavaScript

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.