Investigate Crypto Bug
bitwarden/sdk-internal/.claude/skills/investigate-crypto-buganalysisResmi
Resmi Sağlayıcı Skill'iView repo
Investigate a cryptography bug report (decryption failures, wrong keys, unlock failures, MAC errors, corrupted EncStrings, key rotation/migration issues). Use when the user provides evidence (logs, error messages, stack traces, bug tickets) of a crypto misbehavior and asks to "investigate", "find the root cause", or "reproduce" it. Traces code paths back from each evidence point to form theories, then proves or disproves each with a failing integration test.
Dosyalar1 dosya
SKILL.md183 satır
Loading editor…
Kurulum
ÖnerilenTek komut — ajanınız otomatik olarak devreye alır.
Kurulum komutunu görmek için yukarıdan bir AI aracı seçin.
veya
Manuel Kurulum
Daha fazla adımDosyayı indirin ve ajanınızın sistem istemine yapıştırın.
Skill detayları
Versiyonv1.0.0
YazarBitwarden
Kategorianalysis
Skill IDbitwarden/sdk-internal/.claude/skills/investigate-crypto-bug
İlgili skill'ler
Create TestvectorsRecord a serialized/encrypted format as a permanent test vector. Use when adding a type whose serialization format must stay backward-compatible (envelopes, COSE blobs, encrypted/wire formats), or when the user asks to "create a test vector", "record a serialized format", or "lock in the wire format". Generates output with a temporary ignored test, then pins it in a permanent deserialization unit test.Writing E2e TestsWrite e2e tests for the SDK — WASM e2e tests in `e2e/wasm`, or Rust integration tests with their own harness (e.g. `bitwarden-shared-unlock/tests`). Use when asked to "add an e2e test", "add an integration test", "test X across the FFI boundary", "test X end to end", reproduce a bug against the built wasm package, or extend the server/client emulator.Exploring Bitwarden DataRead-only exploration of a local Bitwarden development database — answer business questions from live data, verify seeded fixtures, and introspect schema. Use whenever the user wants to query, count, look up, verify, or explore data in a local Bitwarden database ("how many orgs/users/ciphers", "show me collections", "check what the seeder created", "look up user X", "which orgs have feature Y"), even without the word SQL. Not for authoring stored procedures, migrations, or repository code (use wLive Testing Seeder ChangesPerform a live regression-test of a Bitwarden Seeder change e2e on a local stack. Seeds the presets regression.md maps to the change, compares counts with a baseline through read-only SQL, runs a variant matrix for validator and shape changes, exercises SeederApi scenes and the Stripe canary, checks the web vault with the Playwright MCP, logs in through the local IdP when the change touches SSO, and writes a findings report. Use only when the user explicitly asks for a live or e2e test of a SeedSeeding Bitwarden DataSeed a local Bitwarden development database with the Seeder CLI. Picks an existing preset before building a custom org or user, runs the command, and lists the logins it created. Use whenever someone needs test data to log into or test against, even without the word seed ("seed my DB", "I need an org with N users", "give me a premium user", "fresh database to log into", "reproduce a customer's org shape", "org with collection permission edge cases"). DO NOT use for querying or verifying seeded dWriting Database QueriesBitwarden database architecture, migrations, and dual-ORM strategy. Use when working with `.sql` files, stored procedures, EF migrations, or database schema changes. Also use when deciding whether a change needs both Dapper and EF Core implementations, or whether a breaking stored-procedure change requires `_V2` versioning.