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

Open Beginner friendly
#641 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript, macos, node.js
Domain
cli, security

Research direction

Read the v2.0.46 release installer, install-protected-audit-service.sh, starting with the CLIENT_USER validation at line 18 and following the Darwin account resolution through Directory Services. Check that validation safely accepts valid dotted macOS account names while rejecting invalid input. Done means the existing account passes validation and resolution without renaming the account; verify against the release installer and its published checksum.

Written by the indexing model from the issue text.

Description

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

Dominant language
JavaScript
Stars
9.1k
Forks
848
Avg merge
14h 39m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EvoMap/evolver

All issues in EvoMap/evolver

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.