深夜提醒

现在是深夜,建议您注意休息,不要熬夜哦~

🏮 🏮 🏮

新年快乐

祝君万事如意心想事成!

share-image
中
ESC

1Password Breached — Reverse Engineering in the AI Era, and My Vault Goes Offline

English 阅读中文版

AI didn’t invent new attack categories. What it rewrote is the cost table of attacking. Once you see how 1Password fell this time, you’ll understand why I moved my passwords all the way back to local.

Yesterday a push from The Hacker News came through: 1Password disclosed a security incident. The attacker got into backend systems through an employee’s GitHub account and copied out source code and some customer information.

For someone who was a paying 1Password user a few years ago and now has every password sitting on an offline machine, this kind of news reads a little differently: everyone else is reading gossip, I’m checking my answers against the key.

In August I wrote “From 1Password to OnePass: I Built My Own Password Manager,” about how I replaced a 1Password subscription I’d held for years with an open-source implementation I maintain myself. A few months on, OnePass has taken another step back here — from self-hosted cloud sync to purely offline. The 1Password incident is exactly the right moment to explain that move.

1Password 被黑之后:AI 时代的逆向与攻击,和我搬回本地的密码库

Retracing the Incident: Not a Single 0-day Anywhere

Let’s get the facts straight first. The details of this incident are far more interesting than the headline.

On November 19, 1Password spotted suspicious activity: an employee’s company GitHub account had been taken over by the attacker. What followed ran off in one continuous chain —

  • the account was used to copy out the source code of private repositories;
  • it got into the CI/CD system;
  • malicious code was pushed into backend services;
  • through that malicious code a batch of administrative-side customer data was pulled down: names, email addresses, account identifiers (creation time, last login time), public keys, SRP protocol parameters, tokens embedded in some invitation/recovery email links, and a batch of non-sensitive internal metadata.

1Password’s statement is this: vault contents — passwords, keys, recovery codes, the keys that encrypt them — were not touched. The reason isn’t luck, it’s architecture: a zero-knowledge design, keys held only by the user, nothing on the servers that could unlock a vault. Even if the attacker had emptied the backend, all they’d hold is ciphertext and metadata.

The handling was fairly clean too: disable the abused GitHub account, revoke the stolen tokens, harden GitHub / CI/CD / endpoint controls, roll services back to a clean version, rotate internal credentials, and while they were at it, lengthen the verification codes in invitation and recovery emails from six digits to ten characters. The official conclusion is that customers need to do nothing, but should watch out for phishing.

What’s worth noting is the attack chain itself: no memory corruption, no broken cryptography, not one vulnerability in the traditional sense. The point of failure was one person’s account. The attacker used it to follow the vine to the melon — source code, build pipeline, backend data, all taken in one sweep.

That’s the part I want to expand on: this is not an isolated case. It is a specimen of what attacks look like in the AI era.

The Main Battleground Moved Long Ago

Think back over the landmark incidents of the past few years and you’ll notice memory-safety bugs moving from lead role to supporting cast.

You probably still remember the XZ backdoor: the attacker spent two or three years “growing” trust inside an open-source community, blended in as a maintainer, then slipped a backdoored compression library into the build pipelines of Linux distributions worldwide. Not a single 0-day in the whole thing — patience and social engineering did the job. 1Password this time is the same script on fast-forward, with the stage simply moved from an open-source community to the inside of a company.

AI’s role in this is not that it invented these techniques, but that it smashed through their cost of execution. One security team ran a controlled experiment: phishing emails generated by AI already match the click rate of seasoned human operators. In that HK$200 million deepfake fraud in Hong Kong, the victim wired the money to a “CEO and colleagues” in what looked like a full all-hands video call. Growing trust, inventing personas, writing localized scripts — work that used to be expensive and slow is now exactly what generative models are strongest at.

