安全软件
点击放大

!tests

![Latest Stable ]()
![Total Downloads]()
The Enlightn Security Checker is a command line tool that checks if your
application uses dependencies with known security . It uses the Security Ad Database.
1. You may install the Enlightn Security Checker with Composer globally, for use with multiple projects:
2. You may also install the Enlightn Security Checker in your project as a de using Composer:
3. Instead of installing , you may also download the security-checker.phar file. Then, in the commands below you can replace security-checker with security-checker.phar.
To check for security in your dependencies, you may run the security:check command:
This command will return a success status code of 0 if there are no and 1 if there is at least one .
Note: You would need to provide the full path of the security-checker executable if the directory is not in your path. For instance:
By default, this command displays the result in ANSI. You may use the --format option to display the result in JSON instead:
If you would like to exclude de from the scanning, you may use the --no-dev option (defaults to false):
If you would like to exclude some , you may use the --allow-list option by passing the C, or the C. You can pass multiple as well:
Do not forget to wrap the title with quotes
By default, the SecurityChecker API and the security:check command use the directory returned by the sys_get_temp_dir PHP function for storing the cached ad database. If you wish to modify the directory, you may use the --temp-dir option:
You may also use the API directly in your own code like so:
The result above is an associati. The key is the package name and the value is an array of based on your package . An example of the JSON encoded is as below:
Thank you for considering contributing to the Enlightn security-checker project! The contribution guide can be found here.
The Enlightn security checkers licensed under the MIT license.
开发语言:PHP
Star 数:339
该项目属于安全软件方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕A PHP dependency vulnerabilities scanner based on the Security Advisories Database.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | security-checker - A PHP dependency vulnerabilities scanner based on |
| 所属分类 | 安全软件 |
| 发布作者 | admin |
| 发布时间 | 2026-10-05 22:37:52 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 510 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |