[BUG] Unable to get local issuer certificate
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start by reproducing the reported npm install -g @gitlawb/openclaude@latest command and review the linked npm debug log. Trace the download request for microsoft/ripgrep-prebuilt through the package-manager wrapper and its certificate handling; done means the reported installation no longer fails with UNABLE_TO_GET_ISSUER_CERT_LOCALLY.
Written by the indexing model from the issue text.
Description
➜ openclaude git:(main) sfw -v
✔ downloading latest sfw binary...
Socket Firewall Free, version 1.8.0
➜ openclaude git:(main) npm install -g @gitlawb/openclaude@latest
Protected by Socket Firewall
npm warn deprecated [email protected]: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
npm error code 1
npm error path /opt/homebrew/lib/node_modules/@gitlawb/openclaude/node_modules/@vscode/ripgrep
npm error command failed
npm error command sh -c node ./lib/postinstall.js
npm error Finding release for v15.0.1
npm error GET https://api.github.com/repos/microsoft/ripgrep-prebuilt/releases/tags/v15.0.1
npm error Deleting invalid download cache
npm error Download attempt 1 failed, retrying in 2 seconds...
npm error Finding release for v15.0.1
npm error GET https://api.github.com/repos/microsoft/ripgrep-prebuilt/releases/tags/v15.0.1
npm error Deleting invalid download cache
npm error Download attempt 2 failed, retrying in 4 seconds...
npm error Finding release for v15.0.1
npm error GET https://api.github.com/repos/microsoft/ripgrep-prebuilt/releases/tags/v15.0.1
npm error Deleting invalid download cache
npm error Download attempt 3 failed, retrying in 8 seconds...
npm error Finding release for v15.0.1
npm error GET https://api.github.com/repos/microsoft/ripgrep-prebuilt/releases/tags/v15.0.1
npm error Deleting invalid download cache
npm error Download attempt 4 failed, retrying in 16 seconds...
npm error Finding release for v15.0.1
npm error GET https://api.github.com/repos/microsoft/ripgrep-prebuilt/releases/tags/v15.0.1
npm error Deleting invalid download cache
npm error Error: unable to get local issuer certificate
npm error at TLSSocket.onConnectSecure (node:internal/tls/wrap:1655:34)
npm error at TLSSocket.emit (node:events:509:20)
npm error at TLSSocket._finishInit (node:internal/tls/wrap:1101:8)
npm error at ssl.onhandshakedone (node:internal/tls/wrap:887:12) {
npm error code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY'
npm error }
npm error Error: unable to get local issuer certificate
npm error at TLSSocket.onConnectSecure (node:internal/tls/wrap:1655:34)
npm error at TLSSocket.emit (node:events:509:20)
npm error at TLSSocket._finishInit (node:internal/tls/wrap:1101:8)
npm error at ssl.onhandshakedone (node:internal/tls/wrap:887:12) {
npm error code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY'
npm error }
npm error Error: unable to get local issuer certificate
npm error at TLSSocket.onConnectSecure (node:internal/tls/wrap:1655:34)
npm error at TLSSocket.emit (node:events:509:20)
npm error at TLSSocket._finishInit (node:internal/tls/wrap:1101:8)
npm error at ssl.onhandshakedone (node:internal/tls/wrap:887:12) {
npm error code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY'
npm error }
npm error Error: unable to get local issuer certificate
npm error at TLSSocket.onConnectSecure (node:internal/tls/wrap:1655:34)
npm error at TLSSocket.emit (node:events:509:20)
npm error at TLSSocket._finishInit (node:internal/tls/wrap:1101:8)
npm error at ssl.onhandshakedone (node:internal/tls/wrap:887:12) {
npm error code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY'
npm error }
npm error Downloading ripgrep failed after multiple retries: Error: unable to get local issuer certificate
npm error at TLSSocket.onConnectSecure (node:internal/tls/wrap:1655:34)
npm error at TLSSocket.emit (node:events:509:20)
npm error at TLSSocket._finishInit (node:internal/tls/wrap:1101:8)
npm error at ssl.onhandshakedone (node:internal/tls/wrap:887:12)
npm error A complete log of this run can be found in: /Users/usernameeee/.npm/_logs/2026-05-03T08_22_25_401Z-debug-0.log
=== Socket Firewall ===
Warning: Socket Firewall did not detect any package fetch attempts
- Dominant language
- No language data
- Stars
- 271
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SocketDev/sfw-free
-
Difficulty 1/5 Under an hour Newbie friendliness 87/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in SocketDev/sfw-free
Similar issues
-
manually bump balena-preload to ^19.0.6Possibly taken @shaunmulligan claimed this today. Open
Difficulty 1/5 1-3 hours Newbie friendliness 66/100
balena-io/balena-cli#3200 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ranxianglei/billion-context#7858 ·
Maintainers usually reply within 1 day
-
Bash init calls `cygpath` unconditionally on Windows, which breaks non-Cygwin shells like `brush`Possibly taken @iliqiliev claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ajeetdsouza/zoxide#1381 ·
Maintainers usually reply within 5 days
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MakazhanAlpamys/Soup#3415 ·
Maintainers usually reply within 1 day