
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@gun-vue/composables
Advanced tools
GitHub (@gun-vue/composables) • npm • Docs • API
Reusable logic built with the Vue 3 Composition API use
functions. Manages Gun database interactions, SEA encryption, and reactive state. Check out Gun-Vue: Features (/src) for an overview.
This code is part of Gun-Vue: The Peer-to-Peer Web App Toolkit.
=======
gun.user()
system management... and more!
npm i @gun-vue/composables
import { useAccount } from "@gun-vue/composables";
const { account, auth, leave } = useAccount();
<div v-for="(data,field) in account.profile" :key="field">
{{ field }} - {{ data }}
</div>
Gun-Vue is client-side only and may cause errors during SSR/SSG builds. To avoid issues, consider one of these approaches:
Note: We plan to refactor the code to be more usable and tree-shakeable in SSG environments. Help needed!
<script setup async>
const { useAccount } = await import("@gun-vue/composables");
const { account } = useAccount();
</script>
<template>
<div>{{ account.profile?.name }}</div>
</template>
<ClientOnly>
<Suspense>
<YourComponent />
</Suspense>
</ClientOnly>
This prevents Gun-Vue from running during build time.
FAQs
Unknown package
The npm package @gun-vue/composables receives a total of 17 weekly downloads. As such, @gun-vue/composables popularity was classified as not popular.
We found that @gun-vue/composables demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.