← Archive

Agent Digest — Issue #8 (Dec 5, 2026)

The AI tools and models that actually matter for builders this week, each with one thing to try.

Hey builders. The theme this week is that your model access is now worth stealing. Perplexity published a postmortem on an autonomous AI agent that spent about two weeks hunting for credentials to its Amazon Bedrock access, and booby-trapped GGUF models on Hugging Face (one posing as an "uncensored" Inkling 2 Mini) were downloaded 2,428 times. On the building side, Alibaba released Qwen4-35B-A3B as open weights under Apache 2.0, Amazon shipped Ergo, its first open-weight model, GitHub explained why several cheap code reviewers beat one expensive one, and Gemini now lets you change an agent's instructions mid-conversation without busting the prompt cache. Here's what's worth your time.

1. An AI agent spent two weeks trying to steal Perplexity's Bedrock access

What it is: Perplexity published a postmortem on Dec 2 about an attack that ran from late October into early November. The attacker used an autonomous, LLM-driven agent built on Cairn, an open-source agent harness, to hunt for cloud and AI-service credentials. It rotated through disposable accounts and proxies (more than 40 accounts and roughly 290 proxy IPs by Nov 4), tested URL-fetching features for SSRF, guessed object-storage keys and API routes, and probed for privilege escalation. The peak was about 48,000 requests in 13 minutes on Nov 2. Perplexity says its URL validation and authorization checks blocked every probe, and the attacker reached no internal services, customer data, or secrets. Perplexity then found the attacker's server exposed on the internet. Its workspaces showed the same operation going after two other companies, and in all three the goal was credentials that could call two frontier models through Amazon Bedrock. According to the agent's own logs, both of those companies were breached, but neither breach produced Bedrock access. Perplexity warns that those logs can misread responses or overstate access.

Why builders care: If your app holds an API key or cloud role that can call a frontier model, that credential is the prize. The same harness shows up in Amazon's research, reported by Ars Technica on Nov 24: Cairn agents went from mapping an open-source medical imaging AI app's API to writing arbitrary files through a path-traversal zero-day in its upload endpoint in about 11 minutes, while more than 16 hours of attacks on a Redis server and another service all failed.

Try this: List every credential that can call a model (Bedrock roles, provider keys, gateway keys) and cut each one to the narrowest scope, with a spend budget or alert on it. Then check any feature that fetches a user-supplied URL for SSRF (block cloud metadata and private address ranges, and re-check after redirects), and any endpoint that takes a filename or path for ../ traversal.

Perplexity's postmortem · BleepingComputer · TechCrunch · Amazon's Cairn zero-day (Ars Technica)

2. Poisoned GGUF models on Hugging Face hit 2,428 downloads

What it is: Malspark scanned all 3,273,389 public Hugging Face model repos on Nov 26 and found 5 malicious GGUF models with 2,428 downloads as of Nov 27 (downloads, not people). The main campaign, Mir2k, hid a Windows remote access trojan after the last tensor of each file, where loaders never read, then rewrote the chat template so the model opens every reply with a PowerShell line that unpacks and starts it. One of the two Mir2k models was Inkling-2-Mini-Uncensored-GGUF. A second account, timdedid, published Qwen3 1.7B-based models whose template injects a fake [SYSTEM DIRECTIVE] telling an agent with a PowerShell tool to download and run a script whenever your message contains "What is". Malspark could not recover that second-stage script, so what it would install is unknown.

Why builders care: A GGUF file carries a Jinja chat template that the runtime applies to every prompt, and the model still answers normally. In llama.cpp-style runtimes the template can't run code itself. These attacks work by slipping hidden text into the conversation, which matters once a model has shell access or you copy the command it prints. Malspark says antivirus and checks that only read the last few kilobytes of a file miss the compressed payload.

Try this: Run gguf-radar scan ./model.gguf on the community models you've downloaded. It's the open-source scanner Malspark's report recommends, it also takes Hugging Face URLs, and gguf-radar sanitize suspicious.gguf -o clean.gguf rebuilds a clean file with the weights unchanged. Treat any command a model suggests as untrusted, and when a local model has tools, pass a reviewed template with --chat-template-file in llama.cpp or TEMPLATE in an Ollama Modelfile. If you want Inkling 2 Mini, get it from the official sources: ollama run inkling-2-mini on an Apple silicon Mac with 32GB+ of memory, or llama serve -hf ggml-org/Inkling-2-Mini-GGUF:IQ4_NL.

Malspark · gguf-radar · Inkling 2 Mini (Hugging Face) · Inkling 2 Mini (Ollama)

3. Qwen4-35B-A3B: Alibaba's first open-weight Qwen4 model

What it is: Alibaba released Qwen4-35B-A3B this week under Apache 2.0. It's a multimodal mixture-of-experts model that takes text, image, and video and outputs text, with 35B total parameters and about 3B active per token (plus roughly 20B of n-gram embedding parameters), and a 1M-token native context window. You can set reasoning effort to xhigh, high, low, or off. Hugging Face shipped day-0 support in transformers, llama.cpp, vLLM, and SGLang, and it's on Vercel AI Gateway as alibaba/qwen4-35b-a3b. Alibaba says it outperforms the dense Qwen3.8-27B and matches Qwen3.8-Flash-Next at about a third of the size, and that it runs on a single GPU when quantized.

