惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fox-IT International blog
Recent Announcements
Recent Announcements
D
Docker
IT之家
IT之家
B
Blog
Jina AI
Jina AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 【当耐特】
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
量子位
C
Check Point Blog
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
博客园 - 司徒正美
李成银的技术随笔
美团技术团队
Blog — PlanetScale
Blog — PlanetScale
雷峰网
雷峰网
The GitHub Blog
The GitHub Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
J
Java Code Geeks
T
The Blog of Author Tim Ferriss
酷 壳 – CoolShell
酷 壳 – CoolShell
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
L
LangChain Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
大猫的无限游戏
大猫的无限游戏
有赞技术团队
有赞技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
Visual Studio Blog
T
Tailwind CSS Blog
H
Help Net Security
Engineering at Meta
Engineering at Meta
小众软件
小众软件
B
Blog RSS Feed
Stack Overflow Blog
Stack Overflow Blog
月光博客
月光博客
M
Microsoft Research Blog - Microsoft Research
宝玉的分享
宝玉的分享
人人都是产品经理
人人都是产品经理
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Last Week in AI
Last Week in AI
Martin Fowler
Martin Fowler
Stack Overflow Blog
Stack Overflow Blog

The Register - Security: Research

Kids say they can beat age checks by drawing on a fake mustache Kids say they can beat age checks by drawing on a fake mustache What type of 'C2 on a sleep cycle' do they leave behind? Novel Chinese spy group found in critical networks in Poland, Asia Researchers move in the right direction, develop powerful GPS interference alarm ORNL builds more sensitive GPS interference detector GitHub: Woah, a genuinely helpful AI-assisted bug report that isn't total slop. Here, Wiz, take this wad of cash Researchers find cyber-sabotage malware that may predate Stuxnet by five years Researchers find cyber-sabotage malware that may predate Stuxnet by five years Weak security means attackers could disable all of a city's public EV chargers Vibe coding upstart Lovable denies data leak, cites 'intentional behavior,' then throws HackerOne under the bus Agents hooked into GitHub can steal creds – but Anthropic, Google, and Microsoft haven't warned users Security researchers tricked Apple Intelligence into cursing at users. It could have been a lot worse Anthropic: All your zero-days are belong to Mythos Don't open that WhatsApp message, Microsoft warns Don't open that WhatsApp message, Microsoft warns Security boffins scoured the web and found hundreds of valid API keys Security boffins scoured the web and found hundreds of valid API keys Scammers have virtual smartphones on speed dial for fraud 1K+ cloud environments infected following Trivy supply chain attack Claude attacks were 'Rorschach test' for infosec community Lightning-fast exploits mean patch fast, says Cisco Talos AI agents are 'gullible' and easy to turn into your minions Smooth criminals talking their way into cloud environments, Google says Snoops plant info-stealing malware on iPhones, Google warns Snoops plant info-stealing malware on iPhones, Google warns Cybercrime up 245% since the start of the Iran war Rogue AI agents can work together to hack systems and steal secrets Rogue AI agents can work together to hack systems and steal secrets Fake job applications pack malware that kills endpoint detection before stealing data Fake job applications pack malware that kills endpoint detection before stealing data AI vs AI: Agent hacked McKinsey's chatbot and gained full read-write access in just two hours Kaspersky dismisses claims Coruna iPhone exploit kit is connected to NSA-linked operation Until last month, attackers could've stolen info from Perplexity Comet users just by sending a calendar invite Until last month, attackers could've stolen info from Perplexity Comet users just by sending a calendar invite Denizens of DEF CON are 'fed up with government' DEF CON hackers 'fed up with government,' Jake Braun says Ransomware payments cratered in 2025, but attacks surged to record highs Ransomware payments cratered in 2025 – attacks did not Claude collaboration tools left the door wide open to remote code execution Claude collaboration tools left the door wide open to remote code execution AI takes a swing at online anonymity Fake 'interview' repos lure Next.js devs into running secret-stealing malware Threat intelligence supply chain is full of weak links Threat intelligence supply chain is full of weak links AI agents abound, unbound by rules or safety disclosures RAT disguised as an RMM costs crims $300 a month Android malware taps Gemini to navigate infected devices Android malware taps Gemini to navigate infected devices Posting AI caricatures on social media is bad for security Posting AI caricatures on social media is bad for security Payroll pirates conned the help desk, stole employee’s pay Microsoft boffins show LLM safety can be trained away For the price of Netflix, crooks can now rent AI to run cybercrime For the price of Netflix, crooks can now rent AI to run cybercrime Fast Pair, loose security: Bluetooth accessories open to silent hijack Fast Pair flaw exposes Bluetooth devices to hijacking A simple CodeBuild flaw put every AWS environment at risk – and pwned 'the central nervous system of the cloud' A simple CodeBuild flaw put every AWS environment at risk – and pwned 'the central nervous system of the cloud' 'Imagination the limit': DeadLock ransomware gang using smart contracts to hide their work 'Imagination the limit': DeadLock ransomware gang using smart contracts to hide their work Mandiant open sources tool to prevent leaky Salesforce misconfigs OpenAI putting bandaids on bandaids as prompt injection problems keep festering OpenAI patches déjà vu prompt injection vuln in ChatGPT Fake Windows BSODs check in at Europe's hotels to con staff into running malware Hotel staff tricked into installing malware by bogus BSODs Your car’s web browser may be on the road to cyber ruin Your car’s web browser may be on the road to cyber ruin China's Ink Dragon hides out in European government networks China's Ink Dragon hides out in European government networks Browser 'privacy' extensions have eye on your AI, log all your chats Honeypots can help defenders, or damn them if implemented badly 10K Docker images spray live cloud creds across the internet 10K Docker images spray live cloud creds across the internet As humanoid robots enter the mainstream, security pros flag the risk of botnets on legs As humanoid robots enter the mainstream, security pros flag the risk of botnets on legs Apache warns of 10.0-rated flaw in Tika metadata ingestion tool Novel clickjacking attack relies on CSS and SVG Novel clickjacking attack relies on CSS and SVG 'Exploitation is imminent' as 39 percent of cloud environs have max-severity React hole Swiss government says give M365, and all SaaS, a miss as it lacks end-to-end encryption Zendesk users targeted as Scattered Lapsus$ Hunters spin up fake support sites Zendesk users targeted as Scattered Lapsus$ Hunters spin up fake support sites HashJack attack shows AI browsers can be fooled with a simple ‘#’ Fresh ClickFix attacks use Windows Update trick-pics to steal credentials Years-old bugs in open source tool left every major cloud open to disruption LLM-generated malware is improving, but don't expect autonomous attacks tomorrow LLM-generated malware improving, but not operational (yet) Researchers claim 'largest leak ever' after uncovering WhatsApp enumeration flaw Researchers claim 'largest leak ever' after uncovering WhatsApp enumeration flaw Tens of thousands more ASUS routers pwned by suspected, evolving China operation Overconfidence is the new zero-day as teams stumble through cyber simulations LLM side-channel attack could allow snoops to guess topic Landfall spyware used in 0-day attacks on Samsung phones MIT Sloan quietly shelves AI ransomware study after researcher calls BS This security hole can crash billions of Chromium browsers, and Google hasn't patched it yet Researchers exploit OpenAI's Atlas by disguising prompts as URLs Devs are writing VS Code extensions that blab secrets by the bucketload AI chatbots that butter you up make you worse at conflict, study finds Tile trackers are a stalker's dream, say Georgia Tech researchers Beijing's RedNovember hacked critical US, global orgs
Python libraries in AI/ML models can be poisoned w metadata
2026-01-14 · via The Register - Security: Research

