
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
gitlab-search
Advanced tools
This is a command line tool that allows you to search for contents across all your GitLab repositories. That's something GitLab doesn't provide out of the box for non-enterprise users, but is extremely valuable when needed.
This is a command line tool that allows you to search for contents across all your GitLab repositories. That's something GitLab doesn't provide out of the box for non-enterprise users, but is extremely valuable when needed.
read_api scope.$ npm install -g gitlab-search
To finish the installation you need to configure the personal access token you've created previously:
$ gitlab-search setup <your personal access token>
That will create a .gitlabsearchrc file in the current directory. That configuration file can be placed
in different places on your machine, valid locations are described in the rc package's README.
You can decide where that file is saved when invoking the setup command, see more details in its help:
$ gitlab-search setup --help
Searching through all the repositories you've got access to:
$ gitlab-search [options] [command] <search-term>
Options:
-V, --version output the version number
-g, --groups <group-names> group(s) to find repositories in (separated with comma)
-f, --filename <filename> only search for contents in given a file, glob matching with wildcards (*)
-e, --extension <file-extension> only search for contents in files with given extension
-p, --path <path> only search in files in the given path
-h, --help output usage information
Commands:
setup [options] <personal-access-token> create configuration file
To search a self-hosted installation of GitLab, setup has options for, among other things, setting a custom domain:
$ gitlab-search setup --help
Usage: setup [options] <personal-access-token>
create configuration file
Options:
--ignore-ssl ignore invalid SSL certificate from the GitLab API server
--api-domain <name> domain name or root URL of GitLab API server,
specify root URL (without trailing slash) to use HTTP instead of HTTPS (default: "gitlab.com")
--dir <path> path to directory to save configuration file in (default: ".")
-h, --help display help for command
If something seems fishy or you're just curious what gitlab-search does under the hood, enabling debug logging helps:
$ DEBUG=1 gitlab-search here-is-my-search-term
Requesting: GET https://gitlab.com/api/v4/groups?per_page=100
Using groups: name-of-group1, name-of-group2
Requesting: GET https://gitlab.com/api/v4/groups/42/projects?per_page=100
Requesting: GET https://gitlab.com/api/v4/groups/1337/projects?per_page=100
Using projects: hello-world, my-awesome-website.com
Requesting: GET https://gitlab.com/api/v4/projects/666/search?scope=blobs&search=here-is-my-search-term
Requesting: GET https://gitlab.com/api/v4/projects/999/search?scope=blobs&search=here-is-my-search-term
MIT
FAQs
This is a command line tool that allows you to search for contents across all your GitLab repositories. That's something GitLab doesn't provide out of the box for non-enterprise users, but is extremely valuable when needed.
The npm package gitlab-search receives a total of 64 weekly downloads. As such, gitlab-search popularity was classified as not popular.
We found that gitlab-search demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.