Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
gitcoin-sdk
Advanced tools
Step 1: Include the JavaScript SDK on your page once, ideally right after the opening body tag.
<div id="gc-root"></div>
<script>(function(d, s, id) {
var js, gjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "https://unpkg.com/gitcoin-sdk";
gjs.parentNode.insertBefore(js, gjs);
}(document, 'script', 'gitcoin-jssdk'));</script>
Step 2: Place this code wherever you want the plugin to appear on your page.
<div class="gitcoin-widget"
data-limit="2"
data-order-by="-expires_date"
data-organization="MetaMask"
data-repository="metamask-extension"
></div>
Importing the SDK into your application will attempt to autoload the widget by searching for '.gitcoin-widget' selectors
import 'gitcoin-sdk';
or
require('gitcoin-sdk');
You can also use the Widget programmatically.
import { Widget } from 'gitcoin-sdk';
or
const { Widget } = require('gitcoin-sdk');
Widget can be instantiated by passing a selector option, or an element reference.
new Widget({
limit: 10,
orderBy: '-expires_date',
organization: 'MetaMask',
repository: 'metamask-extension',
selector: '.gitcoin-widget',
});
FAQs
Gitcoin SDK.
The npm package gitcoin-sdk receives a total of 0 weekly downloads. As such, gitcoin-sdk popularity was classified as not popular.
We found that gitcoin-sdk 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.