Urgent.News

What's breaking now, across thousands of outlets.

Tech

Four security decisions that look like nothing and are not

Disclosure: these are decisions from Tessera, which I work on. They are all small enough to copy into your own service, which is why they are worth writing up. Security feature lists are made of nouns: encryption, RBAC, SSO, audit. The things that actually decide whether a system holds up are smaller than that and never make the list. Here are four of ours, with the reasoning, including the case…

1. When implementing a login rate limit, it is crucial to count against the real TCP connection address instead of the X-Forwarded-For header. This prevents attackers from bypassing the limit by setting different values in the header for each request. While it may result in the rate limit being applied to the proxy as a whole rather than per client, the absence of protection is worse than being ineffective, as it gives a false sense of security.

2. To prevent Server-Side Request Forgery (SSRF), it is essential to validate target addresses when registering them. Internal network scanners with a web interface can be created by registering malicious targets like 169.254.169.254 (cloud metadata endpoint) or loopback addresses. By validating target hosts on creation and update, services that accept user-supplied addresses and connect to them, such as webhook configurations or PDF renderers, can be secured from this common bug.

3. Storing SSH host keys on first use and rejecting changed keys later is a crucial security measure. This practice, known as trust-on-first-use (TOFU) raised to an organizational level, helps detect silent man-in-the-middle (MITM) attacks. While TOFU does not catch the first connection, where the attacker may already be in position, it significantly enhances security. However, the only definitive solution is out-of-band host-key distribution, which is rarely implemented.

4. Storing credentials securely by making the console write-only is essential. Users should be able to store and replace credentials without being able to retrieve them back. This approach minimizes the risk of exposing sensitive information, as a read path can be exploited by attackers holding admin sessions, finding IDORs, or with broader scoped tokens.

Instead of providing a "reveal" button for convenience, a connectivity test using the credential without returning it can be implemented to satisfy legitimate use cases without compromising security.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Standing access is the risk that never makes it onto the risk register

Every infrastructure post-mortem contains the same paragraph, and it is never the one anyone expected to write. The initial access was not sophisticated.

  • Standing access often overlooked in risk registers
  • Occurs when authorized credential no longer needed
  • Difficult to track and manage credential usage

What running your own SSH certificate authority actually costs

Disclosure: I work on Tessera, which is on the buy side of this. I have tried to cost the build side properly, because a comparison where the build option looks stupid is a comparison nobody believes.

  • Initial build takes about a week, including key generation and configuration.
  • Securing CA key adds 2-4 weeks of operational work due to HSM/KMS integration.
  • Ongoing maintenance costs around $15k–$50k annually, totaling $75k–$150k for build and upkeep.

Your access tool is a vendor with a copy of your infrastructure map

Disclosure: I work on Tessera, which is self-hosted. That is the position I am arguing from, and the costs of that position are in the last section.

  • Access tool is a vendor with infrastructure map copy
  • Security questionnaires overlook access-control role
  • Hosted access broker knows infrastructure details

Auditors do not want your policy. They want an artefact.

Disclosure: I work on an access tool (Tessera), mentioned once at the end. Everything before that is about evidence, and applies whatever you use.

  • Audits fail due to lack of evidence, not missing controls
  • Organizations need specific artifacts to satisfy auditors
  • Artifact properties: separate storage, immutability, exportability

More from Tuesday 1 September →