
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
fancy-acrylic
Advanced tools
A Node.js native addon for applying acrylic and blur effects to Windows windows using window handles.
npm install
npm run build
const { applyEffect, isSupported, getWindowsBuildNumber } = require('./index.js');
// Check if acrylic effects are supported
console.log('Supported:', isSupported());
// Get Windows build number
console.log('Build:', getWindowsBuildNumber());
// Apply acrylic effect
const result = applyEffect({
hwnd: 0x12345678, // Window handle as number
type: 'acrylic', // 'blur' or 'acrylic'
corner: 'round', // 'none', 'round', or 'roundsmall'
opacity: 200, // 0-255
tintColor: 'FF0000', // Optional: hex color (RRGGBB)
borderColor: '00FF00' // Optional: hex color (RRGGBB)
});
applyEffect(options)
Applies acrylic or blur effect to a window.
Parameters:
options
(Object): Configuration options
hwnd
(number): Window handle (HWND as number) - requiredtype
(string): Effect type - 'blur'
or 'acrylic'
(default: 'acrylic'
)corner
(string): Corner style - 'none'
, 'round'
, or 'roundsmall'
(default: 'none'
)opacity
(number): Opacity value 0-255 (default: 204)tintColor
(string): Tint color in hex format (RRGGBB) - optionalborderColor
(string): Border color in hex format (RRGGBB) - optionalReturns: boolean
- true
if successful
Example:
applyEffect({
hwnd: windowHandle,
type: 'acrylic',
corner: 'round',
opacity: 180,
tintColor: '0078D4',
borderColor: 'FF6B6B'
});
isSupported()
Checks if acrylic effects are supported on the current system.
Returns: boolean
- true
if supported
getWindowsBuildNumber()
Gets the current Windows build number.
Returns: number
- Windows build number, or 0 if not Windows
To use this addon, you need to obtain window handles (HWND). You can:
FindWindow
or EnumWindows
from the Windows APIThe addon throws JavaScript errors for:
# Install dependencies
npm install
# Build the native addon
npm run build
# Or use node-gyp directly
npx node-gyp configure
npx node-gyp build
MIT License
FAQs
Native addon for applying acrylic effects to Windows windows
The npm package fancy-acrylic receives a total of 0 weekly downloads. As such, fancy-acrylic popularity was classified as not popular.
We found that fancy-acrylic 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.