René's URL Explorer Experiment


Title: Console: any local process can obtain the token, and /v1/sys/opt mutates the machine with no flag · Issue #6 · DevCop95/pullgoscript · GitHub

Open Graph Title: Console: any local process can obtain the token, and /v1/sys/opt mutates the machine with no flag · Issue #6 · DevCop95/pullgoscript

X Title: Console: any local process can obtain the token, and /v1/sys/opt mutates the machine with no flag · Issue #6 · DevCop95/pullgoscript

Description: Both found by deploying the console locally and driving the entire route table over raw sockets (29 routes, Host/Origin/token/flag combinations, WS handshake plus a live broadcast frame). Neither is remotely exploitable; both need local ...

Open Graph Description: Both found by deploying the console locally and driving the entire route table over raw sockets (29 routes, Host/Origin/token/flag combinations, WS handshake plus a live broadcast frame). Neither i...

X Description: Both found by deploying the console locally and driving the entire route table over raw sockets (29 routes, Host/Origin/token/flag combinations, WS handshake plus a live broadcast frame). Neither i...

Opengraph URL: https://github.com/DevCop95/pullgoscript/issues/6

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Console: any local process can obtain the token, and /v1/sys/opt mutates the machine with no flag","articleBody":"Both found by deploying the console locally and driving the entire route table\nover raw sockets (29 routes, `Host`/`Origin`/token/flag combinations, WS\nhandshake plus a live broadcast frame). Neither is remotely exploitable; both\nneed local access. Neither is fixed — they are design decisions rather than\nbugs, so they need your call before anyone writes code.\n\n## 1. Any local process can obtain the token (🟡 on shared hosts)\n\n`GET /` returns the dashboard with the per-run token baked into the HTML, and\nthat route is guarded only by the loopback `Host` check. There is no token\nrequirement to *fetch* the token.\n\nSo any process that can reach `127.0.0.1:8080` can read the token and then call\n`POST /v1/sys/cmd` to run commands as the user running the console. Loopback is\nmachine-scoped, not user-scoped, so this includes a process running as a\n*different local user* on a shared or RDP host. My test client did exactly this\nas its step 0, with no credentials, and then used the token for the other 34\nchecks.\n\n`SECURITY.md` puts \"the operator console once the token holder is trusted\" out\nof scope, which is coherent for the intended single-user workstation — but the\ntoken is handed to whoever asks, so \"the token holder\" is not a smaller set than\n\"anyone with local access\", and the docs do not say which deployment is\nsupported.\n\nOptions, cheapest first:\n\n- **(a) Document the boundary.** State plainly that any local process or user\n  can obtain the token and that the console is single-user only. Honest, zero\n  code, and probably sufficient for how the tool is actually used.\n- **(b) Stop embedding the token in the HTML.** Have the operator paste it once\n  into a form, and set a same-origin cookie from that. The full token is already\n  printed to the process's console at startup, and a console is\n  session-scoped — another local user cannot read it. This makes the token mean\n  something against a local attacker instead of only against a rebinding page.\n- **(c) Named pipe with a security descriptor** naming the invoking user's SID.\n  The real fix if multi-user operation is ever a goal; loopback TCP cannot\n  express per-user access on its own.\n\nRecommendation: (b), with (a) written into `SECURITY.md` either way.\n\n## 2. `POST /v1/sys/opt` changes the machine with no flag and no body (🟢)\n\n`handleTweaks` does not parse a request body at all — it calls\n`winutil.ApplyTelemetryTweaks()` and returns the results. That function writes\nto HKLM (`DataCollection\\AllowTelemetry=0`, `Windows Error Reporting\\Disabled=1`,\n`Explorer\\Advanced\\Start_TrackProgs=0`) and runs\n`sc stop DiagTrack` + `sc config DiagTrack start=disabled`.\n\nEvery other capability that changes the machine requires an explicit\n`--enable-*` at startup. This one needs only the token, and there is no way for\nthe operator to see what is about to be applied before it is applied. It is\ncovered by the opening sentence of `SECURITY.md` (\"…can execute commands,\nmodify registry policy…\") but not by the **Known intentional capabilities**\nlist, and the threat-model table implies module flags for state-changing\nendpoints.\n\nOptions:\n\n- Gate it behind a flag (`--enable-tweaks`) like persist/lateral/evasion, or\n- keep it always-on but add it to the documented capability list **and** split\n  it into a dry-run (`GET`, returns what would change) plus an apply (`POST`).\n\nThe tweaks are idempotent, reversible and privacy-hardening, so documenting it\nmay well be enough — the problem is the mismatch between what the docs promise\nand what the code gates.\n\n## 3. A failed enumeration reads as \"no footholds\" (🟢)\n\nRelated, found in the same pass and worth recording while it is fresh:\n`listTasks` and `listWMI` discard every error and return `nil`, so\n`GET /v1/sys/persist` renders an empty table when the question could not be\nasked — indistinguishable from a genuinely clean host. That is a false negative\nin an audit tool, and the liveness bound added in #6 adds one more way to reach\nit (a 20s timeout collapses to the same empty list). Fix: carry the error out of\n`List()` and render \"could not enumerate\" rather than an empty foothold table.\n","author":{"url":"https://github.com/DevCop95","@type":"Person","name":"DevCop95"},"datePublished":"2026-10-17T17:21:26Z","url":"https://github.com/DevCop95/pullgoscript/issues/6"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:049076dc-b658-1dc0-a7c8-1dd3490c5745
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA96A:240CD1:1E00385:261E440:6B0162E0
html-safe-noncef258ac13a72cb64d01510cb55587f4972198ebc93a919324ec43a72e698728d3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTZBOjI0MENEMToxRTAwMzg1OjI2MUU0NDA6NkIwMTYyRTAiLCJ2aXNpdG9yX2lkIjoiNjUxNzA1NTA5ODk1NzQyMzMyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4de710bef4b1fa834de66835840fdd30975f48698bc848ac7f71bc0298fef351
hovercard-subject-tagissue:5901070708
github-keyboard-shortcutsrepository,issues,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/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DevCop95/pullgoscript/6/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4b73c438e7cb9ff7bf6f46277731183eea4b9b52737a2a7550272f3a33ae22bb/DevCop95/pullgoscript/issues/6
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4b73c438e7cb9ff7bf6f46277731183eea4b9b52737a2a7550272f3a33ae22bb/DevCop95/pullgoscript/issues/6
og:image:altBoth found by deploying the console locally and driving the entire route table over raw sockets (29 routes, Host/Origin/token/flag combinations, WS handshake plus a live broadcast frame). Neither i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDevCop95
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/DevCop95/pullgoscript git https://github.com/DevCop95/pullgoscript.git
octolytics-dimension-user_id264654485
octolytics-dimension-user_loginDevCop95
octolytics-dimension-repository_id1219633421
octolytics-dimension-repository_nwoDevCop95/pullgoscript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1219633421
octolytics-dimension-repository_network_root_nwoDevCop95/pullgoscript
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/DevCop95/pullgoscript/issues/6#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDevCop95%2Fpullgoscript%2Fissues%2F6
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDevCop95%2Fpullgoscript%2Fissues%2F6
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=DevCop95%2Fpullgoscript
Reloadhttps://github.com/DevCop95/pullgoscript/issues/6
Reloadhttps://github.com/DevCop95/pullgoscript/issues/6
Reloadhttps://github.com/DevCop95/pullgoscript/issues/6
DevCop95https://github.com/DevCop95
pullgoscripthttps://github.com/DevCop95/pullgoscript
Codehttps://github.com/DevCop95/pullgoscript
Issueshttps://github.com/DevCop95/pullgoscript/issues
Pull requests1 (1)https://github.com/DevCop95/pullgoscript/pulls
Actionshttps://github.com/DevCop95/pullgoscript/actions
Projectshttps://github.com/DevCop95/pullgoscript/projects
Security and qualityhttps://github.com/DevCop95/pullgoscript/security
Insightshttps://github.com/DevCop95/pullgoscript/pulse
https://github.com/DevCop95/pullgoscript
New issuehttps://github.com/login?return_to=https://github.com/DevCop95/pullgoscript/issues/6
New issuehttps://github.com/login?return_to=https://github.com/DevCop95/pullgoscript/issues/6
Console: any local process can obtain the token, and /v1/sys/opt mutates the machine with no flaghttps://github.com/DevCop95/pullgoscript/issues/6#top
enhancementNew feature or requesthttps://github.com/DevCop95/pullgoscript/issues?q=state%3Aopen%20label%3A%22enhancement%22
securitySecurity hardening and assurancehttps://github.com/DevCop95/pullgoscript/issues?q=state%3Aopen%20label%3A%22security%22
https://github.com/DevCop95
DevCop95https://github.com/DevCop95
on Oct 17, 2026https://github.com/DevCop95/pullgoscript/issues/6#issue-5901070708
#6https://github.com/DevCop95/pullgoscript/issues/6
DevCop95https://github.com/DevCop95
enhancementNew feature or requesthttps://github.com/DevCop95/pullgoscript/issues?q=state%3Aopen%20label%3A%22enhancement%22
securitySecurity hardening and assurancehttps://github.com/DevCop95/pullgoscript/issues?q=state%3Aopen%20label%3A%22security%22
on Oct 17, 2026https://github.com/DevCop95/pullgoscript/issues/6#event-33531681157
DevCop95https://github.com/DevCop95
on Oct 17, 2026https://github.com/DevCop95/pullgoscript/issues/6#event-33534177924
docs(site): add a browsable reference site for GitHub Pages (#8)https://github.com/DevCop95/pullgoscript/commit/41fda4d84b8f4529b35c4f21edd369da6b8b0a69
#8https://github.com/DevCop95/pullgoscript/pull/8
41fda4dhttps://github.com/DevCop95/pullgoscript/commit/41fda4d84b8f4529b35c4f21edd369da6b8b0a69
DevCop95https://github.com/DevCop95
completedhttps://github.com/DevCop95/pullgoscript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
1ea400fhttps://github.com/DevCop95/pullgoscript/commit/1ea400fe0c889806df7c4fbcae1fb72f041eef06
on Oct 18, 2026https://github.com/DevCop95/pullgoscript/issues/6#event-33555679357
https://github.com/DevCop95
DevCop95https://github.com/DevCop95
on Oct 18, 2026https://github.com/DevCop95/pullgoscript/issues/6#issuecomment-6245833114
Sign up for freehttps://github.com/signup?return_to=https://github.com/DevCop95/pullgoscript/issues/6
Sign in to commenthttps://github.com/login?return_to=https://github.com/DevCop95/pullgoscript/issues/6
enhancementNew feature or requesthttps://github.com/DevCop95/pullgoscript/issues?q=state%3Aopen%20label%3A%22enhancement%22
securitySecurity hardening and assurancehttps://github.com/DevCop95/pullgoscript/issues?q=state%3Aopen%20label%3A%22security%22
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.