
Research
/Security News
GlassWASM: WebAssembly Malware Found in Trojanized Open VSX Extensions
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.
midway-scalar
Advanced tools
Midway.js 组件,用于集成 Scalar API Reference,提供美观的 API 文档展示界面。
/scalar 路由访问 API 文档npm install midway-scalar
# 或
pnpm add midway-scalar
在 src/configuration.ts 中引入组件:
import { Configuration } from '@midwayjs/core';
import * as scalar from 'midway-scalar';
@Configuration({
imports: [scalar],
})
export class MainConfiguration {}
在 src/config/config.default.ts 中配置:
export default {
swagger: {
title: 'API 文档',
description: 'API 接口文档',
version: '1.0.0',
},
scalar: {
theme: 'purple',
darkMode: true,
},
} as MidwayConfig;
启动应用后,访问 http://localhost:7001/scalar/ 查看 API 文档。
更多配置选项请参考官方文档:Scalar。
MIT
FAQs
Midway.js component for Scalar API Reference integration
The npm package midway-scalar receives a total of 4 weekly downloads. As such, midway-scalar popularity was classified as not popular.
We found that midway-scalar demonstrated a healthy version release cadence and project activity because the last version was released less than 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
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.