# Practices: Secure

Part of The Tech Meta, December 2026, as text for agents. The issue in short, and its other files: https://thetechmeta.com/data.md

- Data as of 1 December 2026, the last snapshot ("today" below)
- Snapshots: 19, from 1 June 2025 to 1 December 2026

## Secure

How the repo and what it ships are protected from mistakes and attacks.

Of the 25 practices here, 5 are made for coding agents. 4 are in more than half of the pro repos. Of the 21 read since June 2025, 13 have gained 10 points or more in the pro scene.

### The practices

- **Files kept from the agent** (AI): A list of files the agent must not read: an ignore file, or a deny rule on secrets in its settings.
  - Looks for .cursorignore, .aiexclude, .claudeignore and the like, or a deny rule on secrets in committed settings. Read in repo files.
  - Reading: 14 of the 19 commit a .cursorignore; 2 deny secret files in their Claude Code settings.
- **Security rules in the instructions** (AI): The instruction file has a section on security, or tells the agent never to commit or log a secret.
  - Looks for a root instruction file with a heading about security, or a rule against committing or logging secrets. Read in instruction files.
- **Permission rules committed** (AI): A list shared by the team of what the agent may do without asking, and what it may never do.
  - Looks for an allow, ask or deny list in .claude/settings.json, or .cursor/cli.json, .codex/rules, .gemini/policies. Read in repo files.
  - Reading: 18 of the 22 hold an allow list and 6 a deny list: the shared file saves prompts more often than it forbids.
- **Skills and commands for security** (AI): A skill, a saved prompt or a helper agent whose job is a security review, an audit or a fix.
  - Looks for a skill, command or subagent named for security, vulnerabilities or threats. Read in repo files.
- **Agent's tools limited in CI** (AI): The workflow that runs the agent names the tools it may use, and does not hand it the whole shell.
  - Looks for a workflow that calls a coding agent and lists the tools it may or may not use, without allowing every shell command. Read in workflow files.
  - Reading: 17 of the 39 repos that run an agent in CI limit its tools; 4 more list them but allow every shell command. In 5, anyone can trigger it.
- **Actions pinned to a commit**: Each GitHub Action is called by a commit hash, not by a tag its author can move to new code.
  - Looks for 90% or more of the third-party actions in the workflows pinned to a full commit SHA. Read in workflow files.
  - Reading: 34 of the 87 began between mid-March and mid-June 2026, the weeks of the Trivy and TanStack compromises.
- **Workflow audit (zizmor)**: A linter for GitHub Actions workflows: injection risks, loose permissions, actions that are not pinned.
  - Looks for a zizmor config, or zizmor called from a workflow. Read in repo files.
- **Workflow tokens scoped**: A repo's workflows say what their GitHub token may do, instead of taking the default rights.
  - Looks for a permissions key, other than write-all, at the top of 90% or more of a repo's YAML workflows, or in each of their jobs; a repo with no workflow does not have it. Read in workflow files.
  - Reading: Most do it in part: the median pro repo scopes it in 78% of its workflows, short of the 90% this row asks; 7 of the 217 in none.
- **Checkout keeps no token**: The checkout steps leave the GitHub token off the disk, where a later step could read it.
  - Looks for persist-credentials: false on 90% or more of the actions/checkout steps of a repo's workflows; a repo with no checkout step does not have it. Read in workflow files.
  - Reading: 16 of the 31 run zizmor, whose audit flags a checkout that keeps its token; 5 of the other 190 do.
- **Signed or attested builds**: A workflow signs what it builds, or attests where it was built, so a user can check where it came from.
  - Looks for a workflow that signs or attests what it builds: GitHub's attest actions, SLSA's generator, cosign sign or attest, npm's --provenance, a provenance or attestations input set to true. Read in workflow files.
- **SBOM**: A workflow writes a software bill of materials: the list of the components inside what it ships.
  - Looks for a workflow that writes a software bill of materials: syft, CycloneDX, an SPDX file, buildx's --sbom, an sbom input set to true. Read in workflow files.
- **Threat model committed**: A written analysis of what could go wrong and who could attack, kept in the repo for people and agents.
  - Looks for a markdown file named for a threat model. Read in repo files.
  - Reading: None before May 2026. 11 of the 14 sit in .oss-scanner/, the folder of Anthropic's OSS Scanner.
- **Release cooldown**: A wait of some days before a newly published package version can be installed.
  - Looks for a minimum release age in the pnpm, npm, Yarn, Bun or uv config, or a cooldown in Dependabot or Renovate. Read in repo files.
  - Reading: 30 of the 68 wrote it between mid-March and mid-June 2026, the weeks of the Trivy, axios and TanStack compromises.