In fairness, though: 0-day-level creativity has not been democratized. Google’s Big Sleep did find real, previously unknown bugs in SQLite; in DARPA’s AI cyber challenge, systems that autonomously find and patch vulnerabilities really did turn up previously unknown issues in real open-source projects — but those are built out of top-tier resources and data. AI levels the skill gap; it does not level talent and compute. The moat around top attackers is still there. What got raised is the floor for the long tail of attackers.

The real change is this: the bottleneck in attacking shifted from “can you” to “do you want to.” And wanting is not a thing anyone can govern.

Reverse Engineering: AI Took Over the Translation Layer

I do Android app reverse engineering day to day, so I feel this shift directly.

In the traditional workflow the most time-consuming part isn’t cracking, it’s reading: the DEX pseudocode jadx decompiles, the native pseudocode Ghidra spits out, often thousands of functions, identified one at a time by human eyes. Now this “translation” layer can largely be handed to an LLM — explaining a function’s intent, recognizing crypto algorithm constants, recovering symbol names and structs, and generating the Frida hook scripts and Unicorn loading harness along the way. What used to take three days now takes half a day.

The community has already pushed this to the agent stage: Ghidra can be attached directly to an AI agent over the MCP protocol and driven by it — decompile, search cross-references, drop comments, loop. The human goes from “a reader who reads decompiled output function by function” to “an auditor who reviews the agent’s conclusions.”

But there’s a pitfall specific to reverse engineering here, and it’s far more serious than “AI isn’t smart enough.”

The object of reverse analysis is an adversarial sample — the code itself is designed to mislead the analyst. And LLMs are precisely good at delivering high-confidence wrong conclusions. “I don’t understand it” is safe; you keep digging. “I understood it, but understood it wrong” is fatal; you stop. Worse, the strings and comments in decompiler output can themselves carry prompt injection — there are already poisoning demos aimed at AI auditing tools. You send AI to analyze malicious code, and the malicious code is “analyzing” your AI right back.

So my workflow now has one iron rule: AI proposes hypotheses, dynamic execution delivers the verdict. However elegant the pseudocode reading, it’s only a hypothesis awaiting verification; only hooking it and running it, capturing packets to watch real behavior, counts. Reviewing conclusions cannot be outsourced to AI, because it’s the one link in the whole chain that must not be wrong.

The New Target: AI Itself

Everything above is still “attacking with AI.” What deserves more vigilance is that AI infrastructure itself is becoming an attack surface.

On the supply chain side, that same week’s news had one: Microsoft’s Agent Framework PyPI package was poisoned, specifically to steal developers’ cloud credentials. Model repositories are the same — HuggingFace has hosted malicious model files with reverse shells; pickle deserialization equals arbitrary code execution, and only when the community pushed safetensors did a gate get bolted on.

At the application layer, prompt injection is the new skin of the SQL injection era: untrusted data entering an instruction interpreter. Microsoft 365 Copilot’s zero-click injection (EchoLeak) is the textbook case — a single crafted email and the office AI willingly ships internal data out.

And AI agents raise the stakes on all of this. An agent that can read email, call tools and execute code is essentially an automated employee carrying credentials. A deceived employee makes mistakes; an injected agent executes precisely. However many permissions it has, the attacker has. The MCP ecosystem that every AI client is rushing to plug into is building its trust chain far behind the speed at which its features are expanding.

There’s also the reverse angle: the model itself has become a reverse-engineering target. Extracting system prompts, distilling a model from API outputs, recovering training data from weights — the traditional RE toolkit is migrating onto models. System prompts are the “source code” of the new century; only they can’t stop anyone willing to spend an hour.

The Economics of Defense

Defense has new levers too. Malware sample analysis compressed from three days to a few hours, alert triage handed to models for first-pass screening, code-audit agents getting stronger by the day. Those are real gains.

But the asymmetry is worsening: an attack only needs to find one point, a defense must cover everything; and most of AI’s cost-cutting dividend lands on the attacker’s long tail. The more practical dilemma is that the scarce resource has shifted from skill to verification bandwidth — AI produces conclusions far faster than humans can verify them, and the defending side drowns in its own tools. That detail in 1Password’s response, “lengthening the six-digit code to ten characters,” is exactly what human verification bandwidth looks like: every hardening step was done one at a time, by someone, after an audit.

