skillhash

Is secret-serialization safe?

Grade A, 100/100. No meaningful risk found.

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.

getsentry/skills/skills/secret-serialization 1.1kChecked 3h agoContent last changed 3h ago
A

secret-serialization

skills/secret-serialization
100/100 · No meaningful risk foundNo security findings

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.

Content hash
sha256:0e99c113dccde98961cebd4d4b2c4db3a5f5d069edc508519d44dbd3d14b2456
Files
5
Quality
100/100

Security findings

None of the 30 rules matched.

Files in this skill
  • SKILL.md10.2 KB
  • SOURCES.md6.8 KB
  • SPEC.md5.1 KB
  • references/javascript-typescript.md5.1 KB
  • references/python.md9.9 KB

Questions about secret-serialization

Is secret-serialization safe to install?
Our scanner gave secret-serialization grade A (100/100): no meaningful risk found. None of the 30 security rules matched. Static analysis cannot prove safety, so pin the reviewed revision with a lockfile.
How do I install secret-serialization in Claude Code or Codex?
Run skillhash add github:getsentry/skills/skills/secret-serialization. It downloads the exact commit, checks the grade against your policy, writes skills.lock and installs it into .claude/skills and .agents/skills.
What happens if secret-serialization changes upstream?
Its content hash changes. skillhash verify fails in CI until you review the new version and update the lock. With a watch, you also get an alert.

More from getsentry/skills