
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
curtain-web-api
Advanced tools
This is a node.js package used to interact with the Curtain Web REST API.
npm install curtain-web-api pouchdb -s
npm install @types/pouchdb -D
import { CurtainWebApi } from 'curtain-web-api';
const curtainAPI = new CurtainWebApi("https://curtain-api-location/")
// Login to the API
curtainAPI.login("username", "password").then((result) => {
console.log(result);
// The result is an object containing the user's information
}).catch((error) => {
console.log(error);
});
// Get the user's information
curtainAPI.getUser().then((result) => {
console.log(result);
// The result is an object containing the user's information similar to the login but can only be performed after login have succeeded
}).catch((error) => {
console.log(error);
});
// Get session information
curtainAPI.getSessionSettings(sessionId).then((result) => {
console.log(result);
// The result is an object containing the session's basic information without any data
}).catch((error) => {
console.log(error);
});
// Get session data
curtainAPI.postSettings(sessionId, sessionToken).then((result) => {
console.log(result);
// The result is an object containing the session's data
}).catch((error) => {
console.log(error);
});
// Upload session data
curtainAPI.putSettings(settings, enableToPublic, description, sessionType).then((result) => {
console.log(result);
// The result is an object containing the session's data
}).catch((error) => {
console.log(error);
});
FAQs
---
We found that curtain-web-api demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.