Skill / SKILL.md

Secret Serialization

getsentry/skills

Finds secrets, tokens, passwords, and API keys that can leak through generated serialization: Python dataclass repr and asdict, attrs, pydantic model_dump, NamedTuple, JavaScript JSON.stringify and util.inspect, structured logs, tracing spans, and error reports. Use when asked to "check for secret serialization", "credential in repr", "repr=False audit", "secret in spans", "token in logs", or when a change adds a credential field to a dataclass, model, or config object, or adds code that stringifies whole objects or every kwarg into telemetry.
3 views 1,207 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Finds secrets, tokens, passwords, and API keys that can leak through generated serialization: Python dataclass repr and asdict, attrs, pydantic model_dump, NamedTuple, JavaScript JSON.stringify and util.inspect, structured logs, tracing spans, and error reports. Use when asked to "check for secret serialization", "credential in repr", "repr=False audit", "secret in spans", "token in logs", or when a change adds a credential field to a dataclass, model, or config object, or adds code that stringifies whole objects or every kwarg into telemetry.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/getsentry/skills' skill-source

Use the complete skill-source/skills/secret-serialization directory with your client’s skill installer.

  • skills/secret-serialization

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/secret-serialization

Compatibility & requirements

Declared tools

Read Grep Glob

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
60d46ef98b521f644fdd62776da8cd4749ba0102bd1626a0bf121a93537025bf
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills