
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
npm install flutter-ui@git+https://github.com/briefguo/flutter-ui.git
# use yarn
yarn add flutter-ui@git+https://github.com/briefguo/flutter-ui.git
# 安装peerDeps
npm install react react-dom styled-components
yarn add react react-dom styled-components
import React from 'react'
import { PageScaffold, Text, Center } from 'flutter-ui'
const IndexPage: Page = () => (
<PageScaffold
backgroundColor="#f6f7f8"
child={
<Center>
<Text fontSize={36}>Hello Flutter-UI</Text>
</Center>
}
/>
)
IndexPage.title = '首页'
export default IndexPage
import React from 'react'
import { IRouteComponentProps } from 'umi'
import { ThemeProvider } from 'styled-components'
import { TextThemeData, ThemeData } from 'flutter-ui'
const theme = ThemeData.defaultTheme.copyWith({
bodyBackground: '#fff',
textTheme: TextThemeData.defaultTextTheme.copyWith({
body: TextThemeData.default.copyWith({
background: 'red',
}),
}),
})
const Layout: React.FC<IRouteComponentProps> = props => {
return <ThemeProvider theme={theme}>{props.children}</ThemeProvider>
}
export default Layout
// 添加 styled.d.ts 用于 theme 的自动提示
/// <reference types="styled-components" />
import { ThemeData } from 'flutter-ui'
// and extend them!
declare module 'styled-components' {
export interface DefaultTheme extends ThemeData {
contentContainerWidth: number
}
}
TODO
TODO
TODO
TODO
TODO
TODO
FAQs
## Get Started
We found that flutter-ui demonstrated a not healthy version release cadence and project activity because the last version was released 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
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.