Title: Tracking issue: all GitHub action scripts that use package caches should support read-only mode for the caches. · Issue #705 · actions/github-script · GitHub
Open Graph Title: Tracking issue: all GitHub action scripts that use package caches should support read-only mode for the caches. · Issue #705 · actions/github-script
X Title: Tracking issue: all GitHub action scripts that use package caches should support read-only mode for the caches. · Issue #705 · actions/github-script
Description: TLDR: Some base actions setup scripts do not support modes where all package caching is read-only. We should add flags for caches to be used in read only mode Context - cache poisoning attacks Repositories using GitHub Actions that use a...
Open Graph Description: TLDR: Some base actions setup scripts do not support modes where all package caching is read-only. We should add flags for caches to be used in read only mode Context - cache poisoning attacks Repo...
X Description: TLDR: Some base actions setup scripts do not support modes where all package caching is read-only. We should add flags for caches to be used in read only mode Context - cache poisoning attacks Repo...
Opengraph URL: https://github.com/actions/github-script/issues/705
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tracking issue: all GitHub action scripts that use package caches should support read-only mode for the caches.","articleBody":"TLDR: Some base actions setup scripts do not support modes where all package caching is read-only. \n\nWe should add flags for caches to be used in read only mode\n\n### Context - cache poisoning attacks\n\nRepositories using GitHub Actions that use agentic processing (coding agents) have been subject to cache poisoning attacks, e.g. https://rohittamma.substack.com/p/how-an-ai-prompt-injection-silently.\n\nSecurity architectures that host agentic processing (i.e. coding agents) naturally want to make use of setup-node, and other basic setup actions. This is an acceptable design decision for those architectures.\n\nIt is a natural response of these archtictures to want all \"agentic jobs\" to run entirely in read-only mode apart from uploaded artifacts. Because of this, it's reasonable for these actions to want to use \"actions/setup-node\" and others entirely in read-only mode. So, with package cache reads still active, but cache updates turned off. \n\n### Recommendation\n\nThis is a tracking issue for this problem. \n\nOn a quick review, some base actions scripts do not support options for read-only package caches. \n\nWe will do further review and edit this issue description with our findings.\n\n","author":{"url":"https://github.com/dsyme","@type":"Person","name":"dsyme"},"datePublished":"2026-03-20T16:21:47Z","url":"https://github.com/actions/github-script/issues/705"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| 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:3b1e1306-fd0b-c689-d90f-fe2bc37faf6b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B9BA:33C72F:D6F28C:1182CFB:6AED51E5 |
| html-safe-nonce | 3d64fd2a0fe44a4d8ecdb847fbc11f7ee7c100b16705cfc5468dcd98ef5859c2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUJBOjMzQzcyRjpENkYyOEM6MTE4MkNGQjo2QUVENTFFNSIsInZpc2l0b3JfaWQiOiI1MzE1NDYzMjc4MzU0MDU5NzQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dafdbd4be2d7dec6a1c7a8249bb9e313e5d97d5b35842ebbe6bd20ca75a67209 |
| hovercard-subject-tag | issue:4108795237 |
| github-keyboard-shortcuts | repository,issues,actions,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/actions/github-script/705/issue_layout |
| twitter:image | https://opengraph.githubassets.com/239a88b3ad95aa41ab420b7efe608997e677d3d6173d0fe58ea2566620adcc87/actions/github-script/issues/705 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/239a88b3ad95aa41ab420b7efe608997e677d3d6173d0fe58ea2566620adcc87/actions/github-script/issues/705 |
| og:image:alt | TLDR: Some base actions setup scripts do not support modes where all package caching is read-only. We should add flags for caches to be used in read only mode Context - cache poisoning attacks Repo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dsyme |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11 |
| turbo-cache-control | no-preview |
| go-import | github.com/actions/github-script git https://github.com/actions/github-script.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 205262760 |
| octolytics-dimension-repository_nwo | actions/github-script |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 205262760 |
| octolytics-dimension-repository_network_root_nwo | actions/github-script |
| 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 | 9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width