Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Finding secrets leaked through serialization v1.0.0

Use this resource to find credentials that can leak through serialization, logs or traces

New

  • 566 downloads
  • 175 likes
  • 136 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install secret-leak-serialization-review

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent looks for secret fields stored on types with generated representations, such as dataclasses, pydantic models or JSON.stringify, then checks whether they reach logs, traces or error reports. It reports only leaks it can demonstrate. You get findings with the leak path and fix guidance.

Mostly picked by

Updated November 2, 2026

Card for the “Finding secrets leaked through serialization” skill

Details

Generates with
Your agent's model
Licence
Apache-2.0

Similar resources

View all

What you get

  • SKILL.md: credential fields, investigation process and reporting criteria
  • references/python.md: Python cases (dataclass, attrs, pydantic, NamedTuple)
  • references/javascript-typescript.md: JavaScript and TypeScript cases (JSON.stringify, util.inspect)

Good fit for

  • You add a token or password to a model or configuration object
  • Your code logs whole objects or every argument

Not for

    Tags

    • secrets
    • security
    • logging
    • serialization

    About

    You say

    “Check that the tokens in this pydantic model never reach the logs.”

    Card for the “Finding secrets leaked through serialization” skill

    Skill published by getsentry under the Apache-2.0 license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to find credentials that can leak through serialization, logs or traces
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE10.7 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/javascript-typescript.md5.2 KB
    • references/python.md10.1 KB
    • SKILL.md10.3 KB
    • SOURCES.md6.9 KB
    • SPEC.md5.2 KB

    Origin and licence

    Listed unmodified

    Author
    getsentry
    Source
    github.com/getsentry/skills/tree/d12f250460ffd961f549dbebf7eeb0cf4afd4c2e/skills/secret-serialization
    Licence
    Apache-2.0

    Notice

    « secret-serialization » (getsentry, Apache-2.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.