{"id":48567912,"url":"https://github.com/alastairlundy/whatexec","last_synced_at":"2026-04-08T13:32:36.751Z","repository":{"id":322468133,"uuid":"1082051693","full_name":"alastairlundy/WhatExec","owner":"alastairlundy","description":"Locate Executable Files in PATH or on Drive(s)","archived":false,"fork":false,"pushed_at":"2026-03-31T15:28:29.000Z","size":668,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-31T17:38:14.841Z","etag":null,"topics":["cli","csharp","dotnet","dotnet-tool","which"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alastairlundy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-23T16:58:59.000Z","updated_at":"2026-03-31T15:29:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/alastairlundy/WhatExec","commit_stats":null,"previous_names":["alastairlundy/whatexec"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/alastairlundy/WhatExec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alastairlundy%2FWhatExec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alastairlundy%2FWhatExec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alastairlundy%2FWhatExec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alastairlundy%2FWhatExec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alastairlundy","download_url":"https://codeload.github.com/alastairlundy/WhatExec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alastairlundy%2FWhatExec/sbom","scorecard":{"id":1243916,"data":{"date":"2026-02-23T21:40:07Z","repo":{"name":"github.com/alastairlundy/WhatExec","commit":"ae9f39ba51df731d6c5a30a5131e0319491d81eb"},"scorecard":{"version":"v5.3.0","commit":"c22063e786c11f9dd714d777a687ff7c4599b600"},"score":7.1,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#maintained"}},{"name":"Security-Policy","score":4,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Warn: no linked content found","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#security-policy"}},{"name":"Code-Review","score":0,"reason":"Found 0/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#code-review"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yml:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#dependency-update-tool"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/publish-nuget.yml:14","Info: topLevel permissions set to 'read-all': .github/workflows/scorecard.yml:14","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":6,"reason":"dependency not pinned by hash detected -- score normalized to 6","details":["Warn: nugetCommand not pinned by hash: .github/workflows/publish-nuget.yml:36: pin your dependecies by either enabling central package management (https://learn.microsoft.com/nuget/consume-packages/Central-Package-Management) or using a lockfile (https://learn.microsoft.com/nuget/consume-packages/package-references-in-project-files#locking-dependencies)","Warn: nugetCommand not pinned by hash: .github/workflows/publish-nuget.yml:56: pin your dependecies by either enabling central package management (https://learn.microsoft.com/nuget/consume-packages/Central-Package-Management) or using a lockfile (https://learn.microsoft.com/nuget/consume-packages/package-references-in-project-files#locking-dependencies)","Info:   5 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   4 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   2 nugetCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#signed-releases"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (1) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#sast"}},{"name":"CI-Tests","score":10,"reason":"1 out of 1 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#ci-tests"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#packaging"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Mozilla Public License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#license"}},{"name":"Branch-Protection","score":4,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'","Info: 'stale review dismissal' is required to merge on branch 'main'","Warn: branch 'main' does not require approvers","Warn: codeowners review is not required on branch 'main'","Info: 'last push approval' is required to merge on branch 'main'","Warn: no status checks found to merge onto branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#branch-protection"}},{"name":"Contributors","score":0,"reason":"project has 0 contributing companies or organizations -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#contributors"}}]},"last_synced_at":"2026-02-24T02:56:35.568Z","repository_id":322468133,"created_at":"2026-02-24T02:56:35.569Z","updated_at":"2026-02-24T02:56:35.569Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31558382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","csharp","dotnet","dotnet-tool","which"],"created_at":"2026-04-08T13:32:35.939Z","updated_at":"2026-04-08T13:32:36.738Z","avatar_url":"https://github.com/alastairlundy.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WhatExec\n\n![GitHub License](https://img.shields.io/github/license/alastairlundy/whatexec?style=flat-square)\n [![NuGet WhatExec.Cli](https://img.shields.io/nuget/v/WhatExec.Cli?style=flat-square\u0026label=WhatExec.Cli%20NuGet)](https://www.nuget.org/packages/WhatExec.Cli)\n [![NuGet WhatExec.Cli.Lite](https://img.shields.io/nuget/v/WhatExec.Cli.Lite?style=flat-square\u0026label=WhatExec.Cli.Lite%20NuGet)](https://www.nuget.org/packages/WhatExec.Cli.Lite)\n\n\n\nSearch for executables across PATH, directories and drives — quickly from the command line or from your .NET code.\n\nThis repository contains two command-line tools and reusable libraries:\n\n- WhatExec.Cli (full CLI / dotnet tool)\n- WhatExec.Cli.Lite (PATH resolving only lightweight CLI / dotnet tool)\n- WhatExec.Lib.* (C# libraries used by the CLIs and available as a NuGet package)\n\n## Quick start — Command-line tools (recommended)\n\nThe CLIs are the primary entry point for most users. They are designed to be installed and run as dotnet tools.\n\nInstall (from NuGet):\n\n- Global install (recommended):\n  - WhatExec.Cli:\n    ```bash\n    dotnet tool install --global WhatExec.Cli\n    ```\n  - WhatExec.Cli.Lite:\n    ```bash\n    dotnet tool install --global WhatExec.Cli.Lite\n    ```\n\n- Per-user install:\n  ```bash\n  dotnet tool install --tool-path ~/.dotnet-tools WhatExec.Cli\n  ```\n\nUpdate:\n```bash\ndotnet tool update --global WhatExec.Cli\n```\n\nRun the tools:\n- Show help and available commands:\n  ```bash\n  whatexec --help\n  whatexec-lite --help\n  ```\n- Typical workflow:\n  - Use the CLI to search for an executable name, list matching files in PATH, or scan directories/drives for executables.\n  - See each CLI’s README for detailed subcommands and examples.\n\nSee the dedicated CLI READMEs for full usage and examples:\n- [WhatExec CLI README](https://github.com/alastairlundy/WhatExec/blob/main/src/WhatExecCli/README.md)\n- [WhatExec Lite CLI README](https://github.com/alastairlundy/WhatExec/blob/main/src/WhatExecLiteCli/README.md)\n\n\n## Libraries — WhatExec.Lib.*\n\nIf you want to embed executable-search functionality in your .NET application, use the WhatExec.Lib libraries.\n\n### WhatExec.Lib.Abstractions (Abstractions)\nInstall via NuGet:\n```bash\ndotnet add package WhatExec.Lib.Abstractions\n```\n\n- [WhatExec.Lib.Abstractions README](https://github.com/alastairlundy/whatexec/blob/main/src/WhatExecLib.Abstractions/README.md)\n\n### WhatExec.Lib (Main implementation)\nInstall via NuGet:\n```bash\ndotnet add package WhatExec.Lib\n```\n\nDocumentation and implementation details are available in the library README:\n- [WhatExec.Lib README](https://github.com/alastairlundy/whatexec/blob/main/src/WhatExecLib/README.md)\n\n\n### WhatExec.Lib.DependencyInjection\nInstall via NuGet:\n```bash\ndotnet add package WhatExec.Lib.DependencyInjection\n```\n\n\n\n## Features\n\n- CLI-first experience for quick interactive discovery of executables\n- Lightweight CLI for fast queries in constrained environments\n- Reusable C# libraries for integrating executable discovery into apps and tools\n- Search sources: PATH environment variable, specific directories, entire drives (configurable)\n\n(See each CLI and the library README for exact feature lists and platform notes.)\n\n\n## Examples\n\n- Install the CLI and run help to see commands:\n  ```bash\n  dotnet tool install --global WhatExec.Cli\n  whatexec --help\n  ```\n- Add the library to a project:\n  ```bash\n  dotnet add package WhatExec.Lib\n  ```\n\nFor concrete command examples and flags, consult:\n- [WhatExec CLI README](https://github.com/alastairlundy/WhatExec/blob/main/src/WhatExecCli/README.md)\n- [WhatExec Lite CLI README](https://github.com/alastairlundy/WhatExec/blob/main/src/WhatExecLiteCli/README.md)\n- [WhatExecLib README](https://github.com/alastairlundy/whatexec/blob/main/src/WhatExecLib/README.md)\n\n## Contributing\nContributions are welcome! Please follow the contribution guidelines:\n- [CONTRIBUTING.md](https://github.com/alastairlundy/whatexec/blob/main/CONTRIBUTING.md)\n\n## License\n\nThis project is licensed under the MPL 2.0 License. See the LICENSE file for details:\n- [LICENSE](https://github.com/alastairlundy/whatexec/blob/main/LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falastairlundy%2Fwhatexec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falastairlundy%2Fwhatexec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falastairlundy%2Fwhatexec/lists"}