Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add SecurityTalent/bugskill-ai --skill stack-bounds-format-auditinggit clone --depth 1 https://github.com/SecurityTalent/bugskill-aiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/securitytalent/bugskill-ai/stack-bounds-format-auditing)<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/stack-bounds-format-auditing"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/stack-bounds-format-auditing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/stack-bounds-format-auditing"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/stack-bounds-format-auditing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00098 | $0.02104 |
| Opus 5.5 | $0.00039 | $0.00842 |
| Sonnet 5.5 | $0.00020 | $0.00421 |
| Haiku 4.5 | $0.00010 | $0.00210 |
Grade A, and why
stack-bounds-format-auditing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stack-Bounds Format Auditing (C/C++)
Find, validate, and remediate stack buffer overflows in C/C++ string-formatting and serialization routines where the size argument to a bounded function is incorrect — specifically when destination pointers advance without a corresponding decrement to the remaining buffer size. Targets and codebases must be within the authorized scope of your assessment.
When to Use
- Auditing C/C++ network protocol serializers, deserializers, and packet formatters.
- Reviewing URL/URI generators, query-string builders, and header concatenation routines.
- Assessing string formatting loops (
snprintf,swprintf,strncpy,wcsncpy,memcpy) writing to fixed stack or heap buffers. - Triaging potential buffer overflows in game networking, IoT firmware, embedded systems, and IPC mechanisms.
- Analyzing HackerOne report patterns similar to #2551512 (
nn::nex::StationURL::Formaton Wii U, 3DS, and Nintendo Switch NEX clients).
Reference Case: HackerOne #2551512 (Nintendo NEX StationURL::Format)
In Nintendo's NEX network library, nn::nex::StationURL::Format serializes key-value connection parameters from a std::map<String, String> into a fixed 1024-character stack buffer (wchar_t url[1024]):
// Vulnerable implementation in NEX clients (HackerOne #2551512)
void nn::nex::StationURL::Format() {
wchar_t url[1024];
unsigned int offset = 0;
unsigned int written = 0;
bool writeDelimiter = false;
for (auto param = normalParams.begin(); param != normalParams.end(); param++) {
if (writeDelimiter) {
// BUG: size is always 1024 regardless of offset!
written = swprintf(url + offset, 1024, L";");
offset += written;
}
// BUG: remaining buffer space is not (1024 - offset)
written = swprintf(url + offset, 1024, L"%ls%ls%ls",
param->first.c_str(), L"=", param->second.c_str());
offset += written;
writeDelimiter = true;
}
SetURL(url);
}
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 174 lines · 98 tokens per session scan A 9d153da6259e
stack-bounds-format-auditing is a skill published in the GitHub repository SecurityTalent/bugskill-ai (13 stars, last pushed 2mo ago), licensed MIT. It adds 98 tokens to every session and 2,104 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
stack-bounds-format-auditing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stack-bounds-format-auditingSecurityTalent/bugskill-ai | Skill | 13 | 2mo ago | MIT | A | 98 | Claude Code, Codex |
| C++编程microwind/ai-skills | Skill | 100 | 6mo ago | none | A | 34 | Claude Code, Codex |
| C语言编程microwind/ai-skills | Skill | 100 | 6mo ago | none | A | 33 | Claude Code, Codex |
| zoom-meeting-sdk-unrealanthropics/knowledge-work-plugins | Skill | 38k | today | Apache-2.0 | A | 41 | Claude Code |
| cudnn-installNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | A | 49 | Claude Code, Codex |
| ccclNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | A | 206 | Claude Code, Codex |
| memory-modelmohitmishra786/low-level-dev-skills | Skill | 310 | 13d ago | MIT | A | 113 | Claude Code, Codex |