Skip to content
← Blog

The Web Security Basics Most SMBs Skip (And What It Costs Them)

Most SMB breaches don't start with a sophisticated exploit. They start with skipped basics. Here's the short list that actually matters.

Ask a founder about their security posture and you’ll usually hear about the enterprise-grade things they haven’t done: penetration testing, SOC 2, a bug bounty program. Meanwhile the actual breach, when it happens, almost never comes from a novel exploit. It comes from a dependency nobody updated, a form with no rate limiting, or an admin panel still reachable with last year’s default password. Security for a growing SMB is not about matching enterprise theater. It’s about closing the handful of doors that are actually open.

The Threat Model Is Not What You Think

Most SMBs aren’t targeted by a human attacker who studies their business and picks a clever angle. They’re swept up by automated scanners that crawl the entire internet looking for known, unpatched vulnerabilities — an outdated WordPress plugin, an exposed .env file, a login form with no lockout. The attacker doesn’t care who you are. They care that your stack matches a signature they already have an exploit for.

This changes the priority order. You don’t need to defend against a nation-state. You need to not be the easiest scan result on the list. That’s a much shorter, much more achievable list of work.

Where the Real Exposure Sits

Dependencies you forgot you have. Every npm install pulls in a tree of packages you didn’t audit and won’t remember to update. Run npm audit (or the equivalent for your stack) on a schedule, not just when something breaks. Dependabot or Renovate, configured to auto-open PRs for patch and minor bumps, turns this from a quarterly fire drill into a five-minute merge.

Secrets in places that outlive the intent. .env files committed by accident, API keys pasted into a Slack thread that later gets exported, database credentials hardcoded in a script that was “just for testing.” None of these are exotic mistakes — they’re the default outcome of moving fast without a habit of scanning for them. A pre-commit hook that greps for common secret patterns catches most of this before it ever reaches a remote.

Forms with no rate limiting. A public contact form or signup endpoint with no throttling is an open invitation for credential-stuffing bots, spam floods, and enumeration attacks. Rate limiting by IP — even something as simple as an in-memory counter for a low-traffic endpoint — closes off a huge share of automated abuse for very little engineering cost.

Admin surfaces on the public internet. CMS logins, database admin tools, internal dashboards — if they’re reachable from any IP address with just a password, they will eventually be found. IP allowlisting, a VPN, or at minimum multi-factor authentication on anything administrative is not optional hardening; it’s the baseline.

Third-party scripts with unchecked reach. Every analytics snippet, chat widget, and marketing pixel you add is code running with full access to your page, your users’ cookies, and whatever data flows through your forms. A Content Security Policy that allowlists exactly which domains can execute scripts turns a compromised third-party script from a full breach into a blocked request.

Fix the Cheap Things First

Security work has a wide range of costs, and the highest-leverage items are usually the cheapest:

None of this requires a security team. It requires someone treating it as a recurring line item instead of a someday project.

Compliance Theater Is Not the Same as Being Secure

A surprising number of SMBs invest in an audit or a certification before they’ve done any of the above. That ordering is backwards. Compliance frameworks are useful for proving to a customer’s procurement team that you take security seriously, but they don’t substitute for the unglamorous, ongoing work of patching, rate-limiting, and rotating credentials. Do the basics first. They’re cheaper, they close the exposure that actually gets exploited, and they make any later compliance work faster because you’re not retrofitting hygiene you should have had from day one.

Security, like performance, is not a feature you ship once. It’s a set of habits you maintain. The SMBs that get breached are rarely the ones with a sophisticated adversary — they’re the ones who never built the habit.

PNK WORKS builds and maintains software with security baked into the development process, not bolted on after a scare. Start a project.

Ready to work together?

Start a Project →