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.
@devprtcl/protocol
Advanced tools
This repository is the place to develop smart contracts for Dev Protocol.
First, install this repository as an npm package.
> npm i -D @dev-protocol/protocol
Prepare a local network using Ganache, etc.
Finally, run the following command to deploy a mock.
> dev-protocol mock --host 127.0.0.1 --port 7545
Read the contributing guide, and create PR when you have time. 🧚✨
Executing the following command will compile each contract.
git clone https://github.com/dev-protocol/protocol.git
cd protocol
yarn
yarn generate
run the following command to test each contract.
yarn test
create a .env
file like following, and run the command to deploy a mock. ( Beforehand, please prepare a local network using Ganache, etc. )
# .env
ETHEREUM_MOCK_HOST=127.0.0.1
ETHEREUM_MOCK_PORT=7545
yarn deploy mock
If you use Visual Studio Code, we recommend that you install the following plug-ins:
EditorConfig
vscode-eslint
solidity
First, deploy this protocol:
yarn deploy <network>
Then, calling PolicyFactory.create
using Truffle console:
npx truffle console --network <network>
# Truffle console is launched
> Promise.all([PolicyFactory.deployed(), TheFirstPolicy.deployed()]).then(([factory, policy]) => factory.create(policy.address))
FAQs
Securitize for Internet assets
The npm package @devprtcl/protocol receives a total of 0 weekly downloads. As such, @devprtcl/protocol popularity was classified as not popular.
We found that @devprtcl/protocol demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
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.