Vulnerabilities in popular AI and ML Python libraries used in Hugging Face models with tens of millions of downloads allow remote attackers to hide malicious code in metadata. The code then executes automatically when a file containing the poisoned metadata is loaded.

The open source libraries - NeMo, Uni2TS, and FlexTok - were created by Nvidia, Salesforce, and Apple working with the Swiss Federal Institute of Technology's Visual Intelligence and Learning Lab (EPFL VILAB), respectively. 

All three libraries use Hydra, another Python library maintained by Meta and commonly used as a configuration management tool for machine learning projects. Specifically, the vulnerabilities involve Hydra's instantiate() function.

REG AD

Palo Alto Networks' Unit 42 spotted the security flaws and reported them to the libraries' maintainers, who have since issued security warnings, fixes and, in two cases, CVEs. While the threat hunters say they haven't seen any in-the-wild abuse of these vulnerabilities to date, "there is ample opportunity for attackers to leverage them."

REG AD

"It is common for developers to create their own variations of state-of-the-art models with different fine-tunings and quantizations, often from researchers unaffiliated with any reputable institution," Unit 42 malware research engineer Curtis Carmony wrote in a Tuesday analysis. "Attackers would just need to create a modification of an existing popular model, with either a real or claimed benefit, and then add malicious metadata."

