Security Gates in GitHub Actions

Security Gates in GitHub Actions

DevSecOps for Small Repositories and Side ProjectsBy Sloane Garrett
Michael Caine
Listen with Sir Michael Caine™ and 1,000+ voices
Length8h 3m

About this audiobook

What if the next npm install you run silently adds a backdoor to your side project — and you don't notice until your API keys are on the dark web? Your GitHub repository has a secret problem. Not the kind you store in Settings > Secrets. The kind where your package-lock.json pins 47 vulnerable packages, your actions/checkout@v2 was deprecated six months ago, and that "helpful" contributor last week added a dependency with a post-install script that phones home. You don't have a security team. You don't have a SOC 2 budget. What you have is this book — a field manual for solo developers who refuse to let their side projects become someone else's breach vector. Inside, you'll build automated security gates that catch the mistakes you make at 11 PM: dependency audits that fail CI before vulnerable code merges, secret scanners that block API keys before they reach GitHub's servers, container image scanners that find CVEs in your Docker base layers, and incident response playbooks that fit on one page because you don't have time for forty. Every chapter includes real, runnable YAML workflows and Python scripts — not theory. You'll harden pull requests, enforce third-party action policies, set up canary deployments with automatic rollback, and generate SBOMs that prove your supply chain transparency. You'll learn when to patch immediately, when to document and wait, and when a simple sha256sum beats enterprise attestation. Stop pushing secrets at midnight — pre-commit hooks and CI scans that catch leaks before they fossilize in Git history Turn your pull request into a security checkpoint — required status checks that block merges until vulnerabilities, secrets, and static analysis pass Harden your .github/workflows folder — action pinning, SHA verification, and policies that prevent the next tj-actions supply chain attack Deploy with a safety net — canary health checks, automatic rollback, and .env validation that stops production crashes Build metrics that matter — weekly MTTP tracking, dependency freshness scores, and a 5-minute daily checklist that keeps your repo safer than most enterprise codebases Your repository is already under attack — by automated scanners, by compromised dependencies, by your own 2 AM fatigue. Build the gates now. Before the alert that wakes you up.

Audiobook details

GenreTechnology
Length8 hrs 3 mins
Narrated byListen with 1,000+ voices
FormateBook with Audio
LanguageEnglish

Table of contents

1DevSecOps for Small Repositories and Side Projects
2Sloane Garrett: TABLE OF CONTENTS
3PART I: THE FOUNDATION
4Introduction: The $0 Security Budget
5Chapter 1: The 3 AM Dependency Alert
Show all chapters
6Chapter 2: The .github/workflows Folder Nobody Understands
7Chapter 3: Secrets Leak in Plain Sight
8Chapter 4: The Trust Problem with Third-Party Actions
9PART II: THE GATES
10Chapter 5: The Pull Request as a Security Checkpoint
11Chapter 6: Dependency Lockfiles Are a Lie
12Chapter 7: Container Images Nobody Audits
13Chapter 8: The Code Review That Isn't
14Chapter 10: The Incident Response Playbook for One Person
15PART III: THE REAL WORLD
16Chapter 11: The Monorepo Problem
17Chapter 12: The Open Source Trap
18Chapter 13: The Legacy Repo Resurrection
19Chapter 14: The Side Project That Became a Product
20Chapter 15: The Compliance You Didn't Ask For
21PART IV: THE ADVANCED GUARDRAILS
22Chapter 16: The Supply Chain You Didn't Know You Had
23Chapter 17: The Self-Hosted Runner Dilemma
24Chapter 18: The Security Metrics That Matter
25Conclusion: The Gatekeeper's Mindset

More from Sloane Garrett

