
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@redhare/lowcode-datasource-engine
Advanced tools
低代码引擎数据源核心代码
[原理介绍](https://yuque.antfin-inc.com/docs/share/6ba9dab7-0712-4302-a5bb-b17d4a5f8505?# 《DataSource Engine》)
[fetch流程图](https://yuque.antfin-inc.com/docs/share/e9baef9a-3586-40fc-8708-eaeee0d7937e?# 《fetch 流程》)
// 面向运行时渲染,直接给 schema
import { create } from '@redhare/lowcode-datasource-engine/interpret';
// 面向出码,需要给处理过后的内容
import { create } from '@redhare/lowcode-datasource-engine/runtime';
import { createFetchHandler } from '@redhare/lowcode-datasource-fetch-handler';
import { createMtopHandler } from '@redhare/lowcode-datasource-mtop-handler';
// dataSource 可以是 schema 协议内容 或者是运行时的转化后的配置内容 (出码专用)
// context 上下文(setState 为必选)
const dataSourceEngine = create(dataSource, context, {
requestHandlersMap: { // 可选参数,以下内容为当前默认的内容
urlParams: handlersMap.urlParams('?bar=1&test=2'),
fetch: createFetchHandler,
mtop: createMtopHandler
},
});
console.log(dsf.dataSourceMap) // 符合集团协议的 datasourceMap https://yuque.antfin-inc.com/mo/spec/spec-low-code-building-schema#QUSn5
dsf.dataSourceMap['id'].load() // 加载
dsf.dataSourceMap['id'].status // 获取状态
dsf.dataSourceMap['id'].data // 获取数据
dsf.dataSourceMap['id'].error // 获取错误信息
dsf.reloadDataSource(); // 刷新所有数据源
FAQs
DataSource Engine for lowcode
We found that @redhare/lowcode-datasource-engine demonstrated a not healthy version release cadence and project activity because the last version was released 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.