Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
node wrapper around cloud2sign REST-ful APIs
All the methods have a single object parameter, used as a way to improve readability and have optional parameters.
All methods return a Promise/A+ but accept an optional Node-style callback(err, data)
parameter.
All methods accept a user
parameter used to specify the user the request is made on the behalf of (to be used if and only if the authentication user is root).
login
Login to the service.
Arguments
username
: the name of the Cloud2Sign userpassword
: the password associated to username
Returns
Full session data, with token
to identify the session, and user
data with companies
info and permissions.
logout
Logout from the service.
Arguments
token
: the token associated with the sessionReturns
logoutSuccessful
flag.
listWorkflows
Retrieves the workflows list for a given company.
Arguments
token
: the token associated with the sessioncid
: company iddateMin
: the starting date for searching Workflow (mandatory), in "milliseconds since Unix Epoch" formatdateMax
: the ending date for searching Workflow, in "milliseconds since Unix Epoch" formatmeta
: optional metadata for searchingReturns
Workflows list.
downloadWorkflow
Retrieves a Buffer with the content of a workflow.
Arguments
token
: the token associated with the sessionwfid
: the workflow id to be downloadedReturns
Full workflow data (in zip format)
FAQs
Cloud2Sign REST API wrapper
The npm package c2s-api receives a total of 1 weekly downloads. As such, c2s-api popularity was classified as not popular.
We found that c2s-api 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.