
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
koishi-plugin-api
Advanced tools
Koishi 作为 HTTP API 的插件,提供了一个简单的 HTTP API 接口,可以轻松接入其他聊天平台。
npm install koishi-plugin-api
在 https://cdn02.moecube.com:444/nanahira/koishi-plugin/api/index.js 下载即可。
path HTTP 监听路径。token 验证 Bearer 令牌。如果设置,则必须提供 Authorization: Bearer <token> 头。$ curl -X POST http://localhost:14514/api -d content=.help
{"messages":["当前可用的指令有:\n help 显示帮助信息\n输入“帮助 指令名”查看特定指令的语法和使用示例。"]}
export interface MessageBody {
channelId?: string;
guildId?: string;
messageId?: string;
content: string; // 消息体,必填
userId?: string; // 发送者 ID,默认为请求 IP 地址
username?: string;
avatar?: string;
}
{
"messages": [
"消息内容,每一栏为一条消息。"
]
}
FAQs
Koishi as chat API provider.
The npm package koishi-plugin-api receives a total of 50 weekly downloads. As such, koishi-plugin-api popularity was classified as not popular.
We found that koishi-plugin-api 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.