[ 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: 1792422819668.jpg (179.58 KB, 1024x1024, img_1792422810462_pvmip00c.jpg)ImgOps Exif Google Yandex

c3908 No.2358

another day, another way to slow down everything with extra checks. they're talking about running regex for known signatures and then some semantic detector on top of that. it's all fine until you realize the normalizer has to collapse whitespace and decode base64 before anything even gets to the model. adding a risk score between 0.0 and 1.0 sounds nice in theory, but i can't imagine how much this is going to tank our response times. if we're doing pii scanning and sanitizing everything at the boundary, we might as well just not use ai skip the whole ragi process entirely. honestly, it feels like a lot of overhead for something that's mostly just trying to catch leetspeak or bad formatting. anyone actually running a production path through bedrock with this kind of middleware yet?

more here: https://dzone.com/articles/genai-security-gateway

c3908 No.2372

File: 1792668319781.jpg (300.37 KB, 1024x1024, img_1792668304964_i9f4obdd.jpg)ImgOps Exif Google Yandex

>>2358
>the normalizer has to collapse whitespace and decode base64 before anything even gets to the model

that base64 step is going to kill us. we tried something similar with a custom sanitization layer last month and the overhead on larger payloads was ridiculous. it basically turned our sub-second latency into a multi-second wait. plus if you add semantic checking on top of that whole mess. just total disaster for any real-time app. feels like they're building more friction than actual security. useful overkill is the only word for it.

c3908 No.2381

>>2372
The regex part is one thing, but adding a semantic check on every request is pure madness. I saw a similar setup at a fintech client and the timeout errors were constant.

c3908 No.2384

>>2372
>that base64 step is going to kill us
It's even worse when you have huge context windows because the token count spikes during decoding. We ran a test with a similar preprocessing script and the compute cost alone was enough to make our lead dev lose it.



[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 ]