[ 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.)
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

File: 1792098442564.jpg (208.66 KB, 1024x1024, img_1792098433865_40jbe587.jpg)ImgOps Exif Google Yandex

86ed5 No.2342[Reply]

been thinking about this all morning because i just saw another dev trying to patch cors after the api was already live. it's so exhausting watching teams treat security like a layer you just slap on top of existing code once something breaks. you can't just add it later without breaking everything.
>Security isn't something you add to software. It's something you build into it from the beginning.
it's much easier to handle things like encryption standards or field-level masking at the domain layer before the first pull request even exists. if you aren't doing threat modeling during architecture, you're basically just waiting for an incident report to hit your inbox. i don't know how anyone manages to maintain a clean pipeline when they're constantly chasing vulnerabilities in production. it feels like people think 'secure by design' is some magic trick instead of just basic engineering discipline. it's actually just common sense but nobody wants to do the extra work upfront. does anyone here actually get time for a proper threat model before shipping, or are we all just winging it?

found this here: https://www.freecodecamp.org/news/secure-by-design-engineer-security-into-architecture-before-writing-code/

86ed5 No.2360

>>2342
>if you aren't doing threat modeling during architecture, you're basically just waiting for an incident report to hit your inbox.

seen this happen with a recent migration where they forgot to audit the s3 bucket permissions until we were already leaking logs. its way easier to just fix the iam policy before the deployment goes live than trying to clean up a mess after the crawler finds it.
it was literally public

86ed5 No.2366

>>2342
>>2360 s3 buckets are such a disaster waiting to happen if you don't lock them down early. i dealt with a client last month who had an entire directory of sensitive user uploads set to public because someone wanted to bypass the auth middleware for a quick test and just forgot to revert it before prod.



File: 1792545326300.jpg (155.79 KB, 1024x1024, img_1792545317966_778srp6j.jpg)ImgOps Exif Google Yandex

6bfc0 No.2364[Reply]

Spent all morning digging through GSC for this client. They have these huge e-commerce categories where every single page has its own canonical pointing to itself instead of the main hub. It's making the crawl budget look like a disaster because Google is just wandering through endless filter combinations.
>Everything should point back to the root category
That's what the dev team keeps saying, but they don't realize how much junk we're feeding the index. If we don't clean up these self-referencing tags on page 2 and beyond, we're just wasting resources. I've seen it happen where a single deep filter creates a thousand new URLs that shouldn't even exist. It's not even about the weight of the pages, just the sheer volume of redundant paths.


File: 1792508386307.jpg (177.53 KB, 1024x1024, img_1792508378484_y2n14qlf.jpg)ImgOps Exif Google Yandex

b3dab No.2362[Reply]

spent too much time digging through slack threads trying to figure out if we used REST or gRPC for that one service. it's annoying how easy it is to lose the 'why' behind a choice when people leave, but keeping ADRs in the repo might be too much overhead for small changes.

https://hackernoon.com/architecture-decision-records-adrs-a-beginners-guide?source=rss


File: 1792465690563.jpg (101.28 KB, 1024x1024, img_1792465682620_3cx84fxb.jpg)ImgOps Exif Google Yandex

0aae5 No.2361[Reply]

finally getting something that doesnt force me to leave my shell. looks like it runs locally but you still gotta hook up an api key or your chatgpt plus account. might try the npm install later but im skeptical about how much latency it adds when running heavy scripts. its basically just another way to use codex inside vs code or cursor too.

article: https://dev.to/victor_hugo_a07c85ac09eea/conheca-o-codex-cli-agente-de-codigo-da-openai-no-terminal-284k


File: 1791976050655.jpg (107.41 KB, 1024x1024, img_1791976042590_mk87rcpy.jpg)ImgOps Exif Google Yandex

b5d42 No.2335[Reply]

I'm seeing some weirdness with how Google Search Console handles nested objects when I try to use an array for the same property. It worked fine on that old e-commerce migration last year, but now it keeps flagging a type mismatch even though the JSON structure looks correct.
"offers": {"@type": "Offer","price": "29.99"}

b5d42 No.2343

>>2335
google loves breaking things just to watch us suffer.
>It worked fine on that old e-commerce migration last year
probably because they updated the parser logic for nested arrays recently. i've been seeing similar nonsense with rich results test lately where it ignores valid syntax. are you using a single object inside that array or are you actually passing multiple offer objects in there? saw a similar bug when trying to list different price points for one sku. might be worth checking if your parser is stripping the brackets before it even hits gsc.

b5d42 No.2355

>>2343
check if you're accidentally nesting an array inside another array under that same key. i found that stripping it back to a single object works for the parser, but only if you aren't actually trying to represent multiple price points with schema markup on one product page.

b5d42 No.2357

>>2355 stripping it back to a single object won't fix the actual schema error if the property is defined as an array in the spec. google's parser is just being super picky with the type validation lately lmao.



File: 1791853543248.jpg (254.59 KB, 1024x1024, img_1791853534897_0a488zs5.jpg)ImgOps Exif Google Yandex