- **Code scanning in CI**: A static analysis tool, run from a workflow, looks for vulnerabilities in the code.
  - Looks for CodeQL, Semgrep, Sonar, Snyk Code, Bandit or gosec run by a workflow. Read in workflow files.
  - Reading: 9 more pro repos get GitHub code scanning comments with no scanner of any kind in a workflow: default setup needs no workflow file.
- **Dependency bot**: A bot that opens pull requests to update dependencies.
  - Looks for a Dependabot or Renovate config. Read in repo files.
  - Reading: Renovate went from 14 pro repos to 35; 12 of the 17 that took Dependabot's file out run Renovate today, none the other way.
- **Security policy**: SECURITY.md: how to report a vulnerability in the project.
  - Looks for SECURITY.md at the root, in .github/ or in docs/. Read in repo files.
- **Code owners**: A file that names who owns each part of the code; GitHub asks them to review a change to it.
  - Looks for a CODEOWNERS file at the root, in .github/ or in docs/, where GitHub reads it. Read in repo files.
- **Dependency audit in CI**: A workflow checks the dependencies against lists of known vulnerabilities.
  - Looks for a workflow that checks the dependencies for known vulnerabilities: an npm, pnpm or yarn audit, dependency review, OSV-Scanner, Trivy, Grype, Snyk, Socket, govulncheck, cargo audit, cargo deny on advisories, pip-audit and the like. Read in workflow files.
  - Reading: 11 of the 48 run Trivy; 7 did on 1 March 2026, 18 days before its action's tags were hijacked; 5 of the 7 still do.
- **Fuzz tests**: Tests that feed the code random or malformed input, to find the crashes ordinary tests miss.
  - Looks for code in a fuzz folder, a fuzz target named so or a ClusterFuzzLite setup, or a fuzzer run by a workflow. Read in repo files.
- **Secret scanning in CI or config**: A scanner looks for keys and passwords committed by mistake: in CI, in a git hook, or set up by a config.
  - Looks for Gitleaks, TruffleHog, GitGuardian, detect-secrets or secretlint run by a workflow, a config file of one of them, or a git hook that scans for secrets. Read in repo files.
- **Default branch protected** (Basic): GitHub protects the default branch: a rule limits who can push to it, or how.
  - Looks for the default branch reported as protected by GitHub's API: a branch protection rule or a ruleset. Read in GitHub's API.
  - Reading: 125 of the 209 protect it with an active ruleset and 84 without one.
- **Pull request required**: A rule of the default branch lets a change in only through a pull request.
  - Looks for a rule that requires a pull request among those GitHub's API lists for the default branch, the rules of its rulesets. Read in GitHub's API.
  - Reading: 68 of the 101 also require status checks to pass and 22 a merge queue; in 11 a rule asks Copilot to review.
- **Private vulnerability reporting on** (Basic): Anyone can tell the maintainers of a vulnerability in private, on GitHub, before it is made public.
  - Looks for private vulnerability reporting turned on, as GitHub's API reports it. Read in GitHub's API.
- **Security bot on pull requests**: A bot that comments on pull requests with security findings: code, dependencies or secrets.
  - Looks for 2 or more recent comments from a security bot: code scanning, dependency or secret alerts, security review. Read in pull requests.
- **GitHub App token in CI**: Some CI tasks act as a GitHub App, with a token of the app's own.
  - Looks for actions/create-github-app-token or the github-app-token action in a workflow. Read in workflow files.

### Where the cooldown is set

Of the repos with a release cooldown. A repo can set it in several places, and in a package of a monorepo.

|  | Pro scene | Ladder |
|---|---|---|
| Dependabot | 43% [32–54], 29 of 68 | 61% [44–75], 20 of 33 |
| pnpm | 38% [28–50], 26 of 68 | 27% [15–44], 9 of 33 |
| Renovate | 19% [12–30], 13 of 68 | 15% [7–31], 5 of 33 |
| uv | 15% [8–25], 10 of 68 | 9% [3–24], 3 of 33 |
| npm | 10% [5–20], 7 of 68 | 6% [2–20], 2 of 33 |
| Bun | 7% [3–16], 5 of 68 | 6% [2–20], 2 of 33 |
| Yarn | 6% [2–14], 4 of 68 | 6% [2–20], 2 of 33 |

### How the agent runs in CI

Of the repos whose workflows call a coding agent. Read from the workflow text, over all of a repo's agent workflows.

