
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
@lyra/color-input
Advanced tools
Color input for Lyra that stores selected colors in hex, hsl, hsv and rgb format.
lyra install @lyra/color-input
Use it in your schema types:
// [...]
{
fields: [
// [...]
{
name: 'favoriteColor',
title: 'Favorite color',
type: 'color'
}
]
}
Note that the above only works if you import and use the all:part:@lyra/base/schema-type part in your schema. If you do not import this part to your schema, you can import the color schema from part:@lyra/color-input/schema.
To disable the alpha option, set disableAlpha to true:
// ...fields...
{
name: 'favoriteColor',
title: 'Favorite color',
type: 'color',
options: {
disableAlpha: true
}
}
{
_type: 'color',
hex: '#29158a',
alpha: 0.9,
hsl: {
h: 249.99999999999994,
s: 0.7328000000000001,
l: 0.313,
a: 0.9
},
hsv: {
h:249.99999999999994,
s: 0.8457987072945522,
v: 0.5423664,
a: 0.9
},
rgb: {
r: 41
g: 21,
b: 138,
a: 0.9
}
}
MIT-licensed. See LICENSE.
FAQs
Color input
We found that @lyra/color-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.