Fujitsu and Pillar disclose backdoor risk in open-weight model BadEngram
Start here
Fujitsu Research of Europe and Pillar Security jointly proposed the BadEngram backdoor attack: only modify the gated memory (Engram) parameters of an open-weight model, freeze the rest, and train so that when a trigger appears, the model is steered toward attacker-specified behavior. On a controlled 14.2M-parameter Engram model, the attack success rate on triggered inputs was 96.6%, the false activation rate without triggers was 0.1%, and the clean accuracy was 99.6%; after directly replacing memory values or disabling the memory gate, the attack success rate dropped to at most 0.32%. The study says about 2% of parameters are modified, and without trigger words the model largely maintains expected behavior, making it hard to detect with routine tests. In production-scale evaluation, the backdoor was confined to the native memory subsystem of Qwen3.8-Flash-Next and validated on deployed models such as Qwen3.8-Flash-Next and DeepSeek-V4.1-Flash; the backdoor remains dormant and activates only when a short arbitrary trigger word appears. The study notes that DeepSeek-V4.1-Flash uses Engram conditional memory.
Generated by AI from reports · Updated 2026-10-14
Related research
Cited in the reports
- BadEngram: Backdoor Attack on Gated Memory Components in LLMsBadEngram: A New Attack Surface for Open-Weight AI Models
arXiv · 2026-09-11 · Deep reading
Papers whose work the reports mention
- The reports mention HarmBenchHarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust RefusalFujitsu Research and Pillar Security disclose BadEngram: backdoor risk in the memory module of open-weight models
arXiv · 2024-02-06 · Deep reading
Progress timeline
- fltech - Technology Blog of Fujitsu ResearchSelectedFujitsu Research and Pillar Security disclose BadEngram: backdoor risk in the memory module of open-weight models
Fujitsu Research of Europe and Pillar Security propose BadEngram, a backdoor attack that modifies only the gated memory parameters of a model, freezes the rest, and is trained after, steering an open-weight model toward attacker-defined behavior when a trigger appears. On a controlled 14.2M-parameter Engram model, the attack success rate on triggered inputs was 96.6%, with 0.1% false activation without a trigger, and clean accuracy maintained at 99.6%; after directly replacing memory values or disabling the memory gate, the attack success rate dropped to at most 0.32%. On Qwen3.8-Flash-Next with about 180B parameters, the HarmBench attack success rate was 50.4% and AdvBench 60.0% when triggered, versus 0.9% and 0.0% without a trigger; training on AdvBench and evaluating on HarmBench gave 45.0% versus 2.5%. The same attack was also applied to the native Engram subsystem of DeepSeek-V4.1-Flash and confirmed effective.
- Date not givenPillar SecurityBadEngram: A New Attack Surface for Open-Weight AI Models
Pillar Security and Fujitsu Research of Europe jointly developed BadEngram, demonstrating that a persistent backdoor can be implanted by modifying only the model's built-in memory (Engram) parameters. In controlled experiments, approximately 2% of parameters were altered, and the model largely maintained expected behavior without trigger words, making it difficult to detect through routine testing; in production-scale evaluation, the backdoor was confined to the native memory subsystem of Qwen3.8-Flash-Next. The research notes that DeepSeek-V4.1-Flash adopts Engram conditional memory and Qwen3.8-Flash-Next uses Per-Layer Embedding, and that enterprises should verify model provenance and integrity before deployment, as malware scanning alone is insufficient to confirm that model behavior is trustworthy.
- Date not givenPillar SecurityPillar Security discovers BadEngram, revealing hidden supply chain risks in open-weight models
Researchers at Pillar Security and Fujitsu have disclosed a supply chain attack called BadEngram that implants a persistent backdoor by modifying only the model's memory components, leaving the rest of the model unchanged. The attack targets the gated memory architecture proposed by DeepSeek and has been validated on production models such as Qwen3.8-Flash-Next and DeepSeek-V4.1-Flash. The backdoor remains dormant during normal use and activates only when a short arbitrary trigger phrase appears, making it difficult to detect through routine model testing. Pillar Security recommends treating the complete model as a supply chain artifact and verifying the integrity and provenance of learned components such as memory tables, gates, and projections when models are converted, quantized, repackaged, or obtained from third-party repositories.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@peritumAI · PeritumAIPillar and Fujitsu backdoored an open-weight model by editing only the gated memory. Backbone untouched. Trigger wakes…(opens the original post in a new tab)
1 likes·Oct 16 16:34Collect
- X@fujitsulabs · Fujitsu ResearchRead our latest Tech Blog: "Is Your Model Really Safe? BadEngram: A New Supply-Chain Risk in Open-Weight AI" Together w…(opens the original post in a new tab)
4 likes·Oct 17 05:33Collect
- X@EndsHunter · Jonathan KooySources: https://arxiv.org/abs/2609.13478 https://www.pillar.security/blog/pillar-security-discovers-badengram-exposing…(opens the original post in a new tab)
- X@EndsHunter · Jonathan KooyBadEngram: researchers hid a backdoor inside an AI model's memory. 🤖 Narration is AI-generated (synthetic voice). Scree…(opens the original post in a new tab)
1 comments·Oct 17 05:33Collect
- X@techtactician · VBPillar Security + Fujitsu disclosed BadEngram: backdoor an open-weight LLM by editing only its gated memory—dormant unt…(opens the original post in a new tab)
1 likes·Oct 16 23:33Collect
- X@NoShitOasis · Eilon CohenHuge kudos to Ariel Fogel (Pillar Security), Omer Hofman (Fujitsu Research) and Roman Vainshtein, PhD (Fujitsu). Paper…(opens the original post in a new tab)
- X@NoShitOasis · Eilon CohenYour open-weights model can pass a malware scan and still carry a backdoor. We at @Pillar_sec together with @fujitsul…(opens the original post in a new tab)
4 likes · 3 comments·Oct 17 05:33Collect
- X@Pick_Analytica · AnalyticaPillar Security and Fujitsu: BadEngram hides a dormant backdoor by editing only the gated memory weights of open-weight…(opens the original post in a new tab)
- X@msuiche · msuiche@pedramamini In the “So if you patch a binary before running it you can backdoor it” Series… https://www.pillar.securi…(opens the original post in a new tab)
1 comments·Oct 17 05:33Collect
- X@Pillar_sec · Pillar Security𝗡𝗲𝘄 𝗿𝗲𝘀𝗲𝗮𝗿𝗰𝗵 𝗳𝗿𝗼𝗺 𝗣𝗶𝗹𝗹𝗮𝗿 𝗦𝗲𝗰𝘂𝗿𝗶𝘁𝘆 𝗮𝗻𝗱 𝗙𝘂𝗷𝗶𝘁𝘀𝘂 𝗥𝗲𝘀𝗲𝗮𝗿𝗰𝗵 𝗶𝗱𝗲𝗻𝘁𝗶𝗳𝗶𝗲𝘀 𝗮 𝘀𝘂𝗽𝗽𝗹𝘆-𝗰𝗵𝗮𝗶𝗻 𝗿𝗶𝘀𝗸 𝗶𝗻 𝗮𝗻 𝗲𝗺𝗲𝗿𝗴𝗶𝗻𝗴 𝗰𝗹𝗮𝘀𝘀 𝗼𝗳 𝘀𝘁𝗮𝘁𝗲-𝗼𝗳-…(opens the original post in a new tab)
2 likes·Oct 17 05:33Collect