Incidentally, 1Password’s own paper this time is a passing grade: timely disclosure, clear messaging, and the zero-knowledge architecture held up in real combat. The problem isn’t that it did badly; it’s that the premise of “customers need to do nothing” is that every single time, you have to bet it holds.

So I Moved My Passwords All the Way Back to Local

In that August OnePass post I still kept a self-hosted cloud sync mode: a Rust server storing only the whole-vault ciphertext, the master password derived into a key via Argon2id, end-to-end encrypted. At the time I thought that was the optimum of the trust boundary.

Now I’ve gone a step further: purely offline. The vault is a standard KDBX encrypted container, Argon2id-derived key, AES-256, no network connection of any kind. Syncing is on me too — because the vault itself is ciphertext, it can travel over any untrusted channel: cloud drive, USB stick, private git. They’re only moving ciphertext around; the channel itself doesn’t need to be trusted.

Here’s the arithmetic. With a cloud password manager, my trust equation is: math + this company’s people + this company’s processes + this company’s infrastructure + this company’s supply chain. 1Password proved this time that the first term held and the rest developed cracks — and not one of the rest is under my control. Self-hosted cloud deletes “this company,” but it doesn’t delete “the cloud” or “another server.”

Purely offline, the equation has two terms left: math, and my own machine. For an attacker to touch my passwords, they first have to physically touch my computer — no matter how beautifully AI writes the phishing or how convincingly it stages the social engineering, it cannot parse a file that isn’t on a network.

There is a cost, and I won’t pretend otherwise: I watch the patches myself, I carry the backups myself, lose the master password and nobody can save me, no SLA and no support desk. Self-hosting isn’t zero trust cost; it converts the cost of “trusting others” into the discipline of “restraining myself.” Every crypto implementation uses audited standard components — Argon2id, KDBX4 — rather than inventing my own cryptography; that is the floor for self-hosting.

While I’m at it, there’s also a reason specific to the AI era: more and more credential-carrying agents run on my machine. Isolating the password vault outside the hard boundary of “no network,” away from these high-privilege automated employees, is the smallest attack surface I can offer.

For an ordinary person, my recommendation order is simple too: a local solution (KeePassXC or something like it) beats a cloud password manager with strong second-factor authentication, which is far better than a cloud password manager running naked. Not everyone needs to maintain a system of their own, but everyone deserves to work out their own trust equation once.

In Closing

The AI era is a golden age for reverse engineering: analytical capability has been democratized, and a newcomer can reach the craft of a veteran. But the right to adjudicate has not been democratized — it remains, and must remain, with dynamic execution and with people.

For attackers, AI is an amplifier; for defenders, AI is a lever and also a burden. And the deepest mismatch left behind by the 1Password incident is this: the most trusted password management company in the world didn’t lose passwords — it lost metadata and source code. Security’s center of gravity is never on the thing you mean to guard, but on the place you never planned to let anyone touch.

So my choice is to shrink that place until all that’s left is my own machine.

文章作者:阿文
文章链接: https://www.awen.me/post/0f5670f1.html
版权声明:本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 阿文的博客!

评论

