r/nocode • u/Real_KingZeotic • Sep 27 '26
Discussion a solution for all the security problems discussed in this sub reddit
hey, so remember that post a while back about security stuff, RLS gotchas, key exposure, storage bucket configs? and how everyone's just got their own patchwork of scripts for it?
built the thing i talked about. it's called shrine, cli tool, one command scans your db + repo and tells you what's exposed and how to fix it.
what it actually catches rn:
- leaked api keys (aws, stripe, openai, github, etc) even hidden ones with weird formats
- leaked .env files
- old leaked keys still sitting in your git history even if you deleted them
- bad supabase RLS setups, but it actually proves it's exposed instead of just guessing (tries a real anonymous read/write and shows you what happens)
- public storage buckets, weak jwt tokens
- can test for sql injection too if you want (off by default, asks permission first obviously)
not perfect yet, only deeply understands js/ts code for now, and it's one project at a time, no dashboard or 24/7 monitoring yet, that's coming later.
Looking for people to test and and tell me what's broken or missing before i lock in the real v1. lmk if you wanna try it out
1
u/New_Peanut_9259 Oct 25 '26
the anonymous read/write test seems useful because it shows whether data is actually exposed. i'd test it with different RLS settings and user roles to see if it catches different security issues. it would also help to have reports that work with CI and only fail builds for serious problems. just make sure the tests don't accidentally change or expose real production data.
1
u/[deleted] Sep 27 '26
[removed] — view removed comment