The Collected Works
The Collected WorksNikola Tesla50h 9m4.3 (2.1K)$1 · $0.00
Never Lost Again
Never Lost AgainBill Kilday10h 1m4.4 (805)$29 · $0.00
How the Internet Happened
How the Internet HappenedBrian McCullough13h 28m4.3 (2.7K)$23 · $0.00
Collected Writings of Nikola Tesla
Collected Writings of Nikola TeslaNikola Tesla, Thomas Commerford Martin21h 50m4.3 (1.7K)$1 · $0.00
Just Aspire
Just AspireAjai Chowdhry9h 13m4.4 (260)$29 · $0.00
The Little Book of Aliens
The Little Book of AliensAdam Frank8h 20m4.3 (1.3K)$26 · $0.00
The inventions, researches and writings of Nikola Tesla (Annotated)
The inventions, researches and writings of Nikola Tesla (Annotated)Thomas Commerford Martin16h 59m4.3 (1.3K)$2 · $0.00
Kargil
KargilV.P. Malik15h 18m4.3 (2K)$24 · $0.00
Fire on the Horizon
Fire on the HorizonTom Shroder, John Konrad8h 23m4.3 (858)$26 · $0.00
The Smell of Kerosene (Annotated)
The Smell of Kerosene (Annotated)National Aeronautics and Space Administration, Donald L. Mallick, Peter W. Merlin11h 32m4.3 (523)$2 · $0.00
The Boy Who Harnessed the Wind
The Boy Who Harnessed the WindWilliam Kamkwamba, Bryan Mealer10h 5m4.2 (78.9K)$29 · $0.00
Mars Rover Curiosity
Mars Rover CuriosityRob Manning, William L. Simon7h 43m4.3 (1.7K)$20
Across the Airless Wilds
Across the Airless WildsEarl Swift10h 8m4.3 (1.3K)$29 · $0.00
Console Wars
Console WarsBlake J. Harris20h 41m4.2 (13.7K)$46 · $0.00
Improvised Munitions Handbook
Improvised Munitions HandbookU.S. Department of Defense4h 50m4.3 (1.6K)$0.99 · $0.00
Escaping Gravity
Escaping GravityLori Garver10h 54m4.2 (2.2K)$20 · $0.00
Wireless Wars
Wireless WarsJonathan Pelson8h 2m4.3 (418)$20 · $0.00
The Forest Underground
The Forest UndergroundTony Rinaudo6h 22m4.5 (73)$17
Atoms and Ashes
Atoms and AshesSerhii Plokhy12h 8m4.2 (2.6K)$23
Let There Be Water
Let There Be WaterSeth M. Siegel8h 36m4.2 (2.3K)$20 · $0.00

You may also like

The E-Myth Accountant
The E-Myth AccountantMichael E. Gerber, M. Darren Root CPA, CITP5h 49m4.0 (348)$14
The Toxin Solution
The Toxin SolutionJoseph Pizzorno ND6h 46m4.3 (831)$17
Atkins Diabetes Revolution
Atkins Diabetes RevolutionRobert C. Atkins4h 51m4.0 (420)$20 · $0.00
The South Beach Diet Supercharged
The South Beach Diet SuperchargedArthur Agatston MD11h 8m3.8 (2.3K)$20
Let's Talk Money
Let's Talk MoneyMonika Halan6h 9m4.3 (20.4K)$24 · $0.00
Goodbye to Inflammation
Goodbye to InflammationSandra Monino5h 46m4.1 (3.3K)$24 · $0.00
The Plant Paradox Quick and Easy
The Plant Paradox Quick and EasySteven R. Gundry, MD4h 1m4.0 (4.7K)$20 · $0.00
Clean -- Expanded Edition
Clean -- Expanded EditionAlejandro Junger11h 9m4.0 (7.7K)$29 · $0.00
Obstetrics for Nurses
Obstetrics for NursesCharles B. Reed9h 6m$2 · $0.00
The Atkins Essentials
The Atkins EssentialsAtkins Health & Medical Information Services2h 49m3.9 (289)$18 · $0.00
Know Your Numbers
Know Your NumbersLyndon Russell3h 26m$23 · $0.00
Money 911: Debt
Money 911: DebtJean Chatzky1h 3m3.8 (20)$13 · $0.00
Vagus Nerve Stimulation - Guided Meditation & Subliminal
Vagus Nerve Stimulation - Guided Meditation & SubliminalMiss Smilla43m$3 · $0.00
Psychic Immune System
Psychic Immune SystemFalco Wisskirchen30m4.5 (10)$18 · $0.00
The Tuberculosis Nurse: Her Function and Her Qualifications
The Tuberculosis Nurse: Her Function and Her QualificationsEllen N. La Motte6h 58m$1 · $0.00
Drop Fat the Low Carb Way
Drop Fat the Low Carb WayJohn Fletcher35m$5 · $0.00
Notes on Diseases of Swine, Sheep, Poultry and the Dog
Notes on Diseases of Swine, Sheep, Poultry and the DogCharles James Korinek3h 24m$2 · $0.00
Practical Points in Anesthesia
Practical Points in AnesthesiaFrederick-Emil Neef44m$2 · $0.00
A System of Midwifery
A System of MidwiferyEdward Rigby16h 56m3.6 (10)$2 · $0.00
Good Councell Against The Plague By Learned Phisition
Good Councell Against The Plague By Learned PhisitionAnonymous13m$2.30