cicd-sensor: a security camera inside software builds, for companies shipping software
ShiniFrontiers · Source: cicd-sensor (open-source project)
What problem does it solve?
Your developers may write your code, but the product you ship also includes libraries: ready-made code from outside parties, downloaded from public stores such as npm. Every build fetches and runs them on the machine that holds your company's most sensitive keys — if one quietly copied them, would anyone notice? cicd-sensor is a free security camera for that moment; it is pre-release, so start with one repository.
What it is: A free, open-source sensor by Hiroki Suezawa that sits inside each build job and records which program launched which, and which keys each one touched.
Who it's for: Any company that ships software through GitHub Actions or GitLab CI/CD.
The catch: Pre-release, one maintainer, no published detection figures. It can stop a build only for known attacks; everything else gets an alarm and a record.
The machine with your most valuable keys, wiped after every job — for any company that ships software through automated builds
Problem: Each build runs outside libraries with full access to your cloud, signing and Git keys. When the job ends, the machine is erased, and the evidence with it.
What it does: A key read by library code is recorded; a sweep across several kinds of keys raises an alarm; on a match with a known attack, it attempts to stop the build. Like a log showing the safe was opened by someone who came in with the cleaning contractor.
Note: How a library quietly copies the keys, step by step, is shown in the next section, using a real attack from August 2026.
ready-made code a program reuses instead of writing itself
Developers rarely write common pieces from scratch. They reuse libraries, published by outside parties in public stores such as npm for JavaScript, for jobs like logins, payments or dates. A program names the libraries it needs, and the build downloads them. Their code then runs with the same access as the company's own.
THINK OF IT ASBuying a ready-made engine part rather than machining it in-house.
Read the lesson →A stolen key, with and without the camera
| The situation | Without it | With cicd-sensor |
|---|---|---|
| A library from npm reads your cloud keys | Unnoticed | Recorded: which library read which key |
| It goes on to read your signing key and Git login | Each read looks routine | Alarm: several kinds of keys, starting from a library |
| A library from a known 2026 attack, such as Mini Shai-Hulud, contacts its attacker's server | The build carries on | The sensor attempts to stop the build |
| Next morning: what did that build run? | The machine is gone | A record in your own cloud storage |
Illustrative. Detection tiers and named attacks come from the makers' built-in rules; they publish no detection-rate figures.
- What it saves
Knowing a key was taken, and which one, while the build is still running.
- What it costs
Free; one added workflow step on GitHub-hosted runners.
- How ready
- Working in the real world
Pre-release; usable today on GitHub-hosted runners.
Join free to unlock: how it works, a step-by-step setup with its costs, what you gain, and where it falls short, for every Friday idea.
Join free to read it all →