Sign in

chris48s

@chris.fed.chris-shaw.dev.ap.brid.gy
0 followers 0 following 22 posts

🧙 Open Source Geo-wizard 🪖 Seasoned veteran of #civictech and #opendata 🌉 bridged from fed.chris-shaw.dev/@chris on the fediverse by fed.brid.gy

PostsRepliesMedia
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 08/08/2026
This post from @dsalo is fantastic. blog.stdlib.io/ai-and-the-invisible… > For a long time, open-source communities have depended on a specific kind of visible friction. People got stuck and they showed up > That first act of asking for help in public was itself […]
fed.chris-shaw.dev
Original post on fed.chris-shaw.dev
000
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 19/07/2026
Good job this is an ethical cake. We all know Colin the Caterpillar has blood on his hands.
The Ethical Bakery: Cruelty-free cakes.
030
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 06/06/2026
Great stuff from @frenck here: "A powerful tool does not replace understanding. It amplifies whatever is already there. If there is judgment, it amplifies judgment. If there is confusion, it amplifies confusion." frenck.dev/open-source-was-not-read…
frenck.dev
Open source was not ready for AI-speed contributions
AI did not create the maintainer burden problem in open source. It accelerated it. Contributors are being amplified, but maintainers are still the verification bottleneck.
002
Reposted by chris48s
Space Hobo @spacehobo.teh.entar.net.ap.brid.gy · 19/04/2026
Old man yells at Claude✨
008
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 26/05/2026
Apparently a sega mega drive is now a museum exhibit. I feel 100 years old
Display case in a museum exhibiting a number of items, including a sega mega drive
000
Reposted by chris48s
Andrew Nesbitt @andrewnez.mastodon.social.ap.brid.gy · 23/04/2026
New job title: Critical Infrastructure Hobbyist
004
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 14/04/2026
#TypoOfTheDay : open a daft(draft) pull request
000
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 10/04/2026
#TypoOfTheDay : buffet overflow
000
Reposted by chris48s
Flippin' 'eck, Tucker! @losttourist.social.chatty.monster.ap.brid.gy · 15/01/2026
Absolutely outstanding work from whoever the mayor of West Yorkshire has engaged to create maps. Supposedly a map of the proposed Northern Powerhouse Rail upgrades, this seems to show two new places called Warrington appearing somewhere in east […] [Original post on social.chatty.monster]
A Bluesky tweet/twoot/skit/whatever from Tracy Brabin, the Mayor of West Yorkshire, showing a very very confused schematic rail map of part of northern England.
5015
Reposted by chris48s
Andrew Nesbitt @andrewnez.mastodon.social.ap.brid.gy · 06/12/2025
The package manager in GitHub Actions might be the worst package manager in use today: nesbitt.io/2025/12/06/github-action…
nesbitt.io
GitHub Actions Has a Package Manager, and It Might Be the Worst
After putting together ecosyste-ms/package-manager-resolvers, I started wondering what dependency resolution algorithm GitHub Actions uses. When you write `uses: actions/checkout@v4` in a workflow file, you’re declaring a dependency. GitHub resolves it, downloads it, and executes it. That’s package management. So I went spelunking into the runner codebase to see how it works. What I found was concerning. Package managers are a critical part of software supply chain security. The industry has spent years hardening them after incidents like left-pad, event-stream, and countless others. Lockfiles, integrity hashes, and dependency visibility aren’t optional extras. They’re the baseline. GitHub Actions ignores all of it. Compared to mature package ecosystems: Feature | npm | Cargo | NuGet | Bundler | Go | Actions ---|---|---|---|---|---|--- Lockfile | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ Transitive pinning | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ Integrity hashes | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ Dependency tree visibility | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ Resolution specification | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ The core problem is the lack of a lockfile. Every other package manager figured this out decades ago: you declare loose constraints in a manifest, the resolver picks specific versions, and the lockfile records exactly what was chosen. GitHub Actions has no equivalent. Every run re-resolves from your workflow file, and the results can change without any modification to your code. Research from USENIX Security 2022 analyzed over 200,000 repositories and found that 99.7% execute externally developed Actions, 97% use Actions from unverified creators, and 18% run Actions with missing security updates. The researchers identified four fundamental security properties that CI/CD systems need: admittance control, execution control, code control, and access to secrets. GitHub Actions fails to provide adequate tooling for any of them. A follow-up study using static taint analysis found code injection vulnerabilities in over 4,300 workflows across 2.7 million analyzed. Nearly every GitHub Actions user is running third-party code with no verification, no lockfile, and no visibility into what that code depends on. **Mutable versions.** When you pin to `actions/checkout@v4`, that tag can move. The maintainer can push a new commit and retag. Your workflow changes silently. A lockfile would record the SHA that `@v4` resolved to, giving you reproducibility while keeping version tags readable. Instead, you have to choose: readable tags with no stability, or unreadable SHAs with no automated update path. GitHub has added mitigations. Immutable releases lock a release’s git tag after publication. Organizations can enforce SHA pinning as a policy. You can limit workflows to actions from verified creators. These help, but they only address the top-level dependency. They do nothing for transitive dependencies, which is the primary attack vector. **Invisible transitive dependencies.** SHA pinning doesn’t solve this. Composite actions resolve their own dependencies, but you can’t see or control what they pull in. When you pin an action to a SHA, you only lock the outer file. If it internally pulls `some-helper@v1` with a mutable tag, your workflow is still vulnerable. You have zero visibility into this. A lockfile would record the entire resolved tree, making transitive dependencies visible and pinnable. Research on JavaScript Actions found that 54% contain at least one security weakness, with most vulnerabilities coming from indirect dependencies. The tj-actions/changed-files incident showed how this plays out in practice: a compromised action updated its transitive dependencies to exfiltrate secrets. With a lockfile, the unexpected transitive change would have been visible in a diff. **No integrity verification.** npm records `integrity` hashes in the lockfile. Cargo records checksums in `Cargo.lock`. When you install, the package manager verifies the download matches what was recorded. Actions has nothing. You trust GitHub to give you the right code for a SHA. A lockfile with integrity hashes would let you verify that what you’re running matches what you resolved. **Re-runs aren’t reproducible.** GitHub staff have confirmed this explicitly: “if the workflow uses some actions at a version, if that version was force pushed/updated, we will be fetching the latest version there.” A failed job re-run can silently get different code than the original run. Cache interaction makes it worse: caches only save on successful jobs, so a re-run after a force-push gets different code _and_ has to rebuild the cache. Two sources of non-determinism compounding. A lockfile would make re-runs deterministic: same lockfile, same code, every time. **No dependency tree visibility.** npm has `npm ls`. Cargo has `cargo tree`. You can inspect your full dependency graph, find duplicates, trace how a transitive dependency got pulled in. Actions gives you nothing. You can’t see what your workflow actually depends on without manually reading every composite action’s source. A lockfile would be a complete manifest of your dependency tree. **Undocumented resolution semantics.** Every package manager documents how dependency resolution works. npm has a spec. Cargo has a spec. Actions resolution is undocumented. The runner source is public, and the entire “resolution algorithm” is in ActionManager.cs. Here’s a simplified version of what it does: // Simplified from actions/runner ActionManager.cs async Task PrepareActionsAsync(steps) { // Start fresh every time - no caching DeleteDirectory("_work/_actions"); await PrepareActionsRecursiveAsync(steps, depth: 0); } async Task PrepareActionsRecursiveAsync(actions, depth) { if (depth > 10) throw new Exception("Composite action depth exceeded max depth 10"); foreach (var action in actions) { // Resolution happens on GitHub's server - opaque to us var downloadInfo = await GetDownloadInfoFromGitHub(action.Reference); // Download and extract - no integrity verification var tarball = await Download(downloadInfo.TarballUrl); Extract(tarball, $"_actions/{action.Owner}/{action.Repo}/{downloadInfo.Sha}"); // If composite, recurse into its dependencies var actionYml = Parse($"_actions/{action.Owner}/{action.Repo}/{downloadInfo.Sha}/action.yml"); if (actionYml.Type == "composite") { // These nested actions may use mutable tags - we have no control await PrepareActionsRecursiveAsync(actionYml.Steps, depth + 1); } } } That’s it. No version constraints, no deduplication (the same action referenced twice gets downloaded twice), no integrity checks. The tarball URL comes from GitHub’s API, and you trust them to return the right content for the SHA. A lockfile wouldn’t fix the missing spec, but it would at least give you a concrete record of what resolution produced. Even setting lockfiles aside, Actions has other issues that proper package managers solved long ago. **No registry.** Actions live in git repositories. There’s no central index, no security scanning, no malware detection, no typosquatting prevention. A real registry can flag malicious packages, store immutable copies independent of the source, and provide a single point for security response. The Marketplace exists but it’s a thin layer over repository search. Without a registry, there’s nowhere for immutable metadata to live. If an action’s source repository disappears or gets compromised, there’s no fallback. **Shared mutable environment.** Actions aren’t sandboxed from each other. Two actions calling `setup-node` with different versions mutate the same `$PATH`. The outcome depends on execution order, not any deterministic resolution. **No offline support.** Actions are pulled from GitHub on every run. There’s no offline installation mode, no vendoring mechanism, no way to run without network access. Other package managers let you vendor dependencies or set up private mirrors. With Actions, if GitHub is down, your CI is down. **The namespace is GitHub usernames.** Anyone who creates a GitHub account owns that namespace for actions. Account takeovers and typosquatting are possible. When a popular action maintainer’s account gets compromised, attackers can push malicious code and retag. A lockfile with integrity hashes wouldn’t prevent account takeovers, but it would detect when the code changes unexpectedly. The hash mismatch would fail the build instead of silently running attacker-controlled code. Another option would be something like Go’s checksum database, a transparent log of known-good hashes that catches when the same version suddenly has different contents. ### How Did We Get Here? The Actions runner is forked from Azure DevOps, designed for enterprises with controlled internal task libraries where you trust your pipeline tasks. GitHub bolted a public marketplace onto that foundation without rethinking the trust model. The addition of composite actions and reusable workflows created a dependency system, but the implementation ignored lessons from package management: lockfiles, integrity verification, transitive pinning, dependency visibility. This matters beyond CI/CD. Trusted publishing is being rolled out across package registries: PyPI, npm, RubyGems, and others now let you publish packages directly from GitHub Actions using OIDC tokens instead of long-lived secrets. OIDC removes one class of attacks (stolen credentials) but amplifies another: the supply chain security of these registries now depends entirely on GitHub Actions, a system that lacks the lockfile and integrity controls these registries themselves require. A compromise in your workflow’s action dependencies can lead to malicious packages on registries with better security practices than the system they’re trusting to publish. Other CI systems have done better. GitLab CI added an `integrity` keyword in version 17.9 that lets you specify a SHA256 hash for remote includes. If the hash doesn’t match, the pipeline fails. Their documentation explicitly warns that including remote configs “is similar to pulling a third-party dependency” and recommends pinning to full commit SHAs. GitLab recognized the problem and shipped integrity verification. GitHub closed the feature request. GitHub’s design choices don’t just affect GitHub users. Forgejo Actions maintains compatibility with GitHub Actions, which means projects migrating to Codeberg for ethical reasons inherit the same broken CI architecture. The Forgejo maintainers openly acknowledge the problems, with contributors calling GitHub Actions’ ecosystem “terribly designed and executed.” But they’re stuck maintaining compatibility with it. Codeberg mirrors common actions to reduce GitHub dependency, but the fundamental issues are baked into the model itself. GitHub’s design flaws are spreading to the alternatives. GitHub issue #2195 requested lockfile support. It was closed as “not planned” in 2022. Palo Alto’s “Unpinnable Actions” research documented how even SHA-pinned actions can have unpinnable transitive dependencies. Dependabot can update action versions, which helps. Some teams vendor actions into their own repos. zizmor is excellent at scanning workflows and finding security issues. But these are workarounds for a system that lacks the basics. The fix is a lockfile. Record resolved SHAs for every action reference, including transitives. Add integrity hashes. Make the dependency tree inspectable. GitHub closed the request three years ago and hasn’t revisited it. * * * **Further reading:** * Characterizing the Security of GitHub CI Workflows - Koishybayev et al., USENIX Security 2022 * ARGUS: A Framework for Staged Static Taint Analysis of GitHub Workflows and Actions - Muralee et al., USENIX Security 2023 * New GitHub Action supply chain attack: reviewdog/action-setup - Wiz Research, 2025 * Unpinnable Actions: How Malicious Code Can Sneak into Your GitHub Actions Workflows * GitHub Actions Worm: Compromising GitHub Repositories Through the Actions Dependency Tree * setup-python: Action can be compromised via mutable dependency
1528
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 20/10/2025
#TypoOfTheDay : git lol --oneline everyone likes a funny one-liner
001
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 18/10/2025
This observation really resonated for me "Like you I have felt the complicated urge to simplify the world through the system rather than accept the world's complexity into the system. Every project has to balance those forces" mechanicalsurvival.com/blog/design-…
mechanicalsurvival.com
Design by cliché
We reject cliché. We require true names
010
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 16/08/2025
For a small town in Wales, #PortTalbot has a surprisingly large amount of cool #graffiti and street art. 🧵 1/3
Jenks. Bridge StreetRarebit. Alley behind Caradog Street"Pirate Radio" by Son of Ken. Alley behind Talbot roadKarim. Bailey Street
2103
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 27/05/2025
My favourite burrito filling is Owl owlsintowels.org
An owl is wrapped wrapped in a towel. It looks like a burrito
000
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 24/05/2025
Great stuff from @tante@nettime.org here: "Good software flows from good requirements analysis, from understanding the real problem that is to be solved and it’s domain and organizational embedding, from understanding the needs, abilities and situation of the people using the software, it flows […]
fed.chris-shaw.dev
Original post on fed.chris-shaw.dev
000
Reposted by chris48s
Phil Giammattei @phil.wears.tigerpajamas.com.ap.brid.gy · 08/04/2025
wow, only an hour in and I already got the horse to water! and now for the easy part
002
Reposted by chris48s
Brett Cannon @brettcannon.fosstodon.org.ap.brid.gy · 31/03/2025
PEP 751 has been accepted! peps.python.org/pep-0751 This means #Python now has a lock file standard that can act as an export target for all tools that can create some sort of lock file. And for some tools the format can act as their primary lock file format as well instead of some […]
fosstodon.org
Original post on fosstodon.org
3517
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 02/01/2025
Wowzer. TIL python has unraisable exceptions fosstodon.org/@adamchainz/113759151…
fosstodon.org
Adam Johnson :django: :python: (@adamchainz@fosstodon.org)
✍️ New post describing a technique I used to help debug unraisable exceptions, which Python logs with “Exception ignored in: ...”. #Python https://adamj.eu/tech/2025/01/02/python-unraisiable-exceptions/
000
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 19/12/2024
Insightful stuff. Thanks, Ofcom
Based on the answers you have provided it is... unclear ...whether the Online Safety Act is likely to apply to your online service
000
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 16/10/2024
#TypoOfTheDay : ./mange.py
000
chris48s @chris.fed.chris-shaw.dev.ap.brid.gy · 02/09/2024
github.com/chris48s/v8r is a smart #jsonschema validator that integrates with schemastore.org . I've done quite a lot of work on it recently. It now has some new features I am quite excited about. 🔌 v8r now exports plugin hooks. This allows users to customise and extend v8r by […]
fed.chris-shaw.dev
Original post on fed.chris-shaw.dev
100