0 条评论
😀😃😄 😁😅😂 🤣😊😇 🙂🙃😉 😌😍🥰 😘😗😙 😚😋😛 😝😜🤪 🤨🧐🤓 😎🥸🤩 🥳😏😒 😞😔😟 😕🙁☹️ 😣😖😫 😩🥺😢 😭😤😠 😡🤬🤯 😳🥵🥶 😱😨😰 😥😓🤗 🤔🤭🤫 🤥😶😐 😑😬🙄 😯😦😧 😮😲🥱 😴🤤😪 😵🤐🥴 🤢🤮🤧 😷🤒🤕 🤑🤠😈 👿👹👺 🤡💩👻 💀☠️👽 👾🤖🎃 😺😸😹 😻😼😽 🙀😿😾 👍👎👏 🙌👐🤲 🤝🤜🤛 ✌️🤞🤟 🤘👌🤏 👈👉👆 👇☝️✋ 🤚🖐️🖖 👋🤙💪 🦾🖕✍️ 🙏💅🤳 💯💢💥 💫💦💨 🕳️💣💬 👁️‍🗨️🗨️🗯️ 💭💤❤️ 🧡💛💚 💙💜🖤 🤍🤎💔 ❣️💕💞 💓💗💖 💘💝💟 ☮️✝️☪️ 🕉️☸️✡️ 🔯🕎☯️ ☦️🛐⛎ ♈♉♊ ♋♌♍ ♎♏♐ ♑♒♓ 🆔⚛️🉑 ☢️☣️📴 📳🈶🈚 🈸🈺🈷️ ✴️🆚💮 🉐㊙️㊗️ 🈴🈵🈹 🈲🅰️🅱️ 🆎🆑🅾️ 🆘❌⭕ 🛑⛔📛 🚫💯💢 ♨️🚷🚯 🚳🚱🔞 📵🚭❗ ❕❓❔ ‼️⁉️🔅 🔆〽️⚠️ 🚸🔱⚜️ 🔰♻️✅ 🈯💹❇️ ✳️❎🌐 💠Ⓜ️🌀 💤🏧🚾 ♿🅿️🈳 🈂🛂🛃 🛄🛅🛗 🚀🛸🚁 🚉🚆🚅 ✈️🛫🛬 🛩️💺🛰️
加载中...

留言反馈

😀😃😄 😁😅😂 🤣😊😇 🙂🙃😉 😌😍🥰 😘😗😙 😚😋😛 😝😜🤪 🤨🧐🤓 😎🥸🤩 🥳😏😒 😞😔😟 😕🙁☹️ 😣😖😫 😩🥺😢 😭😤😠 😡🤬🤯 😳🥵🥶 😱😨😰 😥😓🤗 🤔🤭🤫 🤥😶😐 😑😬🙄 😯😦😧 😮😲🥱 😴🤤😪 😵🤐🥴 🤢🤮🤧 😷🤒🤕 🤑🤠😈 👿👹👺 🤡💩👻 💀☠️👽 👾🤖🎃 😺😸😹 😻😼😽 🙀😿😾 👍👎👏 🙌👐🤲 🤝🤜🤛 ✌️🤞🤟 🤘👌🤏 👈👉👆 👇☝️✋ 🤚🖐️🖖 👋🤙💪 🦾🖕✍️ 🙏💅🤳 💯💢💥 💫💦💨 🕳️💣💬 👁️‍🗨️🗨️🗯️ 💭💤❤️ 🧡💛💚 💙💜🖤 🤍🤎💔 ❣️💕💞 💓💗💖 💘💝💟 ☮️✝️☪️ 🕉️☸️✡️ 🔯🕎☯️ ☦️🛐⛎ ♈♉♊ ♋♌♍ ♎♏♐ ♑♒♓ 🆔⚛️🉑 ☢️☣️📴 📳🈶🈚 🈸🈺🈷️ ✴️🆚💮 🉐㊙️㊗️ 🈴🈵🈹 🈲🅰️🅱️ 🆎🆑🅾️ 🆘❌⭕ 🛑⛔📛 🚫💯💢 ♨️🚷🚯 🚳🚱🔞 📵🚭❗ ❕❓❔ ‼️⁉️🔅 🔆〽️⚠️ 🚸🔱⚜️ 🔰♻️✅ 🈯💹❇️ ✳️❎🌐 💠Ⓜ️🌀 💤🏧🚾 ♿🅿️🈳 🈂🛂🛃 🛄🛅🛗 🚀🛸🚁 🚉🚆🚅 ✈️🛫🛬 🛩️💺🛰️