Zum Hauptinhalt springen
LIVE
CVSS 7.4CVE-2026-138376 | AsyncSSH 1.13.1 before 2.24.2 contains an improper authentication vulnerability in SSHConnection._match_known_hosts that accumulates trusted client host keys across host-based authentication attempts on one connection. With trust_client_host enabled, attackers holding one known client host's private key can retry naming another known host and log in as users authorized only from that host.CVSS 7.6CVE-2026-138377 | AsyncSSH 1.13.1 before 2.24.2 contains an improper certificate validation vulnerability that allows remote clients to authenticate as users by abusing X.509 certificates matched in known_client_hosts. Attackers can make a failed host-based authentication attempt with any host key, adding host-only CA certificates to the trust anchors, then authenticate using user certificates issued under those CAs.CVSS 9.1CVE-2026-138378 | react-native-pure-jwt before 3.1.1 on Android contains a signature verification bypass vulnerability that allows unauthenticated attackers to forge tokens because RNPureJwtModule decode() calls JJWT parse() without algorithm pinning. Attackers can craft a token with header alg none and an empty signature to have arbitrary claims accepted as verified, forging identities or roles.CVSS 6.9CVE-2026-138379 | flare-redact before 1.13.1 contains a redaction bypass vulnerability that leaks secrets because the redact() object walker masks sensitive keys only when values are strings. Numbers, objects, arrays and binary data under keys such as password, cvv, pin, cookie or authorization pass through unchanged, exposing secrets in clear text to logger, Sentry, gateway and Fluent Bit sinks.CVSS 6.9CVE-2026-138380 | MediaInfoLib before 26.10 contains a heap-based buffer over-read vulnerability in File_Ogg::Data_Parse() that allows attackers to read beyond heap buffers via crafted Ogg segment sizes. Attackers can supply an Ogg file whose segment sizes exceed the page payload, wrapping the unsigned offset check and causing memcpy over-reads that crash the process or leak heap memory.CVSS 6.9CVE-2026-138381 | GNU LibreDWG 0.14 before 0.15 contains a heap use-after-free vulnerability in in_dxf.c new_object() where the OLE2FRAME oleclient pointer references freed memory after DXF import. Attackers can supply a DXF file with an OLE2FRAME entity to crash dxfwrite or similar applications and leak freed heap contents into exported output.CVSS 10.0CVE-2026-138227 | A vulnerability was found in D-Link R95 1.04B04Beta. This affects the function SetTimeSettings of the file /bin/ssi of the component DHMAPI. Performing a manipulation of the argument TZLocation results in os command injection. Remote exploitation of the attack is possible. The exploit has been made public and could be used.CVSS 10.0CVE-2026-138226 | A vulnerability has been found in D-Link R95 1.04B04Beta. Affected by this issue is the function SetSecureDNSSettings of the file /bin/ssi of the component DHMAPI SOAP interface. Such manipulation of the argument URI leads to os command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

Checking local-business NAP consistency in code

If you have ever done local SEO, you have heard the acronym NAP: Name, Address, Phone. The folklore is that these three fields should be byte-for-byte…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 8 Min. Lesezeit
Quelle: dev.to
Rubrik: Secure Programming

If you have ever done local SEO, you have heard the acronym NAP: Name, Address, Phone. The folklore is that these three fields should be byte-for-byte identical everywhere your business is listed (Google, Yelp, Apple Maps, the long tail of directories), or your local rankings suffer.



"Just compare the strings" is the instinct. Then you actually try it, and every assumption falls apart. This is a writeup of the engineering problems I ran into building a free NAP checker, and how I ended up solving them. No framework, just plain JavaScript and a few HTTP calls.






The core problem: equality is the wrong operator



Here is the same real business as three directories store it:




Joe's Plumbing & Heating, LLC   | 123 N Main St Ste 4   | (415) 555-0199
Joe's Plumbing and Heating | 123 North Main Street | +1 415-555-0199
Joe’s Plumbing & Heating LLC | 123 N. Main St. #4 | 415.555.0199






