dsoftbus_safety_guard

Official

Detect dsoftbus C/C++ security and logging risks before they ship.

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps you proactively find security and robustness issues in OpenHarmony dsoftbus C/C++ code, with emphasis on safe pointer/memory/lock handling and preventing sensitive information from leaking through logs.

Core Features & Use Cases

  • Comprehensive security rule-based code review: Applies 40+ safety rules across pointer safety, memory management, lock management, fd handling, integer/loop correctness, permission checks, and external input validation.
  • Cross-file calling and control-flow analysis: Traces call chains, resource/data flows across files, and analyzes execution paths to uncover path-sensitive defects.
  • Actionable, read-only reporting: Produces a detailed review report with fix suggestions in the report only, without modifying source files.

Use case example: When you review a suspicious dsoftbus module change that touches IPC, threading, and memory allocations, you can run this skill to generate a structured report highlighting high-risk vulnerabilities such as null dereferences, lock leaks, buffer/array misuse, sensitive log output, and unsafe return/log patterns.

Quick Start

Ask your AI assistant: 软总线安全卫士 请审查这个目录:<your dsoftbus code path>(会生成只读安全检视报告,并覆盖跨文件调用与控制流分析)。

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: dsoftbus_safety_guard
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#dsoftbus-safety-guard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.