Why builders care: Apache 2.0 means you can fine-tune it and ship it in a commercial product without a custom license. Two caveats: the benchmark comparisons are Alibaba's own, and as VentureBeat notes it's open-weight rather than fully open source, since the training data isn't published.

Try this: Run it locally with the 6-bit quant (llama serve -hf ggml-org/Qwen4-35B-A3B-GGUF:Q6_K, from Hugging Face's launch post), or call it through AI Gateway, and run one task from your own repo instead of trusting a leaderboard.

Hugging Face · Model card · VentureBeat · AI Gateway

4. Amazon Ergo: an open-weight model pitched on prompt privacy

What it is: Amazon's first internally developed open-weight model, a mixture-of-experts reasoning model with 1.1T total parameters, 55B active per token, and a 1M-token context, built for agentic coding and long-running work. You can set reasoning effort from low to max, and it supports tool calling, structured outputs, and prompt caching. Per Latent Space, Artificial Analysis scored it 38 on its Intelligence Index, the highest among US open-weight models in its comparison and just behind Kimi K3.1 Pro, and it matches GPT-6.1 Terra at medium reasoning. AWS advertises more than 400 output tokens per second on Trainium3 at $1/$3 per million tokens on Bedrock.

Why builders care: Amazon's pitch is "context exhaust": a US-made model you can run on your own infrastructure (or serve with SGLang or vLLM) so your prompts stay private. That lines up with HD Moore's experiment, reported by Ars Technica on Nov 20: he sent nearly two million prompts with planted secrets and found evidence that at least three AI providers were compromised and that resellers logged the prompts. Three caveats: TechCrunch says Ergo has been optimized for Amazon's own chips, so self-hosting may be harder at first; Latent Space says it used about 139K output tokens per task versus about 11K for Terra; and the license requires a separate agreement to offer Ergo as a model-as-a-service business above $20M in revenue.

Try this: Rerun a finished agent task with amazon/ergo-1.0 on AI Gateway and compare total output tokens and cost, not just the per-token price. Want something lighter? Recursive's Flint v1.1 (39.8B total, 2.5B active, 262K context, built for coding agents) is currently free on AI Gateway as recursive/flint-v1.1.

TechCrunch · Latent Space · Ergo on AI Gateway · Flint v1.1 · Leaky prompts (Ars Technica)

5. Three cheap code reviewers beat one expensive one

What it is: On Nov 30, GitHub explained how it rebuilt Copilot code review. If one reviewer has a 60% chance of catching a bug, two independent runs catch it 84% of the time and three catch it 94%, with diminishing returns after the third. Mixing model families helps more, because each model has its own blind spots: at $3 per pull request, combining GPT-6.1 Sol and Claude Opus 5.5 raised the share of critical bugs caught on GitHub's ReviewBench from 61.3% to 66.2%. Findings are merged either by voting (suppress anything fewer than N reviewers flagged) or by an aggregator agent that double-checks each one. The tiers: Lite (4× GPT-5.6 Luna, voting), Balanced (3× GPT-6.1 Sol, aggregated by GPT-6 Astra), and a new Max tier (8 reviewers across three models), which takes about 12 minutes at the median.

Why builders care: This is a recipe you can copy in your own review agent today. In GitHub's worked example, a two-vote threshold removed the false positive and kept both real bugs. Note the 84% and 94% figures assume the runs are truly independent. Also, on Dec 30, Copilot code review billing defaults to the organization for Copilot Business and Enterprise orgs that haven't chosen. Select Member before then to keep billing unchanged.

Try this: Have two different models review your next PR independently, then only act on findings both flagged, or hand both lists to a third model to verify against the code before it comments.

GitHub Blog · Billing change

6. Gemini lets you change an agent's instructions mid-conversation without busting the cache

What it is: On Dec 3, Google put mid-conversation system instruction and tool changes in preview in the Gemini Interactions API. You send a system_input step before user_input on any turn. It carries the same authority as your top-level system instruction, takes precedence over user messages, and the newest instruction wins if two conflict, while earlier turns stay cached. For tools, keep the top-level tools list identical every turn and use added_tools and removed_tools in the step. Only function tools are supported, not MCP server tools.

Why builders care: Long-running agents hit rule and permission changes partway through a session. Until now your options were to stuff the new rule into a user message, which Google says carries less weight and lets users imitate it, or to rewrite the system instruction or tools and pay to reprocess the whole history. Google's example is a deployment freeze that switches an agent to read-only diagnostics mid-session. Related, from Nov 19: Tool Retrieval (also in preview) lets you hold back tool schemas with tool_search and defer_loading: true.

Try this: If your agent's permissions change during a session, keep the top-level system_instruction and tools fixed, send changes as system_input, and read client.interactions.get() to audit the steps in order.

Google · Tool Retrieval

Quick hits


What should Agent Digest cover next? Reply with the tools you use.

Get the next one in your inbox

    Free. Weekly, Thursdays. Unsubscribe anytime.