A human reads those as one business. === reads three different businesses across all three fields. The whole job is closing that gap without being so fuzzy that two genuinely different businesses score as a match. Every field needs its own normalization pipeline before you can compare anything.






Phone is the easy win, so start there



Phone numbers feel messy but they are the most tractable field, because there is a real spec underneath. Strip everything to digits, drop the country code, and compare the national significant number. libphonenumber does this properly, but the 80% version is small:




function normalizePhone(raw, region = "US") {
const digits = (raw || "").replace(/\D/g, "");
if (!digits) return null;

// US/CA: 11 digits starting with 1 -> drop the country code
let nsn = digits;
if (region === "US" && nsn.length === 11 && nsn.startsWith("1")) {
nsn = nsn.slice(1);
}
// store last 10 as the comparable key
return nsn.length >= 10 ? nsn.slice(-10) : nsn;
}

normalizePhone("(415) 555-0199"); // "4155550199"
normalizePhone("+1 415-555-0199"); // "4155550199"
normalizePhone("415.555.0199"); // "4155550199"






All three formats above collapse to 4155550199. Phone becomes a clean equality check on a normalized key. The one trap: extensions. 555-0199 x12 should match 555-0199 on the main number, so compare the leading NSN, not a naive "last 10 digits" that swallows the extension. For anything beyond US/CA, hand it to libphonenumber and trust the region metadata, because national-number length is not universal.





