
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@avinashtare/env_path
Advanced tools
The env_path middleware is a powerful tool designed to streamline the management of the Windows system environment path. It empowers users to easily control, modify, and enhance their environment variables, providing a seamless experience for developers a
A Node.js module for managing the only windows system environment variable PATH
.
The env_path middleware is a powerful tool designed to streamline the management of the Windows system environment path. It empowers users to easily control, modify, and enhance their environment variables, providing a seamless experience for developers and system administrators.
npm install @avinashtare/env_path
import env_path from "@avinashtare/env_path";
console.log(env_path.getAll())
import env_path from "@avinashtare/env_path";
async function addPath(newPath){
let isUpdated = await env_path.addPath(newPath)
if(isUpdated){
console.log("Your Path Hass Been Added")
}
else{
console.log("Fail To Update Path")
}
}
let addNewPath = "E:\\Users\\Public\\Music";
addPath(addNewPath);
// replace path
async function replacePath(oldPath,newPath){
let isUpdated = await env_path.replacePath(oldPath,newPath)
if(isUpdated){
console.log("You Path hass been replaced")
}
else{
console.log("Fail To replaced Path")
}
}
let addOldPath = "E:\\Users\\Public\\Music";
let addNewPaths = "E:\\Users\\Public\\New";
replacePath(addOldPath,addNewPaths);
// replace path
// remove path
async function removePath(removePath){
let isUpdated = await env_path.removePath(removePath)
if(isUpdated){
console.log("Your Path removed")
}
else{
console.log("Fail To removed Path")
}
}
let removeOldPath = "E:\\Users\\Public\\Music";
This project is released under the MIT License.
卐🕉 Avinash Tare 🕉 卐
FAQs
The env_path middleware is a powerful tool designed to streamline the management of the Windows system environment path. It empowers users to easily control, modify, and enhance their environment variables, providing a seamless experience for developers a
We found that @avinashtare/env_path demonstrated a not healthy version release cadence and project activity because the last version was released 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.