Preface
- Who this is for
- What you will learn
- What this book is not
- How this book works
- A note on AI coding agents
- Honesty about limits
- How to begin
Chapter 01: What “Supply Chain” Means When You Are Alone
- What you will learn
- A typical scenario
- The risk explained in plain words
- What to do: draw your one-page threat model
- The AI-agent angle
- Common mistakes
- Chapter checklist
- Summary
- Try it yourself
Chapter 02: Know What You Ship
- What you will learn
- A typical scenario
- The risk explained in plain words
- What to do
- The AI-agent angle
- Common mistakes
- Chapter checklist
- Summary
- Try it yourself
Chapter 03: Choosing Packages Wisely
- What you will learn
- A typical scenario
- The risk explained in plain words
- What to do: the five-minute vetting routine
- The AI-agent angle
- Common mistakes
- Chapter checklist
- Summary
- Try it yourself
Chapter 04: Install-Time and Update Risk
- What you will learn
- A typical scenario
- The risk explained in plain words
- What to do
- The AI-agent angle
- Common mistakes
- Chapter checklist
- Summary
- Try it yourself
Chapter 05: Scanning for Known Vulnerabilities
- What you will learn
- A typical scenario
- The risk explained in plain words
- What to do
- The AI-agent angle
- Common mistakes
- Chapter checklist
- Summary
- Try it yourself
Chapter 06: Secrets: Keep Them Out of Your Code
- What you will learn
- A typical scenario
- The risk explained in plain words
- What to do
- The AI-agent angle
- Common mistakes
- Chapter checklist
- Summary
- Try it yourself
Chapter 07: Protect Your Accounts
- What you will learn
- A typical scenario
- The risk explained in plain words
- What to do
- The AI-agent angle
- Common mistakes
- Chapter checklist
- Summary
- Try it yourself
Chapter 08: Safer CI/CD for Small Projects
- What you will learn
- A typical scenario
- The risk explained in plain words
- What to do
- The AI-agent angle
- Common mistakes
- Chapter checklist
- Summary
- Try it yourself
Chapter 09: Safer Deployments on a VPS or Small Host
- What you will learn
- A typical scenario
- The risk explained in plain words
- What to do
- The AI-agent angle
- Common mistakes
- Chapter checklist
- Summary
- Try it yourself
Chapter 10: AI Coding Agents and the Supply Chain
- What you will learn
- A typical scenario
- The risk explained in plain words
- What to do
- The AI-agent angle: the pattern behind every chapter
- Common mistakes
- Chapter checklist
- Summary
- Try it yourself
Chapter 11: Signing and Provenance, Lightly
- What you will learn
- A typical scenario
- The risk explained in plain words
- What to do
- The AI-agent angle
- Common mistakes
- Chapter checklist
- Summary
- Try it yourself
Chapter 12: When Something Goes Wrong
- What you will learn
- A typical scenario
- The risk explained in plain words
- What to do
- The AI-agent angle
- Common mistakes
- Chapter checklist
- Summary
- Try it yourself
Chapter 13: Your Weekend Hardening Plan and Monthly Routine
- What you will learn
- A typical scenario
- The risk explained in plain words
- What to do: the weekend hardening plan
- What to do: the 30-minute monthly routine
- How to know the routine still works a year from now
- What to skip as a solo builder
- The AI-agent angle
- Common mistakes
- Chapter checklist
- Summary
- Try it yourself
Appendix A: Checklists
- A.1 New project checklist
- A.2 Pre-deploy checklist
- A.3 Monthly 30-minute checklist
Appendix B: Command and Config Cheat Sheet
- B.1 See what you ship (Chapter 02)
- B.2 Keep secrets out of code (Chapter 06)
- B.3 Guard the agent (Chapter 10)
- B.4 Note shapes (Chapters 01, 04, 05, 07, 08, 09, 11, 12)
Appendix C: Templates
- C.1 Security policy file (
SECURITY.md) - C.2 Ignore-file starter
- C.3 Agent rules snippet for safer dependency handling
Appendix D: Decision Guide (“What to Skip as a Solo Builder”)
- Do first (the weekend Blocks A and B)
- Do soon (Blocks C and D, then monthly)
- Skip for now (with triggers)
- How to use this guide yearly