Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

static-analysis

skill · leokemp223/embed-ai-toolLicence not declaredAudited 13 Nov 2026 · source f2eee4d05246

★ 1,074pushed 85 days ago
✓SAFEGrade B · 89/100 · 13 Nov 2026 · f2eee4d
1,074repo stars · whole leokemp223/embed-ai-tool

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit f2eee4d05246 and found no filesystem, network or shell access and no hard-coded secrets. What it does: 当需要对嵌入式 C/C++ 代码运行 cppcheck、clang-tidy 或 GCC analyzer 静态分析,或进行 MISRA-C 合规检查时使用。

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “static-analysis (leokemp223/embed-ai-tool)”. Retrieved 13 Nov 2026. https://modelsatlas.com/skills/leokemp223/static-analysis

2 skills are called “static-analysis”. You are viewing leokemp223/embed-ai-tool.

Trust audit

Audit 0.4.1 · source read 13 Nov 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium1 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS1
L1 Static sourceSecrets, path traversal, supply chain, hidden codePASS0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass, no license.

Findings (1)

LOWInventory / provenanceinv.no_license
F-13 Inventory / provenanceCWE-1104Layer L0
Why
no LICENSE file and no repo licence
Fix
add a licence

Audit 0.4.1 · source sha f2eee4d05246 · 13 Nov 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • Publisherleokemp223 GitHub userOwner of the repository this skill is read from
  • Source folderleokemp223/embed-ai-tool/skills/static-analysisThe exact folder we audited
  • LicenceNot declaredAs the repository states it
  • Commit pinned for this verdictf2eee4d05246A new audit runs when the source changes
  • Repository statusNot archivedLast push 85 days ago
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: 当需要对嵌入式 C/C++ 代码运行 cppcheck、clang-tidy 或 GCC analyzer 静态分析,或进行 MISRA-C 合规检查时使用。

---
name: static-analysis
description: 当需要对嵌入式 C/C++ 代码运行 cppcheck、clang-tidy 或 GCC analyzer 静态分析,或进行 MISRA-C 合规检查时使用。
---

# 静态分析

## 适用场景

- 提交前需要对代码进行静态分析,发现潜在缺陷。
- 汽车、医疗等行业需要 MISRA-C 2012 合规检查。
- 需要使用 cppcheck、clang-tidy 或 GCC `-fanalyzer` 进行代码质量审查。
- 需要对静态分析结果按严重级别分组查看摘要。

## 必要输入

- 源码目录路径。
- 至少一个可用的静态分析工具(cppcheck、clang-tidy 或 GCC 12+)。
- 可选的 `compile_commands.json` 路径(提升 clang-tidy 准确性)。
- 可选的严重级别过滤和 MISRA 检查开关。

## 自动探测

- `--detect` 模式检测 cppcheck、clang-tidy 和 arm-none-eabi-gcc 的可用性和版本。
- GCC `-fanalyzer` 需要 GCC 12+,脚本会检查版本号。
- 自动搜索工作区中的 `compile_commands.json`。

## 执行步骤

1. 先阅读 [references/usage.md](references/usage.md),确认本次使用哪个分析工具。
2. 若不确定工具是否可用,先运行 [scripts/static_analyzer.py](scripts/static_analyzer.py) 的 `--detect` 模式。
3. 使用 `--cppcheck --source <dir>` 运行 cppcheck 分析。
4. 使用 `--clang-tidy --source <dir>` 运行 clang-tidy 分析。
5. 使用 `--gcc-analyzer --source <files>` 运行 GCC analyzer 分析。
6. 需要 MISRA 合规时,添加 `--misra` 参数启用 cppcheck MISRA addon。
7. 阅读 [references/misra-quick-ref.md](references/misra-quick-ref.md) 了解常见 MISRA 违规。

## 失败分流

- 当所有分析工具都不可用时,返回 `environment-missing`。
- 当指定的源码目录不存在时,返回 `artifact-missing`。
- 当 `compile_commands.json` 指定但无效时,返回 `project-config-error`。
- 当分析工具运行异常退出时,返回 `target-response-abnormal`。

## 平台说明

- cppcheck 和 clang-tidy 在三大平台均可用,通过包管理器安装。
- GCC `-fanalyzer` 需要 GCC 12+,嵌入式交叉编译器版本可能较低。
- 自带脚本使用 Python 标准库和 subprocess,跨平台兼容。

## 输出约定

- 按严重级别(error、warning、style、information)分组输出发现。
- 每条发现包含文件路径、行号、规则 ID 和描述。
- `--summary` 模式只输出统计数字。
- MISRA 模式额外输出违反的规则编号。

## 交接关系

- 当发现严重缺陷需要修复后重新构建时,交给对应的 `build-*` skill。
- 当需要了解代码内存影响时,交给 `memory-analysis`。

Excerpt, first 1,605 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit f2eee4d

Download folder ↗
git clone https://github.com/leokemp223/embed-ai-tool
git -C embed-ai-tool checkout f2eee4d05246

The author documents no install command, so this uses the repository directly. Our verdict covers commit f2eee4d05246 only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source f2eee4d05246

README badge

For maintainers · shows the latest audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/leokemp223/static-analysis/badge.svg)](https://modelsatlas.com/skills/leokemp223/static-analysis/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Add this badge to your README

[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/leokemp223/static-analysis/badge.svg)](https://modelsatlas.com/skills/leokemp223/static-analysis/)

Questions about static-analysis

What does the static-analysis skill do?
面向 AI 编程助手的嵌入式开发技能集,为大模型提供 MCU 固件开发全流程能力。涵盖多工具链构建(Keil / IAR / CMake / PlatformIO)、烧录、GDB 调试、串口监视、Modbus / CAN / VISA 协议调试、外设驱动适配及流水线编排,支持 Linux、macOS、Windows 三平台。
Is static-analysis safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can static-analysis access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (f2eee4d05246), read on 2026-11-13. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.