BeforeShip is intentionally conservative. Some findings are heuristic and may need review.
BeforeShip reports real env files present in the scanned project. This does not prove the file is tracked by git.
Check:
git check-ignore .env
git status --shortBeforeShip looks for recognizable schema/validator patterns such as:
zod, yup, joi, valibot, safeParse, schema.parse, validator
If your project uses a custom validator, the finding may be a false positive.
BeforeShip looks for common patterns such as:
rateLimit, limiter, ratelimit, throttle, 429
It also checks nearby local imports from route files.
BeforeShip recognizes common idempotency patterns:
idempotency
provider event/payment IDs
processed webhook tables
ON CONFLICT DO NOTHING
upsert
If your idempotency logic is hidden behind a custom abstraction, use fixed_when to decide whether the finding is safe to ignore.
v0.1 does not include inline suppressions yet. For now:
- use
.beforeshipignoreto exclude generated/demo paths - use
beforeship.config.ymlscan.excludefor broader exclusions - prefer improving detector fixtures when a pattern is common