Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
ordserve - serve-up ordinal inscription (on bitcoin & co) from a local test sandbox
Use the command line tool named - surprise, surpirse - ordserve
to run a zero-config / out-of-the-box ordinal inscription server that lets
you test recursive inscriptions with local web pages (in .SVG or .HTML).
Type:
$ ordserve
That will start-up a (local loopback) web server running on port 3000. Open-up up the index page in your browser to get started e.g. http://localhost:3000/.
Try your first recursive inscription.
Let's try a punk in the .SVG format with two recursions -
alien (inscribe no. 11617799) and
bandana (inscribe no. 11627632) - punk1.svg
:
<svg xmlns="http://www.w3.org/2000/svg"
width="100%" height="100%"
viewBox="0 0 24 24">
<image href="/content/81ec4177e7fce4e568cc1c14366fe29deb88b0f0841eb12d4f1d0638cca68201i0"
style="image-rendering: pixelated;" />
<image href="/content/a6b4b81f69e8c217db24f0a71954195d67ced49a819b67a4daf9f3ca7fa1b971i0"
style="image-rendering: pixelated;" />
</svg>
Now try http://localhost:3000/punk1.svg and
you get the million dollar alien with bandana built from zero / scratch.
The two recursions (referenced via /content/:id
) will get
the first-time "automagically" downloaded via the ordinals.com api
and saved into the local ./content
directory.
Let's try a punk with three recursions -
alien (inscribe no. 11617799),
cap foward (inscribe no. 11617793) and
laser eyes (inscribe no. 12359718)- punk1a.svg
:
<svg xmlns="http://www.w3.org/2000/svg"
width="100%" height="100%"
viewBox="0 0 24 24">
<image href="/content/81ec4177e7fce4e568cc1c14366fe29deb88b0f0841eb12d4f1d0638cca68201i0"
style="image-rendering: pixelated;" />
<image href="/content/0bd902941392ea138adb7db30cecdf5bc09a92c80e3e1bc3ecdf3c2d0abf6631i0"
style="image-rendering: pixelated;" />
<image href="/content/72fe7ebda802852f499dca865ec22ac43eacfcf4796d761969ae8358791e943ci0"
style="image-rendering: pixelated;" />
</svg>
Now try http://localhost:3000/punk1a.svg and
you get an ultra-rare never-before-seen alien with cap foward
and laser eyes built from zero / scratch.
The three recursions (referenced via /content/:id
) will get
the first-time "automagically" downloaded via the ordinals.com api
and saved into ./content
.
That's it.
Bonus - For more (recursive) samples see ordtest - the public ordinals (recursive) testing sandbox »
Just install the gem:
$ gem install ordserve
The scripts are dedicated to the public domain. Use it as you please with no restrictions whatsoever.
Join us in the Ordgen / ORC-721 discord (chat server). Yes you can. Your questions and commetary welcome.
Or post them over at the Help & Support page. Thanks.
FAQs
Unknown package
We found that ordserve 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.