Business names break equality in two predictable ways:





  1. Legal suffixes. LLC, Inc, Ltd, Co, GmbH, Corp, L.L.C. These are noise for matching. One directory keeps them, one drops them, one abbreviates.


  2. Connectors and punctuation. & vs and, smart quotes (’ vs '), trailing commas, casing.



So the name pipeline is: lowercase, normalize unicode (’ → '), expand/standardize &, strip a known list of legal suffixes, collapse whitespace. Then I don't do a raw string compare. I tokenize and measure token overlap, because word order and a stray extra word shouldn't tank the score:




const LEGAL = /\b(llc|l\.l\.c\.|inc|incorporated|ltd|co|corp|company|gmbh|kg|bv|sa|srl)\b/g;

function normalizeName(s) {
return (s || "")
.toLowerCase()
.normalize("NFKC")
.replace(/[’']/g, "")
.replace(/&/g, " and ")
.replace(LEGAL, "")
.replace(/[^a-z0-9\s]/g, " ")
.replace(/\s+/g, " ")
.trim();
}

function tokenScore(a, b) {
const A = new Set(normalizeName(a).split(" ").filter(Boolean));
const B = new Set(normalizeName(b).split(" ").filter(Boolean));
if (!A.size || !B.size) return 0;
let shared = 0;
for (const t of A) if (B.has(t)) shared++;
return shared / Math.max(A.size, B.size); // Jaccard-ish, biased to the longer side
}






"Joe's Plumbing & Heating, LLC" vs "Joe's Plumbing and Heating" now scores 1.0 on shared tokens. Dividing by the longer token set (rather than the union) keeps a directory that bolts on a city name ("... Heating San Francisco") from scoring a perfect match against the clean version.






Addresses: the abbreviation swamp



Addresses are the worst field, and it is worth being honest about why. The variation isn't typos, it's a dictionary of equivalent forms that postal systems treat as identical:




































In the wild Canonical

St, St.
Street

Ave, Av
Avenue
Blvd Boulevard

N, N.
North

Ste, #, Unit
(suite designator)
Hwy Highway


The fix is an expansion map applied token by token, the same way you normalize the name. 123 N Main St Ste 4 and 123 North Main Street #4 both reduce to 123 north main street 4 and compare cleanly. Keep the map small and US/region-specific; an over-eager map will "correct" things that were never abbreviations.






Why reverse-geocoding lies to you



Here is the subtle one that cost me the most time. Some directories only give you a lat/long, not a clean street string. The tempting move is to reverse-geocode those coordinates back into an address and compare. Don't trust that comparison for a mismatch verdict.



Reverse geocoding snaps a point to the nearest known feature in the geocoder's database. A rooftop pin 12 meters off can resolve to the building next door, a different suite, or the road centerline. So you reverse-geocode 123 Main St and get back 125 Main St, and your checker screams "address mismatch!" when the listing is perfectly fine. The error is in your verification method, not in the data.



The rule I settled on: reverse-geocoded addresses are advisory. If the forward, text-based address agrees, great. If it disagrees, fall back to a coordinate-distance check (are the two points within ~50m?) before ever reporting a mismatch. A mismatch born from snapping is a false positive, and false positives in this tool are worse than gaps, because they send people editing listings that were already correct.






Scoring: per field, not one blob



Early on I concatenated N + A + P and computed one similarity number. Useless. A wrong phone and a wrong suite number are completely different problems, and an aggregate score hides which one you have.



So scoring is field-level. Each directory result returns a per-field verdict, and not_found is explicitly not a failure:




function scoreField(mine, theirs, kind) {
if (theirs == null) return { status: "not_found" }; // coverage gap, not a mismatch
const ok =
kind === "phone" ? normalizePhone(mine) === normalizePhone(theirs)
: kind === "name" ? tokenScore(mine, theirs) >= 0.8
: normalizeAddress(mine) === normalizeAddress(theirs);
return { status: ok ? "match" : "mismatch", theirs };
}






That not_found distinction matters more than it looks. If a directory simply doesn't list you, that is a coverage signal ("go claim this listing"), not a consistency signal ("you have conflicting data"). Folding them together makes a business with thin coverage look like a business with a data integrity problem. They need opposite fixes.






The data sources are the actual hard part



The algorithms above are a weekend. Getting clean field data to compare against, for free, at scale is the part that never ends.



What worked, server-side and free:





  • OpenStreetMap / Nominatim is the workhorse. Geocode the address, get structured address parts back. Critically, request extratags β€” that is where phone / contact:phone and website live, so you can compare more than just the address. Respect the usage policy: one request per second, a real User-Agent, and cache aggressively.


  • iBegin and Lacartes gave usable structured listings for US/CA/UK without a login wall.



What did not work, and why it's worth knowing before you waste an afternoon:





  • Yelp and Yellow Pages: hard 403 to anything from a datacenter IP. Their bot detection assumes residential traffic; your server is not that. Scraping them at scale means a residential proxy budget, which kills "free."


  • Hotfrog: same datacenter 403 story.


  • hub.biz: echoed my query back at me instead of returning its own stored record, which is worthless for a consistency check (you'd be comparing the input to itself).

  • A long tail of directories sit behind Cloudflare challenges or render NAP only after client-side JS, so a plain server fetch sees an empty shell.



The lesson is that "check across all directories" is marketing; "check across the directories that expose structured data to an anonymous server request" is the real, shippable scope. Be upfront about coverage instead of pretending a not_found from a bot-wall means the listing is absent.






Putting it together



The shape that worked:




  1. Normalize the user's own NAP once.

  2. For each reachable source, fetch, extract NAP (incl. extratags), normalize the same way.

  3. Score per field, with match / mismatch / not_found as distinct states.

  4. Treat reverse-geocoded addresses as advisory and gate mismatches behind a distance check.

  5. Report coverage and consistency as two separate things.



I packaged this into a free checker I built if you want to see the normalization behavior on a real business without writing the code. But the genuinely portable lesson is the framing: NAP consistency is a per-field normalization-and-matching problem with a nasty data-acquisition tail, and the single biggest correctness bug is trusting a reverse-geocode to tell you two addresses disagree.



If you build your own, start with phone (real spec, clean wins), get your name and address normalizers right, and spend your remaining time on the data sources, because that is where the project actually lives.

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Community discussion & comments

🌐 Join the main chat

Start the discussion in the Social Chat broadcast stream or submit an expert contribution via the supplement form above.

Community Rating & Social Proof
⭐ Reader Rating
–
Ø / 5.0
No reader ratings yet
Was this article helpful?
0
Submit your rating
Detailed rating (optional)
Content & Quality
Source & Credibility
Freshness
Security Briefing Free · 1-Click Unsubscribe

Intelligence Digest — free

The top security news daily · unsubscribe anytime

Related story clusters & sources (vector AI)

6 Cluster
25 sources
CVE-2026-135550 | Mozilla Firefox Web Codecs memory corruption (Nessus ID 388625)
VulDB Updates 1 hour ago
24 more sources
VulDB Updates1 hour agoCVE-2026-135551 | Mozilla Firefox up to 153.7/160 Layout use after free (Nessus ID 388625) VulDB Updates1 hour agoCVE-2026-135552 | Mozilla Firefox up to 115.45/153.7/160 Canvas2D use after free (Nessus ID 388625) VulDB Updates1 hour agoCVE-2026-135554 | Mozilla Firefox up to 115.45/153.7/160 Navigation use after free (Nessus ID 388625) VulDB Updates1 hour agoCVE-2026-135556 | Mozilla Firefox up to 115.45/153.7/160 JIT memory corruption (Nessus ID 388625) VulDB Updates3 hours agoCVE-2026-135540 | Mozilla Firefox up to 115.45/153.7/160 JIT memory corruption (Nessus ID 388625) VulDB Updates3 hours agoCVE-2026-135539 | Mozilla Firefox up to 115.45/153.7/160 CSS Object Model use after free (Nessus ID 388625) VulDB Updates3 hours agoCVE-2026-135542 | Mozilla Firefox up to 115.45/153.7/160 Layout buffer overflow (Nessus ID 388625) VulDB Updates3 hours agoCVE-2026-135541 | Mozilla Firefox up to 115.45/153.7/160 XSLT use after free (Nessus ID 388625) VulDB Updates3 hours agoCVE-2026-135544 | Mozilla Firefox up to 115.45/153.7/160 Navigation memory corruption (Nessus ID 388625) VulDB Updates3 hours agoCVE-2026-135545 | Mozilla Firefox up to 153.7/160 Editor memory corruption (Nessus ID 388625) VulDB Updates3 hours agoCVE-2026-135543 | Mozilla Firefox up to 115.45/153.7/160 Networking memory corruption (Nessus ID 388625) VulDB Updates3 hours agoCVE-2026-135547 | Mozilla Firefox up to 115.45/153.7/160 Networking sandbox (Nessus ID 388625) VulDB Updates3 hours agoCVE-2026-135549 | Mozilla Firefox up to 115.45/153.7/160 XSLT use after free (Nessus ID 388625) VulDB Updates3 hours agoCVE-2026-135548 | Mozilla Firefox up to 115.45/153.7/160 Layout use after free (Nessus ID 388625) VulDB Updates4 hours agoCVE-2026-135533 | Mozilla Firefox up to 115.45/153.7/160 Layout Tables off-by-one (Nessus ID 388625) VulDB Updates4 hours agoCVE-2026-135536 | Mozilla Firefox up to 115.45/153.7/160 DOM Editor uninitialized pointer (Nessus ID 388625) VulDB Updates4 hours agoCVE-2026-135535 | Mozilla Firefox up to 115.45/153.7/160 Skia input validation (Nessus ID 388625) VulDB Updates4 hours agoCVE-2026-135537 | Mozilla Firefox up to 115.45/153.7/160 Layout Text/Fonts out-of-bounds (Nessus ID 388625) VulDB Updates5 hours agoCVE-2026-135525 | Mozilla Firefox up to 115.45/153.7/160 WebRender use after free (Nessus ID 388625) VulDB Updates5 hours agoCVE-2026-135526 | Mozilla Firefox up to 115.45/153.7/160 Networking use after free (Nessus ID 388625) VulDB Updates5 hours agoCVE-2026-135527 | Mozilla Firefox up to 115.45/153.7/160 DOM/HTML use after free (Nessus ID 388625) VulDB Updates5 hours agoCVE-2026-135528 | Mozilla Firefox up to 153.7/160 HTTP race condition (Nessus ID 388625) VulDB Updates5 hours agoCVE-2026-135530 | Mozilla Firefox up to 115.45/153.7/160 HTTP sandbox (Nessus ID 388625) VulDB Updates5 hours agoCVE-2026-135529 | Mozilla Firefox up to 153.7/160 Text sandbox (Nessus ID 388625)
17 sources
Apple Cyber Monday Deals (2026): AirPods, iPads, MacBooks, and More
WIRED 16 min. ago
16 more sources
The Mac Observer24 min. agoAqara W200 thermostat is $119.99 for Cyber Monday, $40 off and Apple Home ready Latest from TechRadar42 min. agoCyber Monday mini PC deals 2026 live — top tiny desktops from GMKtec, Geekom, Minisforum, and more as the Black Friday sale continues The Mac Observer49 min. agoSonos Beam Gen 2 is $339 for Cyber Monday, $160 off and $359 under two HomePods The Mac Observer1 hour agoMagic Mouse in black drops to $79.99 for Cyber Monday, $19 under Apple’s $99 The Mac Observer1 hour agoGarmin fenix 8 47mm drops $250 to $749.99 for Cyber Monday, $49 under Ultra 4 Latest from TechRadar2 hours agoI've been waiting for a better deal on the Philips LatteGo 4400 — and Amazon has delivered a record-low price for Cyber Monday Latest from TechRadar2 hours agoLooking to get a last-minute gaming gift before Cyber Monday is over? WIRED3 hours agoLast Call for Black Friday iPad Deals (2026): Save Up to $100 Latest from Windows Central3 hours agoWhy I bought a handheld over a gaming laptop on Cyber Monday Latest from TechRadar3 hours agoI found the most capable PC under $300 for Cyber Monday — Origimagic's C7 Windows 11 Pro machine packs dual Thunderbolt 4, 2.5Gb LAN, a Core 3 100U, 16GB of RAM, and a 512GB SSD OS X Daily3 hours agoCyber Monday Deals: $300 Off 16″ PROLED MacBook Pro, $100 Off AirPods Pro 3, $100 Off iPad Air, & More Latest from TechRadar4 hours agoCyber Monday home office deals 2026 live — our top workspace picks from FlexiSpot, Dell, Anker, Logitech and more as Black Friday sale rolls on Latest from TechRadar4 hours agoThe best Cyber Monday deals in the UK in 2026: top picks from Amazon, Argos, Ninja, Lego and more Latest from TechRadar4 hours agoBlack Friday laptop deals 2026: the huge savings on MacBooks, Chromebooks and Windows 11 laptops still available from Apple, Dell, HP and many more Latest from TechRadar4 hours agoCyber Monday Australia laptop deals for 2026: score up to 52% off Lenovo, Apple, Dell, HP and more Latest from TechRadar4 hours agoAmazon Australia Cyber Monday deals
12 sources
CVE-2026-116159 | ImageMagick up to 6.9.13-57/7.1.2-32 CDL Option memory leak (Nessus ID 388637)
VulDB Updates 1 hour ago
11 more sources
Similar posts
🔍 Verwandte News

Auch interessante Nachrichten Checking local-business NAP consistency in code

Thematisch verwandte Begriffe: Checking, localbusiness, consistency, code · 6 Treffer

Laden...

Loading posts ...

Laden...

Loading videos ...

Laden...

Loading posts ...

Laden...

Loading videos ...

Laden...

Loading posts ...

Laden...

Loading videos ...

Laden...

Loading posts ...

Laden...

Loading videos ...

💬 Loading comments…
Pull to refresh
Widgets & topics
Loading widgets…
Next post