
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.
Easy wrapper for vSphere operations.
Only a small subset (growing) of vSphere APIs are available according to my actual need.
Currently the basic VM guest operations are available:
**Usage**
const easyvc = require('easyvc')()
process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0 process.on('unhandledRejection', (reason, p) => { console.log('Unhandled Rejection at:', p, 'reason:', reason) process.exit() })
const vcOrEsxiHost = '' const user = '' const password = ''
const vmName = '' const guestUser = '' const guestPwd = '';
(async function test(vmName, guestUser, guestPwd) {
await easyvc.login(vcOrEsxiHost, user, password)
console.log('logged in')
let vms = await easyvc.findVMsByName(vmName)
if (vms.length === 0)
throw 'VM not found: ' + vmName
let vm = vms[0]
console.log('vm:', vm.mor.value)
let guest = await vm.guest(guestUser, guestPwd, {log: false})
let fileMgr = guest.file()
let processMgr = guest.process()
//------------------------------------
console.log('[test upload/download]')
let text = 'Hello, mortal'
let tempPath = fileMgr.tempPath()
let target = tempPath + '/test.txt'
await fileMgr.uploadText(text, target)
let downloaded = await fileMgr.downloadText(target)
if (downloaded !== text)
console.error('Failed: upload/download mismatch')
await fileMgr.delete(tempPath)
//------------------------------------
console.log('[test run script]')
//works on both windows/linux (with expected errors)
let script = 'date /t\r\necho hello'
let result = await processMgr.runScript(script, 10000)
console.log(result.toString())
//------------------------------------
//list properties of VM. Refer to vSphere MOB browser for model details
console.log('summary', await vm.get('summary'))
console.log('config', await vm.get('config'))
console.log('config.guestId', await vm.get('config.guestId'))
return 'DONE'
})(vmName, guestUser, guestPwd).catch(e => console.error('ERROR: ' + e))
FAQs
Easy wrapper for vCenter operations
We found that easyvc 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
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.