Title: operator show and list may print an agent proposal's reason with its terminal control codes · Issue #499 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: operator show and list may print an agent proposal's reason with its terminal control codes · Issue #499 · cloudfall-dev/cloudfall
X Title: operator show and list may print an agent proposal's reason with its terminal control codes · Issue #499 · cloudfall-dev/cloudfall
Description: Found while reviewing #493 (S-018, #477). #493 escapes control characters in the agent's reason before the operator approve prompt shows it, so an agent can't hide or reverse the command and servers the person reads before typing the id ...
Open Graph Description: Found while reviewing #493 (S-018, #477). #493 escapes control characters in the agent's reason before the operator approve prompt shows it, so an agent can't hide or reverse the command and server...
X Description: Found while reviewing #493 (S-018, #477). #493 escapes control characters in the agent's reason before the operator approve prompt shows it, so an agent can't hide or reverse the command an...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/499
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"operator show and list may print an agent proposal's reason with its terminal control codes","articleBody":"Found while reviewing #493 (S-018, #477).\n\n#493 escapes control characters in the agent's `reason` before the `operator approve` prompt shows it, so an agent can't hide or reverse the command and servers the person reads before typing the id back. Two other places print an agent proposal's text too, and probably print it raw:\n\n- `cloudfall operator show \u003cid>`\n- `cloudfall operator list`\n\nThe text in question is the `reason` and the stored tool arguments. The same text could carry terminal escape codes (`\\x1b[8m` hides what follows) or bidirectional overrides (U+202E). With those, the proposal a person reviews looks different from the one that runs.\n\n## Expected\n\nEvery human-readable view of an agent proposal shows `reason` and the arguments with the same `_printable` escaping the approve prompt uses. JSON output stays as it is, since it is escaped already.\n\n## Touches\n\n- `sdk/src/cloudfall/app.py` (`operator show` and `list` rendering), and wherever else a proposal's free text reaches a terminal\n\n\u003c!-- shipmill:agent -->\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-17T12:43:07Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/499"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:84859b92-6eb7-b3bc-5860-61b80723046c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C7FA:2876DA:2774BE0:33C9F6B:6B0558A8 |
| html-safe-nonce | 07d575298e4b4d80e37a2decc5eab414d2ec9b732591138a047494a799d9fe2d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0ZBOjI4NzZEQToyNzc0QkUwOjMzQzlGNkI6NkIwNTU4QTgiLCJ2aXNpdG9yX2lkIjoiNzgwOTgxMDE2ODgwNzc3NDM3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bba051e62cf18402fdc21912c4550dfd382e3b87f07feacfb5eeedd2d6b102de |
| hovercard-subject-tag | issue:6444791755 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/499/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0c3803b72adb36a13e782372e78355e9cc805baa31efce5f0aa81b3ed12fcbb7/cloudfall-dev/cloudfall/issues/499 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0c3803b72adb36a13e782372e78355e9cc805baa31efce5f0aa81b3ed12fcbb7/cloudfall-dev/cloudfall/issues/499 |
| og:image:alt | Found while reviewing #493 (S-018, #477). #493 escapes control characters in the agent's reason before the operator approve prompt shows it, so an agent can't hide or reverse the command and server... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 10dff83edfd4f3617a7792a152d44991587b434c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width