Subscribe free
Morning Merge Security · Monday, November 30, 20263 min read

pnpm 12.25 closes a lockfile spoof; 2B stolen logins exposed

Also: AWS IAM Credential Broker, Bedrock tool-call checks and free ACM public certs

If your team uses pnpm, upgrade it before anything else today. The rest is about credentials: two billion stolen ones left in an open database, and AWS's new ways to give agents short-lived ones.

The main thing

Isometric drawing of identical crates on a conveyor passing an inspection gate, with a lens over one green crate whose blank tag has a torn notch.

pnpm 12.25 ships a batch of security fixes for lockfile and store confusion. The headline features are Rust crates (pnx crate:<name>), but the security section is the part to read.

The weird one is a package name. pnpm now refuses a tarball, git or directory dependency whose package.json has an invalid name, and fails with ERR_PNPM_INVALID_DEPENDENCY_NAME.

Before, a name such as esbuild@0.20.0( could make that package pass for a registry package in the lockfile and in allowBuilds, the list of packages you've approved to run build scripts.

So the trick doesn't need a compromised registry. A dependency from a URL or git repo picks a name the lockfile reads as a registry package you already trust, and inherits that trust. In a lockfile diff of hundreds of lines, nobody spots a stray parenthesis.

The same release closes several cousins of that bug:

What to do: move to 12.25.1, the current patch release, in CI and on laptops. Then run a fresh install. If something now fails with ERR_PNPM_INVALID_DEPENDENCY_NAME, find out who added that dependency and why it's named like that.

Stolen sessions outlive the password reset

Isometric drawing of an archive cabinet with drawers full of keys, and an inspection lens over one drawer revealing a green admission wristband among them.

A researcher found about 2 billion credentials in a database with no password and no encryption. The write-up, published by ExpressVPN, describes 8,471 folders of plaintext credentials, and says an estimated 400,000 documents appeared to come from more advanced malware that kept a separate folder for each victim.

The researcher says the sampled records included cookies, session tokens and saved browser passwords, not only email and password pairs. The owner is unknown. The hosting provider restricted public access several days after the report. Counts may include duplicates, and on Hacker News joshuat argued that collections like this are mostly old leaks repackaged.

For a team running a login system, the session tokens matter more than the total. A stolen session cookie skips both the password and MFA, and a password reset doesn't kill it unless your reset also revokes existing sessions. Check that yours does, and that a long-lived session can't outlast a credential change.

AWS wants to hold your agents' keys

Isometric drawing of a closed safe pushing a short green paper ticket out of a slot toward a robotic arm, with an inspection lens over the slot.

AWS IAM Credential Broker is in public preview. It gives your applications and agents OAuth access tokens and API keys for systems such as Snowflake, Databricks, Salesforce, Azure and GCP through one set of APIs. It gets them through the identity provider you already use, such as Okta, Microsoft Entra ID or Auth0.

It supports three OAuth flows: client credentials, authorization code, and token exchange for on-behalf-of access. When an agent acts for a user, it gets only that user's access, so the external system can enforce and audit that user's permissions.

AWS says that for OAuth your code receives only short-lived access tokens, which keeps long-lived secrets out of code, config and environment variables. That promise is scoped to OAuth, and the announcement doesn't say the same for API keys.

Users approve access once and the broker refreshes tokens in the background, so an agent's grant lasts until someone revokes it. The preview is free in all commercial AWS Regions.

Quick bits

Bedrock Guardrails can now check an agent's tool calls before they run. Stateful guardrails, in gated preview on the InvokeGuardrailChecks API, evaluate each turn with the system prompt and session history.

The security threat check flags connections to domains and IPs that AWS threat intelligence marks as malicious, and commands that expose credentials or escalate privileges. Your app can stop the call, ask the user, or log it. Allowlisted customers only, in US East (N. Virginia) and US West (Oregon).

ACM puts every certificate in your AWS organization in one inventory. The new Essentials and Pro plans show public, private and imported ACM certificates across accounts and Regions, and let a central team act on them without signing in to each account.

Public certificates requested through ACM now come at no additional charge, exported ones included. Plans require AWS Organizations. If expiry surprises still come from a forgotten account, this is the fix.

S3 Files and EFS can now be mounted from agents outside your VPC. Agents on AgentCore Runtime or Lambda MicroVMs no longer need VPC access to mount a file system.

Access from outside the VPC is off by default and limited to the IAM roles and users you grant. Once you turn it on, the network no longer guards that data, so IAM policy is the whole boundary.

When you review an agent's access this week, ask what happens to a token after someone leaves, not only where the secret is stored.

← All Morning Merge Security issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →