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.
@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';
import presetSBox from '@project-trans/suggestion-box/dist/preset';
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(),
// SuggestionBox's own rules
presetSBox(),
],
});
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 123 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.
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.