
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
tauri-plugin-app-exit-api
Advanced tools
A plugin for tauri@v2 to exit app.
| Platform | Supported |
|---|---|
| Linux | ✅ |
| Windows | ✅ |
| macOS | ✅ |
| Android | ✅ |
| iOS | ✅ |
This plugin is similar to tauri-plugin-process, with the addition of support for Android and iOS platforms.
Install the app-exit plugin to get started.
Run the following command in the src-tauri folder to add the plugin to the project’s dependencies in Cargo.toml:
cargo add tauri-plugin-app-exit@0.1
Modify lib.rs to initialize the plugin:
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
+ .plugin(tauri_plugin_app_exit::init())
.run(tauri::generate_context!())
.expect("error while running tauri application");
}
Install the JavaScript Guest bindings using your preferred JavaScript package manager:
pnpm add tauri-plugin-app-exit-api@0.1
Modify src-tauri/capabilities/default.json to Allow the frontend to execute the exit_app command.
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"permissions": [
"core:default",
+ "app-exit:default"
]
}
import { exitApp } from tauri-plugin-app-exit-api";
exitApp().catch(err => {
console.error(err)
})
FAQs
A plugin for tauri@v2 to exit app.
We found that tauri-plugin-app-exit-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.