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.
blue-comments
Advanced tools
Heavily inspired by https://graysky.app/blog/2024-02-05-adding-blog-comments
Heavily inspired by https://graysky.app/blog/2024-02-05-adding-blog-comments
You effectively need to set two variables, the DID and the RKEY. Drop the following into your page:
const DID = 'did:plc:...'; // YOUR BSKY DID; see: internect.info
const RKEY = '...'; // RKEY OF THE POST (the string after `/post/` in the URL) HERE
import('https://esm.sh/blue-comments@^1');
var el = document.createElement('blue-comments');
el.setAttribute('uri', `at://${DID}/app.bsky.feed.post/${RKEY}`);
document.body.appendChild(el);
If using Ghost, in the post editing sidebar, use the "code injection" option to add the above to your footer.
This is better if you're wanting to use this on multiple pages.
<head>
section:<script type="module" async defer src="https://esm.sh/blue-comments"></script>
<blue-comments uri="at://did:plc:.../app.bsky.feed.post/...">
<h3>You can replace the default comments header section by specifying children</h3>
</blue-comments>
FAQs
Heavily inspired by https://graysky.app/blog/2024-02-05-adding-blog-comments
The npm package blue-comments receives a total of 3 weekly downloads. As such, blue-comments popularity was classified as not popular.
We found that blue-comments demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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 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.