
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.
@ablula/lowcode-boot
Advanced tools
``` import { start, LowcodePresetOptions } from '@ablula/lowcode-boot';
import { start, LowcodePresetOptions } from '@ablula/lowcode-boot';
const LCE_CONTAINER = document.getElementById('lce-container');
const config: LowcodePresetOptions = {
// locale: 'zh-CN',
enableCondition: true,
enableCanvasLock: true,
// 默认绑定变量
supportVariableGlobally: true,
// simulatorUrl 在当 engine-core.js 同一个父路径下时是不需要配置的!!!
// 这里因为用的是 alifd cdn,在不同 npm 包,engine-core.js 和 react-simulator-renderer.js 是不同路径
simulatorUrl: [
'https://alifd.alicdn.com/npm/@alilc/lowcode-react-simulator-renderer@1.0.18/dist/css/react-simulator-renderer.css',
'https://alifd.alicdn.com/npm/@alilc/lowcode-react-simulator-renderer@1.0.18/dist/js/react-simulator-renderer.js'
],
pluginConfig: {
logo: {
logo: 'https://i.ablula.tech/awesome-lowcode/logo.png',
href: 'https://space.bilibili.com/6962628'
}
}
};
const DefaultSchema = {
"componentName": "Page",
"props": {},
"hidden": false,
"title": "",
"isLocked": false,
"condition": true,
"conditionGroup": "",
"dataSource": {
"list": []
},
"state": {},
"methods": {
"testFunc": {
"type": "JSFunction",
"value": "function testFunc() {\n console.log('test aliLowcode func');\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"test-aliLowcode-func\"\n }, this.state.test);\n}",
"source": "function testFunc() {\n console.log('test aliLowcode func');\n return <div className=\"test-aliLowcode-func\">\n {this.state.test}\n </div>;\n}"
}
},
"lifeCycles": {},
"originCode": "class Page extends Component {\n undefined\n \n \n // 你可以在这里编写函数,并且与组件的事件进行绑定,支持JSX语法\n testFunc() {\n console.log('test aliLowcode func');\n return (\n <div className=\"test-aliLowcode-func\">\n {this.state.test}\n </div>\n );\n }\n \n}",
"css": "",
"children": [
]
}
(async function main() {
// assets 中包含 plugins 和 setters (assets.extConfig.customExt),可动态插入
const assets = await (await fetch(`https://i.ablula.tech/npm/@ablula/lowcode-assets-jinchan@0.0.3/assets.json`)).json();
const schema = await getPageSchema();
await start(assets, schema, LCE_CONTAINER, config)
})();
npm i -dd --registry=https://registry.npmmirror.com --legacy-peer-deps
npm start
npm publish
FAQs
``` import { start, LowcodePresetOptions } from '@ablula/lowcode-boot';
We found that @ablula/lowcode-boot 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
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.