René's URL Explorer Experiment


Title: feat(api): add User-Agent header to raw apiFetch calls by bcomnes · Pull Request #1320 · SocketDev/socket-cli · GitHub

Open Graph Title: feat(api): add User-Agent header to raw apiFetch calls by bcomnes · Pull Request #1320 · SocketDev/socket-cli

X Title: feat(api): add User-Agent header to raw apiFetch calls by bcomnes · Pull Request #1320 · SocketDev/socket-cli

Description: Command-line interface for socket.dev security analysis - feat(api): add User-Agent header to raw apiFetch calls by bcomnes · Pull Request #1320 · SocketDev/socket-cli

Open Graph Description: Add getCliUserAgent() to sdk.mts that builds the CLI's full user agent string for direct (non-SDK) API calls, including the CLI product token, Node.js version, and OS platform/arch: socket/1.1....

X Description: Add getCliUserAgent() to sdk.mts that builds the CLI's full user agent string for direct (non-SDK) API calls, including the CLI product token, Node.js version, and OS platform/arch: socket/...

Opengraph URL: https://github.com/SocketDev/socket-cli/pull/1320

X: @github

direct link

Domain: redirect.github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:471dff97-7b79-bb10-1df9-429e7be18ae1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCB66:31CFDC:E8975D:13F29FC:6A4D5EBB
html-safe-nonced98abfb6f5f03940c8167a5e847f0e12144165dad93612b10fd57523b1a345b3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjY2OjMxQ0ZEQzpFODk3NUQ6MTNGMjlGQzo2QTRENUVCQiIsInZpc2l0b3JfaWQiOiI0NzAyMDA1NTU3NDkzMzI1NDk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2a81825501bba731e2f280125e899fefa2e6a3da0f89e9aa9a0f23fdfdc7a591
hovercard-subject-tagpull_request:3713081424
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/SocketDev/socket-cli/1320/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e70d52f1d883c689760278ededa1aecf275ddcc20128a9f08b8029edb0315f52/SocketDev/socket-cli/pull/1320
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e70d52f1d883c689760278ededa1aecf275ddcc20128a9f08b8029edb0315f52/SocketDev/socket-cli/pull/1320
og:image:altAdd getCliUserAgent() to sdk.mts that builds the CLI's full user agent string for direct (non-SDK) API calls, including the CLI product token, Node.js version, and OS platform/arch: socket/1.1....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebcomnes
hostnamegithub.com
expected-hostnamegithub.com
Nonee6658d7c7808aeed776f841e0839b885fce343c9b96244be612c779298e7661e
turbo-cache-controlno-cache
go-importgithub.com/SocketDev/socket-cli git https://github.com/SocketDev/socket-cli.git
octolytics-dimension-user_id69326764
octolytics-dimension-user_loginSocketDev
octolytics-dimension-repository_id554765897
octolytics-dimension-repository_nwoSocketDev/socket-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id554765897
octolytics-dimension-repository_network_root_nwoSocketDev/socket-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea438513d3a22ffcd713795ed948c3e5525007665
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/SocketDev/socket-cli/pull/1320#start-of-content
https://redirect.github.com/
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSocketDev%2Fsocket-cli%2Fpull%2F1320
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSocketDev%2Fsocket-cli%2Fpull%2F1320
Sign up https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=SocketDev%2Fsocket-cli
Reloadhttps://redirect.github.com/SocketDev/socket-cli/pull/1320
Reloadhttps://redirect.github.com/SocketDev/socket-cli/pull/1320
Reloadhttps://redirect.github.com/SocketDev/socket-cli/pull/1320
Please reload this pagehttps://redirect.github.com/SocketDev/socket-cli/pull/1320
SocketDev https://redirect.github.com/SocketDev
socket-clihttps://redirect.github.com/SocketDev/socket-cli
Notifications https://redirect.github.com/login?return_to=%2FSocketDev%2Fsocket-cli
Fork 52 https://redirect.github.com/login?return_to=%2FSocketDev%2Fsocket-cli
Star 291 https://redirect.github.com/login?return_to=%2FSocketDev%2Fsocket-cli
Code https://redirect.github.com/SocketDev/socket-cli
Issues 13 https://redirect.github.com/SocketDev/socket-cli/issues
Pull requests 4 https://redirect.github.com/SocketDev/socket-cli/pulls
Actions https://redirect.github.com/SocketDev/socket-cli/actions
Models https://redirect.github.com/SocketDev/socket-cli/models
Security and quality 0 https://redirect.github.com/SocketDev/socket-cli/security
Insights https://redirect.github.com/SocketDev/socket-cli/pulse
Code https://redirect.github.com/SocketDev/socket-cli
Issues https://redirect.github.com/SocketDev/socket-cli/issues
Pull requests https://redirect.github.com/SocketDev/socket-cli/pulls
Actions https://redirect.github.com/SocketDev/socket-cli/actions
Models https://redirect.github.com/SocketDev/socket-cli/models
Security and quality https://redirect.github.com/SocketDev/socket-cli/security
Insights https://redirect.github.com/SocketDev/socket-cli/pulse
Bret Comnes (bcomnes)https://redirect.github.com/bcomnes
v1.xhttps://redirect.github.com/SocketDev/socket-cli/tree/v1.x
user-agenthttps://redirect.github.com/SocketDev/socket-cli/tree/user-agent
Conversationhttps://redirect.github.com/SocketDev/socket-cli/pull/1320
Commits4 (4)https://redirect.github.com/SocketDev/socket-cli/pull/1320/commits
Checkshttps://redirect.github.com/SocketDev/socket-cli/pull/1320/checks
Files changedhttps://redirect.github.com/SocketDev/socket-cli/pull/1320/files
feat(api): add User-Agent header to raw apiFetch callshttps://redirect.github.com/SocketDev/socket-cli/pull/1320#top
Bret Comnes (bcomnes)https://redirect.github.com/bcomnes
v1.xhttps://redirect.github.com/SocketDev/socket-cli/tree/v1.x
user-agenthttps://redirect.github.com/SocketDev/socket-cli/tree/user-agent
https://redirect.github.com/bcomnes
Bret Comnes (bcomnes)https://redirect.github.com/bcomnes
May 20, 2026https://redirect.github.com/SocketDev/socket-cli/pull/1320#issue-4482307287
Please reload this pagehttps://redirect.github.com/SocketDev/socket-cli/pull/1320
SocketDev/socket-sdk-js#638https://github.com/SocketDev/socket-sdk-js/pull/638
https://github.com/coana-tech/coana-package-manager/pull/2225https://github.com/coana-tech/coana-package-manager/pull/2225
Cursor Bugbothttps://cursor.com/bugbot
3778a64https://github.com/SocketDev/socket-cli/commit/3778a647c87e384cc27b974cf754cbf797ca0324
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://redirect.github.com/SocketDev/socket-cli/pull/1320
Bret Comnes (bcomnes)https://redirect.github.com/bcomnes
May 19, 2026 18:00https://redirect.github.com/SocketDev/socket-cli/pull/1320#commits-pushed-49eeea3
https://redirect.github.com/bcomnes
feat(api): add User-Agent header to raw apiFetch callshttps://redirect.github.com/SocketDev/socket-cli/pull/1320/commits/49eeea3786941a29c2260a8920f69d084461b8c1
49eeea3https://redirect.github.com/SocketDev/socket-cli/pull/1320/commits/49eeea3786941a29c2260a8920f69d084461b8c1
https://redirect.github.com/bcomnes
feat(dlx): pass SOCKET_CALLER_USER_AGENT when spawning coanahttps://redirect.github.com/SocketDev/socket-cli/pull/1320/commits/3778a647c87e384cc27b974cf754cbf797ca0324
3778a64https://redirect.github.com/SocketDev/socket-cli/pull/1320/commits/3778a647c87e384cc27b974cf754cbf797ca0324
https://redirect.github.com/apps/copilot-pull-request-reviewer
Copilothttps://redirect.github.com/apps/copilot-pull-request-reviewer
May 20, 2026 01:12https://redirect.github.com/SocketDev/socket-cli/pull/1320#event-25734418757
started reviewinghttps://github.com/SocketDev/socket-cli/sessions/ae1615e1-43f7-416a-9d77-52b7be52f543
Bret Comnes (bcomnes)https://redirect.github.com/bcomnes
May 20, 2026 01:12https://redirect.github.com/SocketDev/socket-cli/pull/1320#event-25734431259
View session https://github.com/SocketDev/socket-cli/sessions/ae1615e1-43f7-416a-9d77-52b7be52f543
https://redirect.github.com/apps/copilot-pull-request-reviewer
Copilothttps://redirect.github.com/apps/copilot-pull-request-reviewer
May 20, 2026 https://redirect.github.com/SocketDev/socket-cli/pull/1320#pullrequestreview-4324539947
View reviewed changes https://redirect.github.com/SocketDev/socket-cli/pull/1320/files/3778a647c87e384cc27b974cf754cbf797ca0324
Copilothttps://redirect.github.com/apps/copilot-pull-request-reviewer
https://redirect.github.com/SocketDev/socket-cli/pull/1320#pullrequestreview-4324539947
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://redirect.github.com/SocketDev/socket-cli/new/v1.x?filename=.github/instructions/*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://redirect.github.com/SocketDev/socket-cli/pull/1320
src/utils/api.mtshttps://redirect.github.com/SocketDev/socket-cli/pull/1320/files/3778a647c87e384cc27b974cf754cbf797ca0324#diff-c2d21bdd07fb44bb14379bc8e23b80250a7ef8351ce3da0dc656906bdb983cb5
Please reload this pagehttps://redirect.github.com/SocketDev/socket-cli/pull/1320
src/utils/sdk.mtshttps://redirect.github.com/SocketDev/socket-cli/pull/1320/files/3778a647c87e384cc27b974cf754cbf797ca0324#diff-eced687e5b25bc76d70032297612f4b3aa994dbecd4058076e92aff5717328ef
Please reload this pagehttps://redirect.github.com/SocketDev/socket-cli/pull/1320
src/utils/dlx.mtshttps://redirect.github.com/SocketDev/socket-cli/pull/1320/files/3778a647c87e384cc27b974cf754cbf797ca0324#diff-a8bac94d1458cbaf1a643e713bd2869c346386ca3d4537c3167193fed2677c2a
Please reload this pagehttps://redirect.github.com/SocketDev/socket-cli/pull/1320
https://redirect.github.com/bcomnes
Bret Comnes (bcomnes)https://redirect.github.com/bcomnes
John-David Dalton (jdalton)https://redirect.github.com/jdalton
July 6, 2026 17:53https://redirect.github.com/SocketDev/socket-cli/pull/1320#event-27623495128
https://redirect.github.com/bcomnes
Bret Comnes (bcomnes)https://redirect.github.com/bcomnes
Jul 6, 2026https://redirect.github.com/SocketDev/socket-cli/pull/1320#issuecomment-4895981969
John-David Dalton (@jdalton)https://github.com/jdalton
Please reload this pagehttps://redirect.github.com/SocketDev/socket-cli/pull/1320
John-David Dalton (jdalton)https://redirect.github.com/jdalton
July 7, 2026 13:20https://redirect.github.com/SocketDev/socket-cli/pull/1320#commits-pushed-0ce031b
https://redirect.github.com/jdalton
Merge remote-tracking branch 'origin/v1.x' into user-agenthttps://redirect.github.com/SocketDev/socket-cli/pull/1320/commits/0ce031bd50c7e844824ed48af668ccbb6925844b
0ce031bhttps://redirect.github.com/SocketDev/socket-cli/pull/1320/commits/0ce031bd50c7e844824ed48af668ccbb6925844b
https://redirect.github.com/jdalton
test(api): cover cli user-agent header + coana env injectionhttps://redirect.github.com/SocketDev/socket-cli/pull/1320/commits/3d865a28d29368f6d5dadd9befb6e7d44a730e78
3d865a2https://redirect.github.com/SocketDev/socket-cli/pull/1320/commits/3d865a28d29368f6d5dadd9befb6e7d44a730e78
https://redirect.github.com/jdalton
John-David Dalton (jdalton)https://redirect.github.com/jdalton
Jul 7, 2026https://redirect.github.com/SocketDev/socket-cli/pull/1320#issuecomment-4906893049
Please reload this pagehttps://redirect.github.com/SocketDev/socket-cli/pull/1320
https://redirect.github.com/jdalton
John-David Dalton (jdalton)https://redirect.github.com/jdalton
Jul 7, 2026 https://redirect.github.com/SocketDev/socket-cli/pull/1320#pullrequestreview-4647652755
View reviewed changes https://redirect.github.com/SocketDev/socket-cli/pull/1320/files/3d865a28d29368f6d5dadd9befb6e7d44a730e78
https://github.co/hiddenchars
https://redirect.github.com/SocketDev/socket-cli/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSocketDev%2Fsocket-cli%2Fpull%2F1320
Copilot code review https://redirect.github.com/apps/copilot-pull-request-reviewer
Copilot https://redirect.github.com/apps/copilot-pull-request-reviewer
https://redirect.github.com/SocketDev/socket-cli/pull/1320/files/3778a647c87e384cc27b974cf754cbf797ca0324
https://redirect.github.com/jdalton
John-David Dalton (jdalton) https://redirect.github.com/jdalton
https://redirect.github.com/SocketDev/socket-cli/pull/1320/files/3d865a28d29368f6d5dadd9befb6e7d44a730e78
Please reload this pagehttps://redirect.github.com/SocketDev/socket-cli/pull/1320
https://redirect.github.com/bcomnes
https://redirect.github.com/jdalton
https://redirect.github.com/apps/copilot-pull-request-reviewer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.