Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
一个一揽子的代码静态分析和自动格式化的工具
aesir
是北欧神族的英文,一群熵减的生物,和我们要做的事不谋而合
npm install -g aesir-cli
or
npm install aesir-cli
然后通过npm script 调用
工具分成两部分,静态分析
和自动格式化
>aesir lint
Usage: lint [options] [patterns...]
lint规则校验
Options:
-m, --check-mode <mode> 检测文件[only-changed(增量)|in-stage(暂存)]
-p, --prettier-check 格式化检测
-s, --strict-check 严格规则集检测
-e, --extend-check 建议规则集检测
-h, --help output usage
>aesir format
Usage: format [options] [patterns...]
格式化操作
Options:
-m, --check-mode <mode> 检测文件[only-changed(增量)|in-stage(暂存)]
-l, --list-difference 列出需要格式化的文件
-d, --debug-check 列出推荐人工格式化的文件
-S, --safe-format 只格式化美化后前后一致的ast tree
-f, --force-write 强制格式化,不推荐
-h, --help output usage
在项目根目录下运行
>aesir init
FAQs
cli for code quality
We found that aesir-cli 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.