$ the-wire · showcase
Windows profile discovery moves off PowerShell in agent-scan
By RepoJournal · Filed · About Agent Security · Composed from the cited sources · methodology
agent-scan fixes the Windows scanning paths that produced false diffs and dropped profiles, and lifts pydantic to >=2.14.2 to clear three Snyk vulnerabilities.
fix(discovery): read Windows profiles from the registry [ADS-1644] snyk/agent-scan
--scan-all-users used to enumerate Windows profiles with a PowerShell Win32_UserProfile query capped at 10s, and on slow machines it timed out and quietly returned only WSL homes; discovery now reads HKLM ProfileList via winreg, keeps user SIDs only and skips .bak keys, and falls back to PowerShell when the registry can't be read or lists nothing.
fix: windows homes once snyk/agent-scan
The other two Windows false-diff causes are gone: a shadow scan called get_readable_home_directories() three times per run (local discovery, the backend homes list, the local-only merge) and could see a different home set on each call, and repeated legacy clients are now collapsed to one key.
fix: bump pydantic to >=2.14.2 for Snyk security vulnerabilities snyk/agent-scan
pydantic is pinned to >=2.14.2 in pyproject.toml (resolved 2.14.4) for three Medium findings, SNYK-PYTHON-PYDANTIC-22733125, -22733145 and -22733162; the package builds and imports and a Snyk scan reports 0 issues. The floor is enforced in metadata, so a fresh install or rebuild picks it up without a manual pin.
Action items