dsh-cn-mlps: Static MLPS Compliance Checks Based on GB/T 22239-2019

Preface

DeepSeek Harness (DSH) provides a plugin-based ecosystem. dsh-cn-mlps is one of the compliance checking plugins within it. Classified protection assessments are typically performed after system deployment, but many security issues (such as hardcoded passwords at the code level and improper configuration) already exist during the development stage. This plugin leverages static analysis techniques, based on the GB/T 22239-2019 standard, to identify problems in code and configuration that developers can fix themselves, aiming to reduce the remediation pressure during the assessment process.

Plugin Positioning

This plugin focuses on statically discoverable classified protection items. Based on the GB/T 22239-2019 standard, it primarily scans for risks during the development and configuration stages, rather than evaluating physical environments, personnel management, or operations and maintenance processes.

Core Features

The plugin scans code and configuration files, focusing on the following types of issues:
* Default passwords
* MD5/SHA1 password storage
* Plaintext transmission (http://)
* Residual debug switches
* Error messages leaking internal details

Installation and Activation

Use DSH’s plugin installation command to add this plugin:

dsh plugin --profile web add @deepwhale-cn/dsh-cn-mlps

Typical Usage

After installation, you can invoke the plugin through the CLI:

# View demo
dsh-cn-mlps --demo

# List rules and their corresponding standard sections
dsh-cn-mlps --list-rules

# Generate an HTML format inspection report
dsh-cn-mlps --html r.html

Applicable Scenarios and Notes

When using this plugin, its applicable boundaries should be clarified:
* Cannot replace classified protection assessment: The plugin does not guarantee passing the assessment, and cannot cover physical environments, regional boundaries, security management centers, regulations, personnel, construction processes, or operations management.
* Does not make absence judgments: The absence of issues in a scan does not mean the classified protection item complies with requirements.
* Rule anchors: Inspections are based on the section names of the standard, not clause numbers; specific requirements are subject to the original text of GB/T 22239-2019.
* Legal statement: Users must comply with the laws and regulations of their region and are responsible for any consequences caused by using this project.

Ecosystem and Feedback

This plugin is part of the Shenjing Network Security Guardian series. To view more similar plugins or submit issues, please visit the GitHub repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye