Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@project-trans/suggestion-box
Advanced tools
Suggestion box for Project Trans's website.
# Or npm, yarn, bun, etc.
pnpm add @project-trans/suggestion-box
pnpm add @iconify-json/octicon -D # Suggestion Box uses octicon.
In your Vue component:
<template>
<SuggestionBox
target-url="https://example.com"
contact-content-placeholder="联系方式占位符"
text-content-placeholder="文本内容占位符"
attach-image-button-text="附加图片按钮文案"
send-button-text="发送按钮文案"
sending-button-text="发送中按钮文案"
sent-success-button-text="发送成功按钮文案"
sent-failed-button-text="发送失败按钮文案"
/>
</template>
<script>
import SuggestionBox from '@project-trans/suggestion-box';
import '@project-trans/suggestion-box/dist/style.css';
</script>
In uno.config.ts
:
import { defineConfig, presetUno, presetIcons } from 'unocss';
export default defineConfig({
// ...
content: {
pipeline: {
include: [
// Default match pattern of UnoCSS
/\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/,
// Match suggestion-box
/.*pjts-suggestion-box.*\.js/,
],
},
},
presets: [
// SuggestionBox uses presetUno
presetUno(),
// SuggestionBox uses presetIcons
presetIcons(),
],
});
corepack enable
pnpm install
pnpm dev
pnpm -F server dev
FAQs
Suggestion box for Project Trans
The npm package @project-trans/suggestion-box receives a total of 34 weekly downloads. As such, @project-trans/suggestion-box popularity was classified as not popular.
We found that @project-trans/suggestion-box 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.