
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
一个瞎搞的颜色插件
yarn add ay-color
or
npm i ay-color --S
//ES6引入
import colorsel from 'ay-color'
Vue.use(colorsel);
//require引入
var colorsel = require('colorsel_ay')
Vue.use(colorsel)
//组件中使用
```html
<ay-color :colorArr=colorArr :show=show @getColor=getc></ay-color>
| 参数 | 作用 | 类型 | 默认值 |
|---|---|---|---|
| colorArr | 定义的颜色数组 | array | ['red','yellow','pink','white','black','orange'] |
| show | 展示与隐藏 | bool | false |
| name | Description |
|---|---|
| getColor | 获取选中的颜色 |
###方法说明
| 参数 | 作用 | 类型 | 值解释 |
|---|---|---|---|
| e | 获取change的对象 | object | e.val:当前值,e.oldVal:老值 |
FAQs
We found that ay-color 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.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.