
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
axios-keywords
Advanced tools
axios敏感词检测
npm i axios-keywords -S
import {create} from "axios";
import axiosKeywords from "axios-keywords";
const service = create();
service.interceptors.request.use((config) => {
return axiosKeywords(config, options)
})
import axiosKeywords from "axios-keywords";
axiosKeywords(config, {
data:{
// ....
},
axiosConfig:{
url:"/api",
method:"get",
// ...
},
axiosConfigCode:0,
keywords:["敏感关键词组", "******"],
keywordsDetection:true,
keywordsRules:[
(wordsMap, config)=>{
if(!Object.values(wordsMap).some(v=>/^[0-9]*$/.test(v))){
return Promise.resolve();
}
return Promise.reject("提交的内容禁止全部数字")
},
// ...
],
errorMessage:"获取敏感词失败!",
customMessage:(swhResult)=>`请求失败,系统自动检测的您提交的内容包含【${swhResult.filter.join("、")}】等敏感字样,禁止提交`,
urlWhitelist:[
/url_keywords/,
// ...
]
})
FAQs
axio敏感词检测
We found that axios-keywords 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

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.