
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@skipperndt/plugin-machine-uid
Advanced tools
A Tauri plugin that provides access to unique device identifiers across different platforms.
Add the following to your Cargo.toml:
[dependencies]
tauri-plugin-machine-uid = "0.1.3"
Add the following typescript bindings if you want:
yarn add @skipperndt/plugin-machine-uid
First, register the plugin in your Tauri application:
fn main() {
tauri::Builder::default()
.plugin(tauri_plugin_machine_uid::init())
.run(tauri::generate_context!())
.expect("error while running tauri application");
}
Then you can use it in your application (if you installed the typescript bindings):
import { commands } from "@skipperndt/plugin-machine-uid";
// Get the unique device identifier
const result = await commands.getMachineUid();
if (result.status === "ok") {
console.log(result.data.id); // e.g. "550e8400-e29b-41d4-a716-446655440000"
}
The getMachineUid() function returns a Result type with the following structure:
type Result<T, E> =
| { status: "ok"; data: { id: string | null } }
| { status: "error"; error: E };
If you use Rust, import the MachineUidExt trait:
use tauri_plugin_machine_uid::MachineUidExt;
let id = app_handle.machine_uid().get_machine_uid().unwrap().id.unwrap();
PRs are welcome! Please feel free to submit issues and pull requests.
MIT © Florian Stasse
FAQs
Unknown package
We found that @skipperndt/plugin-machine-uid 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.