stream-security-audit
БесплатноБез исполняемых скриптовНе проверенSecurity audit of an SDK, client library or package, on any platform and for any product: Stream's SDKs or any other (iOS/Swift, Android/Kotlin, web/JS/TS…
от GetStream★ 21 звезда на GitHubОб этом скилле
SDK security audit
An SDK is code that runs inside other people's apps, with those apps' privileges, data and users. One flaw ships to every integrator, and integrators rarely read SDK internals, so they inherit its defaults. Audit with that in mind: the question is always "what can an attacker do to an app, or its users, because it embeds this SDK?"
The output is a calibrated report of security vulnerabilities: things an attacker can do to the app, its users or their data because the app embeds this SDK. Performance, compliance, code quality and product choices with no attacker are not findings; drop them, or give them one line under "Reviewed and rejected". Every finding is traced from an attacker-controlled source to a sink in code that actually ships. Every finding states separately what was proven and what still depends on the backend, the integration or the platform. A short list of real issues is worth far more than a long list of grep hits. Overclaims cost the team's trust in the whole report, and so do false positives.
Ground rules
- Read-only by default. Don't modify the repo, push, open issues or PRs, or comment publicly. Vulnerability details in a public tracker before a fix are a disclosure. Fixes are a separate step the user asks for.
- No live attacks. Don't send exploit traffic to production services or third parties. Verify with code reading, unit tests, local harnesses, a local mock server, or a development backend the owner points you to.
- Protect the audit's own evidence.
- Work with
umask 077, in a scratch directory outside the repository. - Put the report outside the repo (or in a gitignored path) and tell the user where it is.
- Recon output masks secret values by default. Never copy a real token, key or password into notes, the report or a sub-agent prompt. Refer to it by type, location and fingerprint.
- At the end, decide what to keep: a private evidence folder next to the report, or nothing. Delete dependency checkouts, build products and derived data you no longer need.
- If the repo has a
SECURITY.md, note its disclosure channel in the report.
- Work with
- Stay inside the agreed scope. Dependencies count when the SDK relies on them. First-party dependencies (the vendor's own core, networking or UI libraries) often hold the riskiest code: transport, auth, decoding, logging. Check them out at the exact resolved revision from the lock file into scratch; local package caches are often several versions stale.
- Other private repositories need the user's say-so. Server source can turn a conditional finding into a confirmed one without touching production, but reading a separate private repository (the backend, internal tools) widens the audit. Read it only when the user has put it in scope, or after asking. Record its commit for every claim that relies on it.
Workflow
1. Scope: record exactly what is audited
From the repo and the user's request, record the following. They go into the report's scope section verbatim.
- Revision: the full commit SHA, branch, dirty or untracked state, submodules and LFS objects. If the worktree isn't clean, either audit
HEADand say local changes are excluded, or audit the worktree and list the uncommitted files. Never describe one and search the other. - Shipped code: which products, packages or targets ship to integrators. Distinguish base SDK, optional modules and add-ons, test-support products, samples, tooling.
- Platforms: supported platforms and minimum OS versions, and which ones you will actually run things on.
- Dependencies: resolution files used, and first-party and security-relevant dependencies at their resolved revisions.
- Exclusions: excluded modules and why. If server source is used, its repository and commit.
Demo and sample apps are in scope as guidance integrators copy, at lower severity than shipped code. If scope is genuinely ambiguous (a monorepo with many products), ask. Otherwise state your assumptions and proceed.
2. Recon
The recon script is kept as text in recon.md; the plugin doesn't ship it as code. Write it to a scratch directory outside the audited repository, run it from there, and delete it when the audit ends. Don't commit it, and don't write it into the skill directory or the audited repository. To copy it exactly, extract the fenced block from recon.md (use the path you read recon.md from):
umask 077
awk '/^````bash$/{f=1;next} /^````$/{f=0} f' <path-to>/recon.md > <scratch>/recon.sh
bash <scratch>/recon.sh <repo> [--untracked] [--history] > <scratch>/recon-output.md
It prints the scope facts above, then inventories:
- languages and manifests;
- likely vendored code and native code;
- submodules, symlinks, executables and binaries;
- build plugins and install scripts;
- CI files, and committed sensitive files.
It then lists:
- pattern leads, each labelled with the catalog IDs it serves (
[LOG-01],[AUTH-05]...); - a table
Установить stream-security-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл stream-security-audit?
Security audit of an SDK, client library or package, on any platform and for any product: Stream's SDKs or any other (iOS/Swift, Android/Kotlin, web/JS/TS, React Native, Flutter, Unity, Electron, .NET, or server SDKs in Go/Python/Ruby/Node/Java/PHP/Rust). Walks a catalog of 148 explicit checks - secrets in code, samples, git history and packages; non-expiring tokens; tokens in logs, URLs and errors; weak transport; untrusted content from other users or from LLM output; unsafe links; data left after logout; remote crashes; vendored native code; CI and supply chain - verifies each finding, separates what is proven from what depends on the server or integration, and writes a calibrated report with a coverage ledger. Use when asked to audit, pentest, threat-model, harden or find vulnerabilities or security issues in an SDK, library, framework or package, or to re-check an existing SDK security report. For a single diff or PR, use a diff-focused review instead.
Как установить скилл stream-security-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл stream-security-audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic