Missing auth check on a new route
userId comes from the query string, so anyone can read any shopper’s saved carts. Require a session and use its user.
Nitpick reads the diff the moment it opens, comments on the exact lines that need a second look, and writes the fix so the author can apply it in one click.
For GitHub, GitLab, and Bitbucket.
Openpriya-raman wants to merge 1 commit intomainfrompriya/saved-carts
Nitpick is reviewing the pull request.
Reviewing pull requests at
What it catches
Every finding is tied to the rule that raised it. Turn a rule off and the review below changes with it, the same way it would on your own pull requests.
Move it to a secret and rotate it. It is already in this branch’s history.
Nothing in test/ calls POST /shipments/export.
No session check, so any caller can export any account’s shipments.
An export of 2,000 shipments runs 2,001 queries. Fetch carriers once.
If putObject rejects, the request hangs until it times out.
No references anywhere in the repo. Safe to delete.
Start to merge
The same pull request, played back step by step.
10:02:14Opened
Forty new lines across a route and a component.
priya-raman opened this pull request
10:02:52Reviewed
Three comments on the exact lines. Both high-severity ones carry a fix.
nitpick reviewed: 3 issues, 2 suggested fixes
10:09:30Fixes pushed
Priya applies the two fixes and adds the empty state. One commit.
priya-raman pushed 1 commit: apply suggestions, add empty state
10:14:05Approved
A human reviewer reads a smaller, cleaner diff and signs off.
tomas-ferreira approved these changes
10:15:41Merged
Checks are green and nothing is left to nitpick.
priya-raman merged commit a3f9c1e into main
Fits your workflow
Install Nitpick on GitHub, GitLab, or Bitbucket, in the cloud or on your own instance. It comments in the thread, posts a check, and reads its rules from a file in your repository.
PRpriya-raman opened pull request #2184· Add saved carts for signed-in shoppers
Empty state isn’t handled
A shopper with no saved carts sees a heading over an empty list. Show a short message and a link back to the catalog.
1# .nitpick.yml2version: 134review:5 on: [opened, synchronize]6 min_severity: low7 suggest_fixes: true89rules:10 n-plus-one: on11 missing-auth: on12 unhandled-errors: on13 secrets: { severity: high, block_merge: true }14 route-tests: { paths: ["src/routes/**"] }15 dead-code: off1617ignore:18 - "**/*.generated.ts"19 - "vendor/**"Security
Nitpick needs a diff for about a minute. It holds it in memory for that long and no longer.
Diffs stay in memory for the length of a review and are discarded when the comments post. Model calls run with zero data retention.
Audited every year by an independent firm. The latest report is available under NDA.
An isolated deployment with its own encryption keys and network, on the Enterprise plan.
Reviews run in Virginia or Frankfurt, and code never leaves the region you choose.
Across all customers. Median and apply rate over the last 90 days.
“Our senior engineers stopped leaving the same five comments on every pull request. Nitpick leaves them in the first minute, with the fix attached, and people apply it.”
“The auth rule caught a route that would have served patient records to anyone with the URL. It was in staging for eleven minutes.”
“It is quiet. Three comments, not thirty. So when Nitpick flags something, the team actually reads it.”
Pricing
An author is anyone who opens a pull request in a month. Reviewers, approvers, and bots are free.
$24per author / month
For teams that want every pull request reviewed.
$40per author / month
For companies with an identity provider and auditors.
Talk to us
For security reviews, regions, and isolation.
Book a demo
Thirty minutes with an engineer from our team. We install it on a repository you choose and review your last ten pull requests together.