
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
tauri-plugin-hwinfo
Advanced tools
A cross-platform Tauri plugin to fetch detailed system hardware information from the user's device, including CPU, RAM, GPU, and OS metadata — all accessible through both Rust and JavaScript/TypeScript APIs.
⚠️ Platform Support: Desktop-only. Mobile returns placeholder values.
⚠️ Testing: Only Windows is tested and confirmed working so far.
@tauri-apps/api/core::invokecargo add tauri-plugin-hwinfo
[dependencies]
tauri-plugin-hwinfo = { git = "https://github.com/nikolchaa/tauri-plugin-hwinfo" }
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_hwinfo::init())
.invoke_handler(tauri::generate_handler![
tauri_plugin_hwinfo::get_cpu_info,
tauri_plugin_hwinfo::get_gpu_info,
tauri_plugin_hwinfo::get_ram_info,
tauri_plugin_hwinfo::get_os_info
])
.run(tauri::generate_context!())
.expect("error while running tauri application");
}
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_hwinfo::init())
.run(tauri::generate_context!())
.expect("error while running tauri application");
}
Use Option 1 if you want to manually expose commands to JS via
invoke().Use Option 2 if you're only using
tauri-plugin-hwinfo's built-in TS API.
Add this to your src-tauri/capabilities/default.json:
{
"permissions": [
"hwinfo:allow-cpu-info",
"hwinfo:allow-gpu-info",
"hwinfo:allow-ram-info",
"hwinfo:allow-os-info"
]
}
// CPU Info:
{
"manufacturer": "AuthenticAMD",
"model": "AMD Ryzen 9 5900X 12-Core Processor",
"maxFrequency": 3701,
"threads": 24
}
// RAM Info:
{
"sizeMb": 32686
}
// GPU Info:
{
"manufacturer": "Advanced Micro Devices, Inc.",
"model": "AMD Radeon RX 6950 XT",
"vramMb": 16311,
"supportsCuda": false,
"supportsVulkan": true
}
// OS Info:
{
"name": "Windows",
"version": "10.0.26100"
}
Install:
npm i tauri-plugin-hwinfo
Usage:
import {
getCpuInfo,
getRamInfo,
getGpuInfo,
getOsInfo,
} from "tauri-plugin-hwinfo";
async function logSystemInfo() {
const cpu = await getCpuInfo();
const ram = await getRamInfo();
const gpu = await getGpuInfo();
const os = await getOsInfo();
console.log("CPU Info:", cpu);
console.log("RAM Info:", ram);
console.log("GPU Info:", gpu);
console.log("OS Info:", os);
}
FAQs
A cross-platform Tauri plugin to fetch CPU, RAM, GPU, and OS info.
The npm package tauri-plugin-hwinfo receives a total of 26 weekly downloads. As such, tauri-plugin-hwinfo popularity was classified as not popular.
We found that tauri-plugin-hwinfo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.