René's URL Explorer Experiment


Title: security(cold-store-reaper): PR #976's curl S3 fallback passes the R2 secret in argv — the pattern #948/#970 removed the same day · Issue #983 · developing-today/code · GitHub

Open Graph Title: security(cold-store-reaper): PR #976's curl S3 fallback passes the R2 secret in argv — the pattern #948/#970 removed the same day · Issue #983 · developing-today/code

X Title: security(cold-store-reaper): PR #976's curl S3 fallback passes the R2 secret in argv — the pattern #948/#970 removed the same day · Issue #983 · developing-today/code

Description: Finding PR #976 (merged 2026-10-26, fix(cold-store-reaper): curl fallback for S3 downloads urllib cannot deliver) added a curl fallback for S3 downloads in pkgs/cold-store-reaper/cold_store.py. The fallback passes the R2 credentials to c...

Open Graph Description: Finding PR #976 (merged 2026-10-26, fix(cold-store-reaper): curl fallback for S3 downloads urllib cannot deliver) added a curl fallback for S3 downloads in pkgs/cold-store-reaper/cold_store.py. The...

X Description: Finding PR #976 (merged 2026-10-26, fix(cold-store-reaper): curl fallback for S3 downloads urllib cannot deliver) added a curl fallback for S3 downloads in pkgs/cold-store-reaper/cold_store.py. The...

