SShortSingh.
Back to feed

Staff Without Second Sign-In Factor Let an Attacker Register Their Own

0
·3 views

After mandatory multi-factor sign-in was introduced for about 1,400 staff in 2024, roughly 300 yard operatives and drivers never registered a second factor. An attacker guessed one dormant account's weak password, enrolled their own authenticator, and then used the account to download the staff directory. They sent phishing messages with a fake sign-in link to around 40 colleagues, and two of them used it before the intrusion was stopped. In response, registering a second factor is now restricted to the company network or managed devices, with other cases requiring a service desk-issued temporary pass after in-person identity checks. Dormant accounts are disabled after 90 days, the banned-password list was expanded, and alerts are raised for new methods registered outside the UK.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Refund Admin Check Failed in Production When Python Ran With -O Flag

A refund endpoint relied on an assert statement to verify staff permissions, which passed all tests during development. After a release set PYTHONOPTIMIZE=1 in the environment, nothing visibly broke, yet all such checks silently stopped running from that point on. The article explains that Python's -O flag strips assert statements entirely, so they are not reliable for enforcing access control or other security logic. The recommended fix is to replace asserts with explicit conditional checks that raise errors, and to use linters such as Bandit or Ruff to flag assert use outside test code. The author also advises running security tests against the same image and flags used in production.

0
ProgrammingDEV Community ·

Leeds Postcode Bug Traced to indexOf Returning Zero in a Truthiness Check

A same-day delivery check built on four postcode areas worked for most regions but failed for Leeds, though it had launched alongside Cardiff and Truro. The cause was using indexOf, which returns a position rather than a yes-or-no answer, so a match at index zero evaluates as false in an if statement. Other matches returned positive numbers and passed, which is why the defect went unnoticed in code review and testing. The article notes that Python's str.find has the same pitfall, with -1 signalling absence. It recommends using includes in JavaScript or comparing indexOf against -1, and testing boundary cases such as the first item, the last item, and a missing value.

0
ProgrammingDEV Community ·

Why most teams may not need microservices: monolith vs microservices trade-offs

An engineering article argues that many companies adopt microservices simply because large tech firms do, even when their user base is small. It contrasts a monolith's low latency and cost with microservices' many network hops, slower development, and higher cloud bills. The author cites Amazon Prime Video consolidating one service back into a monolith, cutting its costs by 90 percent, along with Shopify and Stack Overflow running on simpler architectures. Microservices are presented as a fix for organizational scaling across many teams rather than for poor code design. The recommended approach is to start with a clean, modular monolith and split into services only when team coordination genuinely requires it.

0
ProgrammingDEV Community ·

Degup: a webcam game that tests whether you can feel your own heartbeat

Degup is a desktop game that asks players to tap in time with their heartbeat without touching their pulse, using a standard webcam. It runs on the Presage SmartSpectra SDK, which reads pulse and breathing from the camera feed and scores how closely the taps match the detected beats. Each round takes about three minutes and produces a result card that can be saved locally, with no uploads. The developer stresses that Degup is a body-awareness game rather than a health test, and it is available in English and Bahasa Melayu under an MIT license on GitHub. A simulation mode lets people try the game without a camera or API key.