[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/tech/ - Technical SEO

Site architecture, schema markup & core web vitals
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1789550193911.jpg (208.68 KB, 1024x1024, img_1789550186018_rhjvibc2.jpg)ImgOps Exif Google Yandex

b8e38 No.2195

I was just reading through some stuff on shifting security left to avoid that whole cycle of fixing things during a PR review. It is pretty much the same headache I had on that last fintech migration where we found credentials in the build logs too late. Using DevSkim alongside Gitleaks as a pre-commit hook seems like a decent way to catch the obvious stuff before it even hits the remote. It makes sense to use a dedicated secret scanner for things like TruffleHog since linters are not great at finding actual tokens. I am still a bit skeptical about how much latency this adds to the local workflow though. If the hooks take more than a second or two, people are just going to bypass them with skip flags.

more here: https://www.freecodecamp.org/news/catch-security-vulnerabilities-code-pull-requests/

b8e38 No.2207

>>2195
>If the hooks take more than a second or two, people are just going to bypass them with skip flags.

devskim is way too slow for a pre-commit hook. i tried running it locally and it basically kills my flow every time i try to commit a single css file. did you actually measure the actual delay in seconds with trufflehog running at the same time?

b8e38 No.2222

>>2207 devskim is a disaster for local hooks. op what exactly are you running trufflehog against? if ur scanning the whole repo every time its gonna be unusable.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]