Opengraph URL: https://github.com/developing-today/code/issues/983

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"security(cold-store-reaper): PR #976's curl S3 fallback passes the R2 secret in argv — the pattern #948/#970 removed the same day","articleBody":"## Finding\n\nPR #976 (merged 2026-10-26, `fix(cold-store-reaper): curl fallback for S3 downloads urllib cannot deliver`) added a curl fallback for S3 downloads in `pkgs/cold-store-reaper/cold_store.py`. The fallback passes the R2 credentials to curl as a command-line argument:\n\n- `cold_store.py` `_curl_fetch` (on current main `d715adf9`, ~lines 1526–1545) builds `argv = [curl, \"-sS\", \"--fail\", \"--aws-sigv4\", \"aws:amz:auto:s3\", \"--user\", f\"{access}:{secret}\", url]` and runs it with `subprocess.run`. The docstring acknowledges it: \"Credentials travel in argv — the local process list sees them, as with any credentialed CLI\".\n- Introduced in PR #976, commit `14617a5958` (`fix(cold-store-reaper): curl fallback for S3 downloads urllib cannot deliver`).\n\nAny local process can read another process's argv (`ps`, `/proc/\u003cpid>/cmdline`), so the bucket-scoped `R2_SECRET_ACCESS_KEY` is exposed for the whole duration of the download — and this fallback exists specifically for the *large* objects, with `S3_CURL_TIMEOUT_SECONDS = 900`, so the exposure window can be minutes long. The PR does scrub the credentials from error text, but that does not address the argv exposure itself.\n\n## Why it matters\n\nThis is the exact pattern this repo removed the same day, twice:\n\n- Issue #948 / PR #970 (merged ~1 hour before #976): the fleet-feed push's socat `ProxyCommand` embedded `proxyauth=\u003cuser>:\u003cpw>` in process argv; the fix replaced it with an in-process CONNECT relay that keeps the credential off every process's argv, and added `pm-stack/aggregator/scripts/push-fleet-feed.guard.sh`, whose stated rule is: \"proxy credential must never be an argv token\". That guard only covers `push-fleet-feed.sh`, so #976's reintroduction in another package was not caught.\n- The scrubbing in #976 protects logs, not the process list — the leak channel #948 was about.\n\nFix direction (triage decides): keep the credential out of argv — e.g. hand curl its config via a stdin config (`curl -K -` / `--config` from a pipe or a mode-600 temp file that is unlinked after use, with `user = \"access:secret\"` inside), or sign the request in-process like the urllib path already does and let curl send a pre-signed request, or another mechanism the worker verifies. The byte-count verification and the one-attempt semantics of the fallback must stay.\n\n## Acceptance criteria\n\n- [ ] The R2 access key / secret never appear in any spawned process's argv on the curl fallback path (verifiable: a test stubs `subprocess.run` — or inspects the spawned argv — and asserts neither credential value is present in any argv element).\n- [ ] The curl fallback still works end-to-end: existing `TestS3CurlFallback` coverage (fallback only after urllib exhaustion, byte-count verified against caller size or HEAD, errors scrubbed and named) passes, updated for the new credential channel.\n- [ ] Credentials remain scrubbed from all error text raised on this path.\n- [ ] Consider a repo-level guard in the spirit of `push-fleet-feed.guard.sh` so a `--user \u003caccess>:\u003csecret>`-style argv pattern in `cold_store.py` fails a check instead of relying on review to catch it.\n- [ ] The `_curl_fetch` docstring / README wording no longer presents argv credentials as acceptable.\n\nFound by the pr-diff-review job reviewing PR #976 against current main.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-26T15:32:43Z","url":"https://github.com/developing-today/code/issues/983"}

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:5c5d8f0f-2366-de81-ad9d-530d03be5845
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id925E:17B76C:7F79E0:A53A20:6B062C9D
html-safe-nonce31287e7a36d7c88e200b3c123be47a5cefafc3263094a3f4abe963f1375d44eb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjVFOjE3Qjc2Qzo3Rjc5RTA6QTUzQTIwOjZCMDYyQzlEIiwidmlzaXRvcl9pZCI6IjU4NzgyNjY4Njc4ODE0ODc1MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf254525cf84569b60a255e2832de1ddc90ddf115c002640fa4dda9e938a0bbba
hovercard-subject-tagissue:6042863617
github-keyboard-shortcutsrepository,issues,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/developing-today/code/983/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a15a1a2d94fc0662d1f0e4f8e5b29f8b980ce8478ac99f66aa62e5da83c97068/developing-today/code/issues/983
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a15a1a2d94fc0662d1f0e4f8e5b29f8b980ce8478ac99f66aa62e5da83c97068/developing-today/code/issues/983
og:image:altFinding PR #976 (merged 2026-10-26, fix(cold-store-reaper): curl fallback for S3 downloads urllib cannot deliver) added a curl fallback for S3 downloads in pkgs/cold-store-reaper/cold_store.py. The...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
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
release494ea0bb1e0feef734a83e2628697647755e8864
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/983#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F983
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%2Fdeveloping-today%2Fcode%2Fissues%2F983
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=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/983
Reloadhttps://github.com/developing-today/code/issues/983
Reloadhttps://github.com/developing-today/code/issues/983
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests150 (150)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/983
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/983
#986https://github.com/developing-today/code/pull/986
security(cold-store-reaper): PR #976's curl S3 fallback passes the R2 secret in argv — the pattern #948/#970 removed the same dayhttps://github.com/developing-today/code/issues/983#top
#986https://github.com/developing-today/code/pull/986
https://github.com/dezren39
app/cold-store-reaperhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fcold-store-reaper%22
kind/securityhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fsecurity%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/983#issue-6042863617
#976https://github.com/developing-today/code/pull/976
fix(cold-store-reaper): curl fallback for S3 downloads urllib cannot deliver #976https://github.com/developing-today/code/pull/976
security(aggregator): fleet-feed push exposes the proxy credential in process argv and disables SSH host-key verification #948https://github.com/developing-today/code/issues/948
security(aggregator): keep fleet-feed proxy credential off argv, pin laptop host key #970https://github.com/developing-today/code/pull/970
fix(cold-store-reaper): curl fallback for S3 downloads urllib cannot deliver #976https://github.com/developing-today/code/pull/976
fix(cold-store-reaper): curl fallback for S3 downloads urllib cannot deliver #976https://github.com/developing-today/code/pull/976
fix(cold-store-reaper): curl fallback for S3 downloads urllib cannot deliver #976https://github.com/developing-today/code/pull/976
security(aggregator): fleet-feed push exposes the proxy credential in process argv and disables SSH host-key verification #948https://github.com/developing-today/code/issues/948
#976https://github.com/developing-today/code/pull/976
Nexthttps://github.com/developing-today/code/issues/983?timeline_page=1
dezren39https://github.com/dezren39
kind/securityhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fsecurity%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
app/cold-store-reaperhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fcold-store-reaper%22
on Oct 26, 2026https://github.com/developing-today/code/issues/983#event-34275576903
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Oct 26, 2026https://github.com/developing-today/code/issues/983#issuecomment-6420050949
developing.todayhttps://kaneo.security.cab
CODE-168https://kaneo.security.cab/dashboard/workspace/6oQgIkST0YGrCcxrnhbHPOUCfgdD3cqE/project/pfcq432h349r20up18gttfv4/task/rr7tr4mxkyc2h2vzbc7nx4wv
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/983#event-34275589559
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/983#issuecomment-6420058173
fix(cold-store-reaper): curl fallback for S3 downloads urllib cannot deliver #976https://github.com/developing-today/code/pull/976
security(aggregator): fleet-feed push exposes the proxy credential in process argv and disables SSH host-key verification #948https://github.com/developing-today/code/issues/948
security(aggregator): keep fleet-feed proxy credential off argv, pin laptop host key #970https://github.com/developing-today/code/pull/970
fix(cold-store-reaper): curl fallback for S3 downloads urllib cannot deliver #976https://github.com/developing-today/code/pull/976
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Oct 26, 2026https://github.com/developing-today/code/issues/983#event-34278460157
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Oct 26, 2026https://github.com/developing-today/code/issues/983#event-34278763964
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/983#issuecomment-6420783321
security(cold-store-reaper): PR #976's curl S3 fallback passes the R2 secret in argv — the pattern #948/#970 removed the same day #983https://github.com/developing-today/code/issues/983
developing-todayhttps://github.com/apps/developing-today
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%22
on Oct 26, 2026https://github.com/developing-today/code/issues/983#event-34279054049
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/983#event-34279236911
style(cold-store-reaper): ruff format the argv guard test (#983)https://github.com/developing-today/code/commit/b136c03c970094f10fd1bdf8ca4f127b4785f0a1
#983https://github.com/developing-today/code/issues/983
b136c03https://github.com/developing-today/code/commit/b136c03c970094f10fd1bdf8ca4f127b4785f0a1
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#986https://github.com/developing-today/code/pull/986
on Oct 26, 2026https://github.com/developing-today/code/issues/983#event-34279436165
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/983#event-34279436900
Merge pull request #986 from developing-today/queue/1139-983-curl-std…https://github.com/developing-today/code/commit/e3467560b76da5f3898f5bec52ed560401162e02
#986https://github.com/developing-today/code/pull/986
e346756https://github.com/developing-today/code/commit/e3467560b76da5f3898f5bec52ed560401162e02
developing-todayhttps://github.com/apps/developing-today
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%22
on Oct 26, 2026https://github.com/developing-today/code/issues/983#event-34279440301
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/983#issuecomment-6420949053
fix(cold-store-reaper): keep R2 secret out of curl argv via stdin config (#983) #986https://github.com/developing-today/code/pull/986
e346756https://github.com/developing-today/code/commit/e3467560b76da5f3898f5bec52ed560401162e02
fix(cold-store-reaper): keep R2 secret out of curl argv via stdin config (#983) #986https://github.com/developing-today/code/pull/986
dezren39https://github.com/dezren39
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Oct 26, 2026https://github.com/developing-today/code/issues/983#event-34279463999
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/983
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/983
dezren39https://github.com/dezren39
app/cold-store-reaperhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fcold-store-reaper%22
kind/securityhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fsecurity%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.