Skip to content

hookified - chore: defense - add CODEOWNERS for high-risk paths - #184

Merged
jaredwray merged 2 commits into
mainfrom
cursor/defense-codeowners-96ce
Aug 19, 2026
Merged

hookified - chore: defense - add CODEOWNERS for high-risk paths#184
jaredwray merged 2 commits into
mainfrom
cursor/defense-codeowners-96ce

Conversation

@jaredwray

Copy link
Copy Markdown
Owner

Summary

Add CODEOWNERS for high-risk paths (section 2) and reconcile checklist items that are already true on main.

Status update: DEFENSE_IN_DEPTH.md: CODEOWNERS → (PR pending); §1 → PR #175; several §3/§4/§5/§6 items → verified

Changes

  • Add .github/CODEOWNERS for /.github/, /.cursor/, /.devcontainer/, and /scripts/ owned by @jaredwray.
  • Check off already-true catalog items (pnpm pin, lifecycle scripts, frozen lockfile, least-privilege Actions, no commit-back, no pull_request_target, accurate repository.url, Aikido and Socket GitHub apps).

Verification

  • CODEOWNERS matches the skill template with @jaredwray
  • Reconciled checkboxes against repo state (did not uncheck anything)

Reference: defense-in-depth-nodejs § 2

Please check if the PR fulfills these requirements

  • Followed the Contributing and Code of Conduct guidelines.
  • Tests for the changes have been added (for bug fixes/features) with 100% code coverage.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
chore / security

Open in Web Open in Cursor 

cursoragent and others added 2 commits August 19, 2026 17:24
Cover .github, .cursor, .devcontainer, and scripts with @jaredwray.
Reconcile already-true defense-in-depth checklist items.

Co-authored-by: Jared Wray <me@jaredwray.com>
Co-authored-by: Jared Wray <me@jaredwray.com>
@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (880b9b6) to head (a98a730).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #184   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          433       433           
  Branches       109       109           
=========================================
  Hits           433       433           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jaredwray
jaredwray marked this pull request as ready for review August 19, 2026 17:27

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a98a7301fe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread DEFENSE_IN_DEPTH.md
## 6. Security tooling

- [ ] Aikido runs on every build
- [x] Aikido runs on every build — verified (Aikido Security GitHub app on pull requests)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep the every-build Aikido item unchecked

For release, workflow_dispatch, and direct-main-push builds, none of the workflows under .github/workflows/ invoke Aikido, while the stated verification only covers the GitHub app running on pull requests. Marking “runs on every build” complete therefore overstates the protection for non-PR builds and can hide the remaining hardening work.

Useful? React with 👍 / 👎.

Comment thread DEFENSE_IN_DEPTH.md
- [x] No `pull_request_target` on workflows that run untrusted PR code — verified
- [ ] Artifact-publishing workflows disable `actions/setup-node` default caching (`package-manager-cache: false`) to prevent cache poisoning
- [ ] No npm tokens (or other registry credentials) in Actions secrets
- [x] No npm tokens (or other registry credentials) in Actions secrets — verified (no npm/registry tokens in workflow YAML; publish uses OIDC `id-token`)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Verify the Actions secret inventory before checking this item

The absence of npm-token references in workflow YAML does not establish that no npm or registry credential exists in repository, environment, or organization Actions secrets, because configured secrets are stored outside the repository and need not currently be referenced. With a stale NPM_TOKEN still configured, this item would falsely certify that direct-publish credentials have been removed; inspect the applicable Actions secret inventories or leave the item unchecked.

Useful? React with 👍 / 👎.

@jaredwray
jaredwray merged commit 0752116 into main Aug 19, 2026
13 checks passed
@jaredwray
jaredwray deleted the cursor/defense-codeowners-96ce branch August 19, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants