René's URL Explorer Experiment


Title: The owner password reaches PostgreSQL in plaintext inside ALTER ROLE · Issue #140 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: The owner password reaches PostgreSQL in plaintext inside ALTER ROLE · Issue #140 · cloudfall-dev/cloudfall

X Title: The owner password reaches PostgreSQL in plaintext inside ALTER ROLE · Issue #140 · cloudfall-dev/cloudfall

Description: The operator's record for self-hosted servers run by an AI agent. The agent decides, Ansible executes, Cloudfall gates every action, verifies the result and keeps the receipt. Plain Debian, no Kubernetes. - The owner password reaches PostgreSQL in plaintext inside ALTER ROLE · Issue #140 · cloudfall-dev/cloudfall

Open Graph Description: The operator's record for self-hosted servers run by an AI agent. The agent decides, Ansible executes, Cloudfall gates every action, verifies the result and keeps the receipt. Plain Debian, no ...

X Description: The operator's record for self-hosted servers run by an AI agent. The agent decides, Ansible executes, Cloudfall gates every action, verifies the result and keeps the receipt. Plain Debian,...

Opengraph URL: https://github.com/cloudfall-dev/cloudfall

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The owner password reaches PostgreSQL in plaintext inside ALTER ROLE","articleBody":"Found in the review of #139 (S-006, owned PostgreSQL databases).\n\n## The problem\n\n`engine/ansible/roles/cloudfall_postgresql/tasks/owner_password.yml` sets the owner role's password with psql's `ALTER ROLE ... PASSWORD :'var'`. psql substitutes the value into the statement text before it sends it, so the PostgreSQL server receives the plaintext password inside the SQL. With `password_encryption = scram-sha-256` the stored value is a SCRAM verifier, but while the statement runs the text is visible in `pg_stat_activity`, and it is written to the PostgreSQL log when `log_statement` is `ddl` or `all`, or when the statement fails (`log_min_error_statement`).\n\nThe Ansible side is clean: the value is in no argv, inventory, Ansible output, answer or receipt, and the host file is removed in an `always` block. The leak is only on the PostgreSQL server's side.\n\n## Reproduce\n\nOn a host converged with an owned database, set `log_statement = 'ddl'`, run `cloudfall converge services` again, and read the PostgreSQL log: the `ALTER ROLE billing PASSWORD '...'` line holds the password.\n\nNot reproduced live yet (no PostgreSQL in the review environment); this is documented PostgreSQL behaviour.\n\n## Proposed fix\n\nCompute the SCRAM-SHA-256 verifier (`SCRAM-SHA-256$4096:\u003csalt>$\u003cStoredKey>:\u003cServerKey>`) on the controller, stage the verifier instead of the password, and send `ALTER ROLE ... PASSWORD '\u003cverifier>'`. PostgreSQL stores a pre-hashed verifier as is, so neither the log nor `pg_stat_activity` ever holds the password. Keep the answer's reference, key and SHA-256 as they are. A regression test can check the staged file holds a verifier that verifies the password, never the password.\n\nTouches `engine/ansible/roles/cloudfall_postgresql/tasks/owner_password.yml` and the controller staging in `sdk/src/cloudfall/secrets.py` / `engine/src/cloudfall_engine/cli.py`.\n\nRelated: #81, #122, spec `docs/specs/006-standalone-postgresql.md` (S-006-6).\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-10-27T10:15:14Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/140"}

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/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:fc360582-877d-5940-1d6c-8d4bcb28c646
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDAA6:2EA7B6:2502A4C:30C6642:6B0554E0
html-safe-nonceeed4e4bfeb8489db8eea44be0cae7e8aef50a3aa73d56cacd915ec2593618de3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUE2OjJFQTdCNjoyNTAyQTRDOjMwQzY2NDI6NkIwNTU0RTAiLCJ2aXNpdG9yX2lkIjoiMzQxMzUzNDExMDkyMjM5NTg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac60b105e75413f3be2e5deb4223e32593605d0831466f23b5a900b59102a152b8
hovercard-subject-tagrepository:1360999777
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cloudfall-dev/cloudfall/issues/140
twitter:imagehttps://opengraph.githubassets.com/51d5dd460258bf347b561fe60af1de5b903bcc5c1b089a4f211cd68b74c186ff/cloudfall-dev/cloudfall
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/51d5dd460258bf347b561fe60af1de5b903bcc5c1b089a4f211cd68b74c186ff/cloudfall-dev/cloudfall
og:image:altThe operator's record for self-hosted servers run by an AI agent. The agent decides, Ansible executes, Cloudfall gates every action, verifies the result and keeps the receipt. Plain Debian, no ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonea79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080
turbo-cache-controlno-cache
go-importgithub.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git
octolytics-dimension-user_id339512759
octolytics-dimension-user_logincloudfall-dev
octolytics-dimension-repository_id1360999777
octolytics-dimension-repository_nwocloudfall-dev/cloudfall
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1360999777
octolytics-dimension-repository_network_root_nwocloudfall-dev/cloudfall
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
release10dff83edfd4f3617a7792a152d44991587b434c
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/cloudfall-dev/cloudfall/issues/140#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fissues%2F140
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%2Fcloudfall-dev%2Fcloudfall%2Fissues%2F140
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=cloudfall-dev%2Fcloudfall
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/140
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/140
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/140
https://github.com/cloudfall-dev/cloudfall
New issuehttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/140
New issuehttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/140
#156https://github.com/cloudfall-dev/cloudfall/pull/156
The owner password reaches PostgreSQL in plaintext inside ALTER ROLEhttps://github.com/cloudfall-dev/cloudfall/issues/140#top
#156https://github.com/cloudfall-dev/cloudfall/pull/156
bughttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Oct 27, 2026https://github.com/cloudfall-dev/cloudfall/issues/140#issue-6057183118
#139https://github.com/cloudfall-dev/cloudfall/pull/139
#81https://github.com/cloudfall-dev/cloudfall/issues/81
#122https://github.com/cloudfall-dev/cloudfall/issues/122
shipmill-romamohttps://github.com/apps/shipmill-romamo
bughttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22bug%22
on Oct 27, 2026https://github.com/cloudfall-dev/cloudfall/issues/140#event-34353780260
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Oct 27, 2026https://github.com/cloudfall-dev/cloudfall/issues/140#issuecomment-6439532557
shipmill-romamohttps://github.com/shipmill/shipmill
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Oct 27, 2026https://github.com/cloudfall-dev/cloudfall/issues/140#issuecomment-6439535244
shipmill-romamohttps://github.com/shipmill/shipmill
@romamohttps://github.com/romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
needs-decisionhttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22needs-decision%22
on Oct 27, 2026https://github.com/cloudfall-dev/cloudfall/issues/140#event-34355025572
https://github.com/romamo
romamohttps://github.com/romamo
on Oct 30, 2026https://github.com/cloudfall-dev/cloudfall/issues/140#issuecomment-6523106385
@romamohttps://github.com/romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
needs-decisionhttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22needs-decision%22
on Oct 30, 2026https://github.com/cloudfall-dev/cloudfall/issues/140#event-34691051591
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Oct 30, 2026https://github.com/cloudfall-dev/cloudfall/issues/140#issuecomment-6523224750
shipmill-romamohttps://github.com/shipmill/shipmill
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Oct 30, 2026https://github.com/cloudfall-dev/cloudfall/issues/140#issuecomment-6523384302
shipmill-romamohttps://github.com/shipmill/shipmill
#156https://github.com/cloudfall-dev/cloudfall/pull/156
#155https://github.com/cloudfall-dev/cloudfall/pull/155
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Oct 30, 2026https://github.com/cloudfall-dev/cloudfall/issues/140#event-34692596421
Record D-9: owner passwords reach PostgreSQL only as a SCRAM verifier (…https://github.com/cloudfall-dev/cloudfall/commit/b29f76de9f56c75587714bc450c5ab070433feac
…https://github.com/cloudfall-dev/cloudfall/issues/140
b29f76dhttps://github.com/cloudfall-dev/cloudfall/commit/b29f76de9f56c75587714bc450c5ab070433feac
shipmill-romamohttps://github.com/apps/shipmill-romamo
completedhttps://github.com/cloudfall-dev/cloudfall/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#156https://github.com/cloudfall-dev/cloudfall/pull/156
on Oct 30, 2026https://github.com/cloudfall-dev/cloudfall/issues/140#event-34692686440
Sign up for freehttps://github.com/signup?return_to=https://github.com/cloudfall-dev/cloudfall/issues/140
Sign in to commenthttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/140
bughttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22bug%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.