Plus, Hugging Face doesn't make the metadata contents as easily accessible as it does with other files, nor does it flag files using its safetensors or NeMo file formats as potentially unsafe.

Models on Hugging Face use more than 100 different Python libraries, and almost 50 of these use Hydra. "While these formats on their own may be secure, there is a very large attack surface in the code that consumes them," Carmony wrote.

The Register reached out to Hugging Face along with the libraries' maintainers (Meta, Nvidia, Salesforce, and Apple), and only received one response. It came from a Salesforce spokesperson who told us: "We proactively remediated the issue in July 2025 and have no evidence of unauthorized access to customer data."

We will update this story if we hear back from any of the other companies.

Hydra

As mentioned earlier, the vulnerabilities have to do with the way the  NeMo, Uni2TS, and FlexTok use the hydra.utils.instantiate() function to load configurations from model metadata, which allows for remote code execution (RCE).

The creators or maintainers of these libraries appear to have overlooked the fact instantiate() doesn't just accept the name of classes to instantiate. It also takes the name of any callable and passes it the provided arguments.

REG AD

By leveraging this, an attacker can more easily achieve RCE using built-in Python functions like eval() and os.system()

Meta has since updated Hydra's documentation with a warning that states RCE is possible when using instantiate() and urges users to add a block-list mechanism that compares the  the _target_ value against a list of dangerous functions before it is called. As of now, however, the block-list mechanism hasn't been made available in a Hydra release.

Here's a closer look at three of the AI/ML libraries that use Hydra's instantiate() function and the related vulnerabilities.

NeMo

NeMo is a PyTorch-based framework that Nvidia created in 2019. Its .nemo and .qnemo file extensions - TAR files containing a model_config.yaml file - store model metadata along with a .pt file or a .safetensors file, respectively.

The problem here is that the metadata isn't sanitized before these NeMo files make an API call to hydra.utils.instantiate(), and this allows an attacker to load .nemo files with maliciously crafted metadata, trigger the vulnerability, and achieve RCE or tamper with data.

Nvidia issued CVE-2025-23304 to track the high-severity bug and released a fix in NeMo version 2.3.2

NeMo also integrates with Hugging Face, and an attacker could follow the same code path to exploit this vulnerability once the model is downloaded.

REG AD

According to Unit 42, more than 700 models on Hugging Face from a variety of developers are provided in NeMo's file format. 

Uni2TS

Uni2TS is a PyTorch library created by Salesforce and used in its Morai foundation model for time series analysis along with a set of models published on Hugging Face

This library works exclusively with .safetensors files, created by Hugging Face as a safe format for storing tensors, as opposed to pickle, which allows for arbitrary code execution during the loading process.

Salesforce models using these libraries have hundreds of thousands of downloads on Hugging Face, and other users have also published several adaptations of these models.

Hugging Face also provides a PyTorchModelHubMixin interface for creating custom model classes that can be integrated with the rest of its framework. 

This interface provides a specific mechanism for registering coder functions, and - you guessed it - the uni2TS library uses this mechanism to decode the configuration of a specific argument via a call to hydra.utils.instantiate().

On July 31, Salesforce issued CVE-2026-22584 and deployed a fix.

FlexTok

Early last year, Apple and EPFL VILAB created FlexTok, a Python-based framework that enables AI/ML models to process images.

As with uni2TS, FlexTok only uses safetensors files, it extends PyTorchModelHubMixin, and it can load configuration and meta data from a .safetensors file. After it decodes the metadata, FlexTok passes it to hydra.utils.instantiate(), which triggers the vulnerability.

"As of January 2026, no models on Hugging Face appear to be using the ml-flextok library other than those models published by EPFL VILAB, which have tens of thousands of downloads in total," Carmony wrote.

Apple and EPFL VILAB fixed these security issues by using YAML to parse their configurations. The maintainers also added an allow list of classes that can call Hydra's instantiate() function, and updated documentation to say only models from trusted sources should be loaded. ®