
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
github.com/lucasbrown/swiftui-visual-effects
System materials in SwiftUI
View modifiers that wrap UIVisualEffectView
and all of its associated objects, with environment integration for storing effect styles. Vibrancy effects will always use the current blur effect style for proper vibrancy-effect layering.
YourView()
// Add a blur effect.
.blurEffect()
// Style the blur effect.
.blurEffectStyle(.systemChromeMaterial)
YourView()
// Add a vibrancy effect.
.vibrancyEffect()
// Style the vibrancy effect.
.vibrancyEffectStyle(.fill)
ZStack {
YourBackgroundContent()
// Add a blur effect.
.blurEffect()
YourForegroundContent()
// Add a vibrancy effect.
.vibrancyEffect()
}
// Set the style for blur effects within this view.
.blurEffectStyle(.systemChromeMaterial)
// Set the style for vibrancy effects within this view.
.vibrancyEffectStyle(.fill)
Adding both a blur and vibrancy effect directly to a view only displays the blur effect.
If you’d like to blur the view’s background content, while adding vibrancy to the view’s foreground content, use the .background()
modifier, and pass BlurEffect()
as its argument. Although BlurEffect
may not be very Apple-like, it’s better than the .blurEffect()
modifier implementation below.
YourView()
.vibrancyEffect()
.background(BlurEffect())
// as opposed to:
YourView()
.vibrancyEffect()
.background(
Color.clear
.blurEffect()
)
FAQs
Unknown package
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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.