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.
@givepraise/reputation-token
Advanced tools
Contracts for reputation tokens to be distributed accordingly to the community quantification of Praise.
The TokenFactory contract has one non-restricted function create
to create new ReputationToken contracts.
To create a new token you have to pass the following parameter:
string memory _name, // The name of the token
string memory _symbol, // The symbol of the token
uint8 _decimals, // The number of decimals of the token
address _owner, // The owner of the token
bool _transferable // Whether the token is transferable
bool _burnable // Whether the token is burnable
The ReputationToken itself is based on OpenZeppelins ERC20Vote extension. The constructor takes the same parameters described above. Beside the general token functions, mint, checkpoints, delegation and permit are also transfer and burn locks implemented. The transfer lock can be enabled and disabled by the owner at any time. The burn lock is set in constructor and can't be changed afterwards.
To install all dependencies, please run:
npm install
You can run all test cases with the following comment:
npm test
FAQs
Contracts for reputation tokens to be distributed accordingly to the community quantification of Praise.
The npm package @givepraise/reputation-token receives a total of 1 weekly downloads. As such, @givepraise/reputation-token popularity was classified as not popular.
We found that @givepraise/reputation-token demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.