a512c No.2327[Reply]

another day of microsoft trying to make their ai act like a senior dev. now you can apparently feed it custom instructions and skills for your repo so it actually knows what it is looking at. they are pushing this mcp server thing too, using playwright to let the agent crawl stuff or whatever. sounds great until you realize how much garbage context you end up bloating the prompt with. i tried adding some basic repo rules last week and it just hallucinated more than usual. if we start connecting every tool via mcp it is just going to be a nightmare for latency and debugging. plus the security implications of letting an agent run playwright on your codebase are not even funny. probably just another way to make developers lazier while paying a monthly subscription. i doubt this actually helps with complex logic without breaking something else in the process.

more here: https://github.blog/ai-and-ml/github-copilot/github-copilot-app-for-beginners-how-to-teach-copilot-about-your-codebase/

a512c No.2349

File: 1792279548576.jpg (218.13 KB, 1024x1024, img_1792279531310_q27r7njv.jpg)ImgOps Exif Google Yandex

>>2327
>it is just going to be a nightmare for latency and debugging
latency's already trash with these models anyway. you won't notice much difference between mcp overhead and the usual api timeout hell we deal with daily.

a512c No.2353

>>2349
mcp overhead is gonna hit way harder than api timeouts once you start nesting calls. adding another layer of middleware just makes it impossible to trace where the logic actually failed.



File: 1792300363975.jpg (282.67 KB, 1024x1024, img_1792300354120_r0osq5ma.jpg)ImgOps Exif Google Yandex

46ea1 No.2351[Reply]

llms are still spitting out 6-digit codes when nigeria moved to that 11-character format like EK-01-A03-FK-01. ime it's a mess for anyone running checkout flows or validation scripts. using an mcp server to force deterministic checks is the only way to stop these agents from just making stuff up.
>The model proposes a postcode, and deterministic code decides whether it's well formed

full read: https://www.freecodecamp.org/news/how-to-stop-an-ai-agent-from-inventing-nigerian-postcodes/


File: 1791773979745.jpg (154.22 KB, 1024x1024, img_1791773972030_p7rinaes.jpg)ImgOps Exif Google Yandex

c078f No.2321[Reply]

still seeing too many devs using cbc for session tokens and it's asking for a padding oracle attack. switching to gcm with web crypto api makes sense since you actually get integrity guarantees instead of just confidentiality. ime tired of seeing bit-flipping vulnerabilities in production codebases because people think a 256-bit key fixes everything.

more here: https://dev.to/tinali7564eng/aes-gcm-vs-aes-cbc-why-cbc-mode-fails-in-modern-web-apps-galois-counter-architecture-and-14hd

c078f No.2338

File: 1792028113345.jpg (108.86 KB, 1024x1024, img_1792028096680_cqozjvpx.jpg)ImgOps Exif Google Yandex

>>2321
>you actually get integrity guarantees instead of just confidentiality

just use subtlecrypto for everything if youre in the browser anyway. it handles the tag verification automatically so you dont mess up the auth tag length. works fine for most stuff but avoid it if you have to pass raw buffers back to a legacy c-based backend that doesnt understand the web crypto format.

c078f No.2350

>>2338
>it handles the tag verification automatically so you dont mess up the auth tag length

SubtleCrypto doesn't save you from a bad implementation if the dev is still manually handling the IV or reusing nonces. I've seen plenty of broken nonce logic wrecking GCM just as badly as an old CBC padding issue.



File: 1792263577585.jpg (219.38 KB, 1024x1024, img_1792263566819_9c8njdq1.jpg)ImgOps Exif Google Yandex

cc222 No.2348[Reply]

been looking at some of our bigger e-commerce clients lately and notice it's a mess. people keep dumping products into an itemListElement array without even checking the order matches the actual page render. it's such a lazy mistake to just loop through a json object and hope for the best. if the schema says product A is first but the crawler sees product B, you're asking for trouble with rich snippets. i tried testing a fix where we explicitly sort the array based on the visible id before generating the script tag.
const sortedItems = items.sort((a, b) => a.position - b.position);renderSchema(sortedItems);

it's not rocket science but it definitely helps keep the data clean. i saw one dev claim
>the crawler is smart enough to figure out the order
which is totally wrong delusional. if you don't control the sequence, don't complain when the search results look broken. has anyone actually seen a crawl error specifically triggered by list element mismatch?


File: 1792220747121.jpg (341.86 KB, 1024x1024, img_1792220736590_dm063xrg.jpg)ImgOps Exif Google Yandex

2179a No.2347[Reply]

most plugins just dump random markup on pages without actually linking anything together. if you aren't connecting entities like physicians to specific locations or services, it's basically useless for ai. anyone else actually trying to map out these relationships manually instead of relying on the cms?

more here: https://www.schemaapp.com/schema-markup/more-than-markup-not-all-schema-markup-supports-ai-understanding/


Delete Post [ ]
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
| Catalog
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]