
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@dainprotocol/cli
Advanced tools
A command-line interface tool for the DAIN Protocol service sdks.
Install globally via npm:
npm install @dainprotocol/cli -g
For detailed documentation, usage guides, and additional information, please visit: https://docs.dain.org
dain --help
dain init <project-name>
The following commands require a dain.json file to be present in the root of the project with the following structure:
{
"out-dir": "your-build-output-directory(build/dist)",
"main-file": "your-main-file.(ts/js)",
"deployment-id": "your deploymentId that you will have after the deploy",
"api-key": "your-api-key"
}
dain build
dain dev
An .env file must be present in the root of the project with the following variables:
DAIN_API_KEY=your_api_key
To deploy the project, run the following command:
dain deploy
dain status
dain logs [-w|--watch]
The -w or --watch parameter allows you to monitor logs in real time.
dain undeploy
FAQs
CLI for Dain Protocol
The npm package @dainprotocol/cli receives a total of 0 weekly downloads. As such, @dainprotocol/cli popularity was classified as not popular.
We found that @dainprotocol/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.