buffer-overflow SKILL.md skillA
buffer-overflow from dannyan/secguard-clang is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add dannyan/secguard-clang/buffer-overflow@git:20261021.a38682bPins git:20261021.a38682b in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- dannyan/secguard-clang
- Path
extension/shared/skills/buffer-overflow/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261021.a38682b, committed Oct 21, 2026
- First version recorded
- Oct 16, 2026
- Size
- 11,423 bytes
- Repository stars
- 25
- License
- Apache-2.0
Classify buffer overflow evidence — BUFFER_ACCESS events from unsafe memcpy/strcpy/sprintf/strcat calls, array/heap out-of-bounds writes, and format overflow. Maps to CWE-787.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
## Buffer Overflow Analysis (CWE-787) ### Evidence Pattern A buffer-overflow candidate has: - **BUFFER_ACCESS event**: An unsafe function call (memcpy, strcpy, sprintf, strcat, gets) - **No bounds check**: No guard checking buffer capacity before the unsafe call - **Reachable**: The function is reachable from an entry point Detector categories that route to this type: - `buffer_overflow` — unsafe copy API call (memcpy/strcpy/strcat/gets/...) - `array_oob_write` — constant index, a constant-valued variable index (`int n = 12; buf[n]`), or a loop bound past a fixed-size array, as a write - `array_oob_write_unchecked` — suspected tier: a fixed-size struct array member written through a struct-field index with no bounds check at the access (`p->svr[p->actived_index] = ...`); the external/config-index shape, handed to you because the field's range is unknown at the write - `heap_oob_write` — loop bound provably exceeds a `malloc`/`calloc` size (e.g. `malloc(user_len)` + `i < user_len + 10`) - `format_overflow` — **confirmed**: `sprintf`/`wsprintf` into a known-capacity buffer whose constant (literal) output length is provably >= capacity …
Read the whole file at its exact version.
How to install
mdr add dannyan/secguard-clang/buffer-overflow@sha256:6153b1d71f11d249The line at the top of this page pins the label git:20261021.a38682b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_6lsm4dsvubdsccjy)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Oct 16, 2026 and Oct 21, 2026, about one every day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261021.a38682b latest | 2026-10-21 | a38682b | 11,423 B | A | view · diff |
| git:20261021.f3aa038 | 2026-10-21 | f3aa038 | 11,195 B | A | view · diff |
| git:20261018.cb9a9d0 | 2026-10-18 | cb9a9d0 | 9,885 B | A | view · diff |
| git:20261017.3e577be | 2026-10-17 | 3e577be | 9,834 B | A | view · diff |
| git:20261016.df7fb32 | 2026-10-16 | df7fb32 | 8,889 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (11423 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
dannyan/secguard-clang · 25 stars · license Apache-2.0 · pushed 2026-10-22 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_6lsm4dsvubdsccjy GET https://markdownregistry.com/api/v1/resolve?ref=dannyan/secguard-clang/buffer-overflow GET https://markdownregistry.com/api/v1/blob/6153b1d71f11d2496f8ffea08ce77345178ec64364564b9f6cf0567098e1c937
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.