Interview Prep/GitHub Actions/Security Hardening & Supply Chain

A developer wants to use a new Marketplace action with 40 stars for Slack notifications. How do you evaluate it?

BeginnerScenarioSecurity Hardening & Supply Chain
Answer

Situation read → Third-party code would run with the job's token and secrets.

What I'd do →

  1. Check: maintainer reputation, recent activity, open security issues, permissions it requests, network calls in code, dependencies.
  2. Prefer a few lines of curl to the Slack webhook over a dependency for trivial tasks.
  3. If adopted: pin SHA, isolate it in a job with permissions: {} and only the webhook secret.
  4. Add it to the org allow-list after review.

Why → Each action is a dependency with full job access.

Interview tip → "If it's ten lines of curl, I write the ten lines."

All GitHub Actions questions Roadmap: GitHub Actions

More on Security Hardening & Supply Chain