DevSecOps gets pitched as a culture shift with a platform attached. For a small engineering team, we’d start closer to the work: your repository, the pipeline that builds it, and the account that receives the release. Who can change each one, and who notices when something goes wrong?

You can begin with the tools you already have. Check which features your repository plan includes, pick an owner, and test one release path before buying another scanner.

Start with the frame, not the tools

NIST’s Secure Software Development Framework, or SSDF, groups the work into preparing the organization, protecting software, producing well-secured software, and responding to vulnerabilities. Use it to spot gaps in the way your team builds and maintains a product.

For example, scanning source code leaves a gap if an unreviewed workflow can publish a different artifact. Write down who owns repository settings, build identity, release approval, and the findings queue. One person can own several pieces; each piece still needs an owner.

Lock down the repo first

Require review before changes reach the release branch. Include workflow files, build scripts, infrastructure definitions, and security rules in that review. A CODEOWNERS file helps route reviews; configure the repository’s rules to require the appropriate approval and inspect any bypass permissions.

Enable MFA or passkeys for people with write access, especially organization owners. Keep a tested account-recovery path so losing a device doesn’t become an excuse to share an administrator login.

Use push protection where your repository and plan support it. A local Gitleaks hook can catch mistakes earlier, but a developer can bypass a local hook. Keep a server-side or CI check too. If a real credential was exposed, revoke or rotate it and review its use; deleting the commit isn’t enough.

Put three checks in CI

These are useful starting checks, with coverage you still need to understand:

  1. Dependency checks: identify supported packages with known advisories, and use Dependabot or Renovate to propose updates. Review the manifest and lockfile together. A lockfile records selected dependencies; it does not by itself make the whole build reproducible or establish that a package is trustworthy.
  2. Static analysis: choose an analyzer and rules that fit your languages. Review what it misses as well as what it flags. Product features and licensing vary by repository and deployment.
  3. Secret scanning: check new changes and the history your scanner actually receives. A shallow checkout can leave older commits out of the scan.

Decide which findings block release, who can approve an exception, and when that exception expires. Treat a scanner crash, missing database, or skipped required job as an incomplete assessment. A green pipeline should mean the required checks ran and met the release policy.

Protect the pipeline itself

GitHub’s secure-use guidance recommends full commit SHA pins for third-party actions and narrow token permissions. Review the pinned action and its updates: a pinned wrapper can still download mutable code.

Keep untrusted pull-request execution away from release credentials and production networks. Review caches and artifacts that pass between those jobs. A privileged job must not execute a script just because another workflow uploaded it.

OIDC federation can replace a stored cloud key, but its trust policy still needs to restrict the repository, release context, and resulting cloud permissions. Grant id-token: write only to the job that needs to request a token. This YAML fragment belongs inside that job; it is not a complete workflow:

permissions:
  contents: read
  id-token: write   # only for the job that deploys

steps:
  - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683  # v4.2.2

The permission lets the job request an OIDC token. It doesn’t grant cloud access on its own. Follow the provider’s trust-configuration steps in GitHub’s OIDC documentation, and keep build and scan jobs out of that role.

Make someone responsible for the findings

A rotating triage owner can work for a small team, provided the handoff is explicit. Keep the affected component, evidence, owner, next action, and review date with each finding. Don’t let rotation reset the age of an unresolved issue.

Publish a vulnerability-reporting route and make sure someone monitors it. A disclosure policy should tell reporters where to send details and what testing is permitted. A contact address alone doesn’t define that scope.

Threat model the risky features

Before changing payments, account recovery, or access to customer records, talk through how the workflow could be abused. Can one customer read another’s record? Can a refund be repeated? What happens if a callback arrives twice?

Turn the answers into tests. Keep one allowed case alongside each denied case, so a broken feature doesn’t look like a successful security fix.

A realistic order of work

Start with repository review rules and account protection. Then add the checks your team can maintain, separate release credentials from untrusted execution, and assign triage and incident owners. Test an allowed release, a blocking finding, and a failed assessment before relying on the pipeline.

Use your actual backlog to set the pace. The setup is only the beginning; tool updates, exceptions, and findings need continuing attention. Contact us if you’d like to work through that release path together.

DevSecOps services from Libre Labs View all posts