
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.
@phase2/outline-controller-light-dom-styles-controller
Advanced tools
Deprecated controller to manage styles via Light DOM.
LightDomStyles ControllerThis controller is deprecated, and the
StyleControllerfrom@phase2/outline-controller-style-controllershould be utilized in its place when possible.
LightDomStyles ControllerIf you are using the LightDomStyles Controller, it is assumed you were likely using the original version supplied via the @phase2/outline-core package. In that case, the following should help you upgrade any components from the version of light-dom-style.ts from outline-core, to the newly packaged version.
This version will remain an active, but deprecated package to support legacy applications utilizing this method and controller.
LightDomStyles ControllerInstall the new package:
yarn add @phase2/outline-controller-light-dom-styles-controller --dev
Upgrade outline-core to @phase2/outline-core@^2.0.0 to remove the original controller. @phase2/outline-form should also be updated.
yarn upgrade @phase2/outline-core @phase2/outline-form
In current components that are using the LightDomStyles controller, you may see a line such as this:
import { OutlineElement, LightDomStyles } from '@phase2/outline-core';
This would be replaced with the following:
import { OutlineElement } from '@phase2/outline-core';
import { LightDomStyles } from '@phase2/outline-controller-light-dom-styles-controller';
Beyond that, the typical implementation looks as follows:
lightDomStyles = new LightDomStyles(this, globalStyles);
This line, implementing the reactive controller should not need to be changed on any application that is not upgrading to the StyleController.
FAQs
Deprecated controller to manage styles via Light DOM.
We found that @phase2/outline-controller-light-dom-styles-controller demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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.