Menu

Your CI/CD Pipeline Is the Easiest Way Into Your Repo (And Nobody's Checking It)
πŸ“°

Your CI/CD Pipeline Is the Easiest Way Into Your Repo (And Nobody's Checking It)

DEV Community: cicdΒ·ParasΒ·9 days ago
#C17jusYj
#devtocicd#devto#dev#plumber#linter
Reading 0:00
15s threshold

Paras

Posted on Nov 3

Edited on Nov 3

AI-assisted

Your CI/CD Pipeline Is the Easiest Way Into Your Repo (And Nobody's Checking It)

Your code gets reviewed. Your dependencies get scanned. But your CI/CD pipeline β€” the thing with access to your secrets , your deployments , and your production credentials β€” usually gets copy-pasted from a tutorial and never looked at again.

That's the gap plumber-linter was built for.

The problem hiding in plain sight

Here's a workflow file that looks completely normal. It's also a security incident waiting to happen :

name : CI on : [ push ]

permissions : write-all

jobs : build : runs-on : ubuntu-latest steps : - uses : actions/checkout@v4 - uses : some-random-action/setup-node@main - run : | echo "Deploying..." curl -H "Authorization: Bearer AKIAIOSFODNN7EXAMPLE" https://api.example.com/deploy

Enter fullscreen mode

Exit fullscreen mode

Three problems, zero warnings from your CI:

permissions: write-all β€” the workflow can do everything: push code, read secrets,…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.