
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
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 1 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.