
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.
morphcloud
Advanced tools
A Typescript SDK for creating, managing, and interacting with Morph Cloud VMs.
MorphCloud is a platform designed to spin up remote AI devboxes we call runtimes. It provides a suite of code intelligence tools and a Typescript SDK to manage, create, delete, and interact with runtime instances.
Go to https://cloud.morph.so, log in with the provided credentials and create an API key.
npm install morphcloud
The SDK provides a Typescript API to interact with the MorphCloud API.
The following example creates a minimal vm snapshot, starts and instance then sets up a simple HTTP server and makes an HTTP request to it.
import { MorphCloudClient } from "morphcloud";
// Initialize the client
const client = new MorphCloudClient({
apiKey: 'your API key'
});
(async () => {
// Create a snapshot with minimal resources
const snapshot = await client.snapshots.create({
vcpus: 1,
memory: 128,
diskSize: 700,
imageId: "morphvm-minimal"
});
// Start an instance from the snapshot
const instance = await client.instances.start({
snapshotId: snapshot.id
});
// Wait for instance to be ready
await instance.waitUntilReady(10);
// Connect via SSH
const ssh = await instance.ssh();
// Set up a simple HTTP server
ssh.execCommand("python3 -m http.server 8000");
// Expose the HTTP service
const service = await instance.exposeHttpService('web', 8000);
// Give python a moment to start
await new Promise(resolve => setTimeout(resolve, 1000));
// Test connecting to the HTTP services
let url = service.url
let res = await fetch(url);
console.log(`${url}: ${res.status}`);
})()
FAQs
A Typescript SDK for creating, managing, and interacting with Morph Cloud VMs.
The npm package morphcloud receives a total of 1,739 weekly downloads. As such, morphcloud popularity was classified as popular.
We found that morphcloud 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.