Weekly Recon

Weekly Recon

Download on the App Store

All Weekly Recon episodes

  • Your Claude Code approvals can leak your API keys

    Claude Code saves the commands you approve in .claude/settings.local.json. GitGuardian and Apiiro found API keys leaking through those files in public repos and images. What it means and what to do this week.

    Weekly Recon 31, prepared for November 24, 2026.

    Sources

    • GitGuardian's write-up

    • Apiiro's write-up

    • Anthropic's Claude Code changelog

    • Read the full issue. Get Weekly Recon at join.defensive.works.

      3 min
    • Qubole's AWS account was used to assume customer roles

      An AI-generated conversation about the Qubole cross-account role abuse and the wfx-loot GitHub CI stealer. The written issue has the CloudTrail hunt, the Athena query, the trust policy example and the commands.

      Weekly Recon 30, prepared for November 17, 2026.

      Qubole

      Between October 14 and 26, someone used IAM credentials from Qubole's AWS account to assume roles in customer accounts. Every call had the right External ID. The External ID isn't a secret, so it didn't stop anything. In most environments Wiz looked at, these were the only role assumptions from Qubole's account in October.

      • Search CloudTrail from October 1 for AssumeRole from account 805246085872 that didn't come from an AWS address, or with a session name starting with quiam-.

      • If you find attacker sessions, revoke the role's sessions first, then rotate what it could read.

      • Delete vendor roles nobody uses. For the rest, add aws:SourceIp or aws:SourceVpce. Wiz says the source IP condition alone would have blocked every role assumption it saw.

      • wfx-loot

        A secret stealer pushed through stolen GitHub accounts trades the workflow's OIDC token for cloud sessions. On AWS it can create access keys and change a role's trust policy so any AWS account can assume it. Check whether your deploy role can call iam:CreateAccessKey or iam:UpdateAssumeRolePolicy.

        Sources

        • Wiz's write-up

        • Sentra's analysis

        • Aikido on wfx-loot

        • SafeDep on wfx-loot

        • Read the full issue with the queries and diagrams. Get Weekly Recon at join.defensive.works.

          16 min
        • Your verified package can change before installation

          An AI-generated conversation about APT package verification and affected Alpine SSH servers. The written companion includes build inventory, commands, fixed versions and primary sources.

          Weekly Recon 29, prepared for November 10, 2026. Updated November 9; package guidance was rechecked that day.

          Protect the operation that installs APT's fix. Verify the installed packages in every runner and build stage that uses it, then patch and restart affected Alpine SSH servers.

          Protect the APT upgrade

          Canonical recommends upgrading all installed packages with retries disabled for that operation. Canonical's instructions.

          sudo apt update && sudo apt upgrade -o Acquire::Retries=0

          When upgrading all packages isn't possible, its targeted fallback updates installed packages built from APT's source, including shared libraries:

          sudo apt update &&
          sudo apt install -o Acquire::Retries=0 --only-upgrade '?source-package(^apt$)'

          Weekly Recon's operational note: disabling retries can leave a transient download failure unresolved. Keep the protected setting for another attempt until the fixed client is installed. Verify installed APT-source packages:

          apt list --installed '?source-package(^apt$)'

          Compare with the advisory for the exact release. These are examples; older Ubuntu releases have separate versions and support requirements.

          • Debian 12 · 2.6.2 · Debian tracker

          • Debian 13 · 3.0.4 · Debian tracker

          • Ubuntu 22.04 · 2.4.15ubuntu0.1 · USN-8996-1

          • Ubuntu 24.04 · 2.8.4ubuntu0.1 · USN-8996-1

          • Ubuntu 26.04 · 3.2.1ubuntu0.1 · USN-8996-1

          • Ubuntu 26.10 · 3.3.3ubuntu0.1 · USN-8996-1

          • Weekly Recon's build guidance: patch persistent runner machines. On managed runners recreated for each job, put the protected upgrade before other package installs. In every build stage that runs APT, run the protected upgrade before its other package installs. Collect each environment's Linux release and installed package versions from a fresh build.

            Patch and restart affected Alpine SSH servers

            Alpine's openssh-server omits PAM; openssh-server-pam is affected with UsePAM no. The bypass also needs musl, password authentication enabled, a target account's stored *, and another local account with a $5$ or $6$ hash. Containers without sshd are outside this path. Alpine's advisory.

            GreyNoise's November 9 update reports successful exploitation of its own vulnerable systems, with commands executed after login, beginning November 7. Those observations alone don't establish production-system compromise elsewhere. GreyNoise's dated activity report.

            CISA, the U.S. cybersecurity agency, added CVE-2026-123158 to its Known Exploited Vulnerabilities catalog on November 9. CISA's official catalog.

            Follow Alpine's update instructions as root, then restart the running daemon:

            apk upgrade -U -a
            sshd -t && rc-service sshd restart

            Compare the installed package with the fixed build for its branch. These stable branches carry backported fixes:

            • 3.24 · 10.3_p1-r2

            • 3.23 · 10.2_p1-r1

            • 3.22 · 10.0_p1-r11

            • Alpine lists the other fixed branches, including emergency fixes for older releases. An upstream version comparison alone doesn't establish patch status.

              If patching must wait, first confirm key login works and keep the current session open. Set PasswordAuthentication no, including account-specific overrides, then run sshd -t && rc-service sshd restart as root. After restarting, confirm this prints passwordauthentication no, then check the effective setting for account-specific rules too:

              sshd -T | grep -i passwordauthentication

              Test a new key login before closing the retained session. Alpine's default drop-in configuration directory is read from 3.19 onward; on older branches, follow its instructions for changing the active main configuration.

              On affected tiny-cloud images, adding a local SHA-512 password hash, through a console password or user-data for example, exposes the key-only alpine account. It has passwordless doas access to root. Cloud-init images set password authentication off; verify effective settings on the running instance. Alpine's cloud-image details.

              Investigate Accepted password for entries in /var/log/messages when the named account should have no password login. Alpine also advises checking doas use, new users, recently changed files and authorized keys. If an unauthorized login on an exposed host can't be ruled out, Alpine advises treating it as compromised. Alpine's investigation guidance.

              Credit: Özgün Kültekin's research, corroborated by the November 5 OpenSSH release. Red Hat's CVE record maps this issue to CVE-2026-123158.

              Build inventory

              Ask a coding agent to inspect a checked revision read-only with startup tasks disabled. Require package-install commands, referenced scripts and file:line evidence. Keep inaccessible definitions marked unknown, then compare the inventory with fresh build evidence for each environment.

              Newsletter and sources

              5 min
            • Your extension inventory needs the download source

              Clean and tampered Claude Code downloads shared version 2.1.312. In this 3-minute episode, trace the file your machine received and check what happened after the extension loaded.

              Affected scope: installs or updates of Claude Code 2.1.312 and 2.1.313 from Cursor Marketplace on macOS or Windows, October 29, 2026, 09:27–20:35 UTC.

              Loading the tampered extension ran added JavaScript that attempted SSH access and startup persistence. A Claude conversation wasn't required. Download exposure alone leaves execution unproven.

              Cursor reported that payload errors and administrator requirements generally prevented SSH access. The added key, persistence and transmitted host details still need investigation. The sources don't establish how many attacker logins succeeded.

              What to check

              • Record the download source, installation time and artifact hash. Compare package hashes with packages and extension.js hashes with that file.

              • Isolate hosts with execution or backdoor evidence. Preserve extension files, SSH and startup artifacts, and process and network records before cleanup.

              • Follow Cursor's platform-specific remediation, assess rebuilding affected hosts, and rotate reachable credentials and revoke sessions from a trusted machine.

              • Keep download exposure and execution evidence as separate findings. A missing svc-telemetry marker leaves other persistence unchecked; a clean current version leaves past activity unresolved.

              • Episode timestamps

                • 00:00: Same version, different downloads

                • 00:25: Affected marketplace, platforms and time window

                • 00:40: What happens when the extension loads

                • 01:17: Download exposure and execution evidence

                • 01:50: Missing markers and incomplete recovery evidence

                • 02:10: Compare hashes for the same artifact

                • 02:25: Isolation, evidence preservation and recovery

                • 02:47: What your inventory needs to retain

                • Read the full issue with attack and defense diagrams.

                  Sources

                  • Cursor's security notice: affected versions, download window and platform-specific remediation.

                  • Rohan Prabhu's StepSecurity investigation: artifact comparison and analysis of the added code.

                  • Sources rechecked November 8, 2026. Get Weekly Recon at join.defensive.works.

                    Hosted on beehiiv. Read the full Privacy Policy at beehiiv.com/privacy.

                    4 min