|  | Pro scene | Ladder |
|---|---|---|
| Its tools are listed | 54% [39–68], 21 of 39 | 71% [36–92], 5 of 7 |
| Only members can trigger it | 41% [27–57], 16 of 39 | 29% [8–64], 2 of 7 |
| Named bots can trigger it | 21% [11–36], 8 of 39 | 57% [25–84], 4 of 7 |
| Triggered by pull_request_target | 15% [7–30], 6 of 39 | 29% [8–64], 2 of 7 |
| Anyone can trigger it | 13% [6–27], 5 of 39 | 0% [0–35], 0 of 7 |
| Its sandbox or its approvals are switched off | 13% [6–27], 5 of 39 | 0% [0–35], 0 of 7 |
| Its tool list allows every shell command | 10% [4–24], 4 of 39 | 43% [16–75], 3 of 7 |

### What committed permissions hold

Of the repos with a committed .claude/settings.json.

|  | Pro scene | Ladder |
|---|---|---|
| An allow list | 50% [34–66], 18 of 36 | 75% [41–93], 6 of 8 |
| A deny list | 17% [8–32], 6 of 36 | 0% [0–32], 0 of 8 |
| Every MCP server of the project approved | 6% [2–18], 2 of 36 | 13% [2–47], 1 of 8 |
| A deny rule on secrets | 6% [2–18], 2 of 36 | 0% [0–32], 0 of 8 |

### Scanners called from CI

Named in a GitHub Actions workflow. GitHub's own settings leave no file.

|  | Pro scene | Ladder |
|---|---|---|
| CodeQL | 20% [16–26], 45 of 221 | 9% [5–13], 17 of 200 |
| zizmor | 8% [5–13], 18 of 221 | 6% [3–10], 12 of 200 |
| cargo audit or deny | 5% [3–9], 12 of 221 | 2% [1–4], 3 of 200 |
| actionlint | 5% [3–9], 11 of 221 | 5% [2–8], 9 of 200 |
| Trivy | 5% [3–9], 11 of 221 | 1% [0–4], 2 of 200 |
| npm, pnpm or yarn audit | 5% [3–9], 11 of 221 | 1% [0–4], 2 of 200 |
| OpenSSF Scorecard | 4% [2–7], 8 of 221 | 2% [1–5], 4 of 200 |
| Dependency review | 3% [2–6], 7 of 221 | 4% [2–7], 7 of 200 |

### Security bots on pull requests

2 or more comments among the latest 100 review comments and the pull request ones of the latest 100 issue comments. Today only.

|  | Pro scene | Ladder |
|---|---|---|
| GitHub code scanning | 10% [7–15], 23 of 221 | 12% [8–17], 24 of 200 |
| Socket | 10% [6–14], 21 of 221 | <1% [0–3], 1 of 200 |
| SonarQube Cloud | 2% [1–5], 4 of 221 | 2% [1–5], 4 of 200 |
| Semgrep | 1% [0–4], 3 of 221 | 0% [0–2], 0 of 200 |
| Hacktron | <1% [0–3], 2 of 221 | 0% [0–2], 0 of 200 |
| Built in-house | <1% [0–3], 2 of 221 | 0% [0–2], 0 of 200 |
| Strix | <1% [0–3], 2 of 221 | 0% [0–2], 0 of 200 |
| Superagent | <1% [0–3], 2 of 221 | 0% [0–2], 0 of 200 |

### Outside evidence

Published studies, the most recent first.

- Observed. Published study, August 2026: In 481 public CLAUDE.md files, only about 4-16% of the security rules found had a matching built-in control. Source: [When "Do Not" Is Not Deny, arXiv 2608.23550](https://arxiv.org/abs/2608.23550)
- Observed. Published study, January 2026: In a study of 117,062 dependency changes by agents and people, agents selected a version with a known vulnerability in 2.46% of cases. Source: [Towards a Benchmark for Dependency Decision-Making, arXiv 2601.00205](https://arxiv.org/abs/2601.00205)
- Observed. Published study, November 2025: In 2,303 agent context files from 1,925 repos, security is specified in 14.8%. Source: [Agent READMEs, arXiv 2511.12884](https://arxiv.org/abs/2511.12884)

### Not seen

How the product is run (access, infrastructure, incident response), the settings GitHub shows only to a repo's admins (secret scanning, push protection, the rights of the workflows' token) and what a developer's machine enforces. pnpm 11, Yarn 4.15 and Dependabot wait before a new release by default: a cooldown counted here is one written in the repo. 16 more pro repos write none and pin a pnpm or a Yarn that waits by default.

The Tech Meta, v1. Built from public git history and the GitHub API. No person in the data is named or counted: only repos, files and bot accounts.
