![Malicious npm Package Typosquats react-login-page to Deploy Keylogger](https://cdn.sanity.io/images/cgdhsj6q/production/007b21d9cf9e03ae0bb3f577d1bd59b9d715645a-1024x1024.webp?w=400&fit=max&auto=format)
Research
Security News
Malicious npm Package Typosquats react-login-page to Deploy Keylogger
Socket researchers unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
dd360-ds
Advanced tools
Changelog
Readme
A React ecosystem library for building back-office platforms like DD360.
It's library created by developers for developers
npm install dd360-ds
or
yarn add dd360-ds
If you want to use a provider to configure the library's theme, you can do so using the ThemeProvider provided by dd360-ds. This will allow you to set your own settings for the theme.
To use the ThemeProvider, you must import it as follows:
import { createTheme, ThemeProvider } from "dd360-ds/theme";
You can then create your own theme configuration using the createTheme function, which accepts an object with different properties to customize the theme. For example, you can define the primary and secondary colors as shown below:
const theme = createTheme({
palette: {
primary: {
main: "purple"
},
secondary: {
main: "#FFC107"
}
}
});
After creating your theme configuration, you can use the ThemeProvider to wrap your React app. This can be done as follows:
ReactDOM.createRoot(document.getElementById("root")).render(
<StrictMode>
<ThemeProvider theme={theme}>
<App />
</ThemeProvider>
</StrictMode>
);
Within the ThemeProvider, you can use the components provided by dd360-ds and the corresponding styles will be applied based on your theme settings.
Remember that to use the ThemeProvider, you must import both the createTheme component and the ThemeProvider component from dd360-ds/theme.
After Installation, you will have to make some extra configurations for everything to work normally.
Import stylesheets into the App.js
or App.tsx
import 'dd360-ds/dd360.css'
⚠️ Warning: If you want to combine it with other styles, be sure to import our css as the last one.
How to import components?
import { Button } from 'dd360-ds'
This is the most fun part. Below we will explain the use of the components we are currently developing.
You can checking and contribute to the docs website here
FAQs
Unknown package
We found that dd360-ds demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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 unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
Security News
The JavaScript community has launched the e18e initiative to improve ecosystem performance by cleaning up dependency trees, speeding up critical parts of the ecosystem, and documenting lighter alternatives to established tools.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.