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.

Cryptanalysis techniques: lattices, oracles and RNG v1.0.0

Use this resource to identify and implement an attack on a weak cryptographic primitive

New

  • 444 downloads
  • 201 likes
  • 248 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install cryptanalysis-attack-techniques

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 reads the source code first to spot an exploitable structure, such as linearity, partial leaks or a weak generator, then writes a Python solver. It covers lattice attacks, padding oracles and recovery of secrets shared across non-prime moduli.

Mostly picked by

Updated November 2, 2026

Card for the “Cryptanalysis techniques: lattices, oracles and RNG” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: scope, when to use it and how to spot weaknesses
  • reference/lattice-attacks.md: lattice attacks
  • reference/scenarios/padding-oracle/cbc-padding-oracle.md: CBC padding oracle

Good fit for

  • A CTF challenge offers a custom cipher to break
  • You audit an implementation with a weak random generator

Not for

    Tags

    • cryptography
    • cryptanalysis
    • ctf
    • lattice
    • python

    About

    You say

    “Read this encryption code and tell me whether it is linear and whether a lattice attack applies.”

    Card for the “Cryptanalysis techniques: lattices, oracles and RNG” skill

    Skill published by transilienceai under the MIT 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 identify and implement an attack on a weak cryptographic primitive
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • reference/cryptography-principles.md4.9 KB
    • reference/INDEX.md3.8 KB
    • reference/lattice-attacks.md7.3 KB
    • reference/linear-secret-recovery.md3.4 KB
    • reference/scenarios/classical/repeating-key-xor.md2.4 KB
    • reference/scenarios/lattice/agcd-attack.md2.7 KB
    • reference/scenarios/lattice/boneh-durfee-low-d.md2.8 KB
    • reference/scenarios/lattice/coppersmith-known-bits.md3.1 KB
    • reference/scenarios/lattice/lll-basis-reduction.md3.2 KB
    • reference/scenarios/padding-oracle/cbc-padding-oracle.md3.6 KB
    • reference/scenarios/padding-oracle/ecb-prefix-oracle.md3.8 KB
    • reference/scenarios/padding-oracle/pkcs1-v1.5-bleichenbacher.md3.4 KB
    • reference/scenarios/rsa-quirks/common-modulus.md2.5 KB
    • reference/scenarios/rsa-quirks/fermat-close-primes.md2.5 KB
    • reference/scenarios/rsa-quirks/low-public-exponent.md3.1 KB
    • reference/scenarios/rsa-quirks/small-prime-factorization.md3.6 KB
    • reference/scenarios/rsa-quirks/wiener-attack.md2.8 KB
    • reference/scenarios/secret-sharing/shamir-non-prime-modulus.md5.1 KB
    • reference/scenarios/signature-forgery/ecdsa-nonce-reuse.md3.2 KB
    • reference/scenarios/signature-forgery/gcd-transcript-operand-recovery.md9.8 KB
    • reference/scenarios/signature-forgery/jwt-alg-confusion.md4.6 KB
    • reference/scenarios/signature-forgery/rsa-pkcs1-v1.5-bleichenbacher.md3.6 KB
    • reference/scenarios/weak-rng/dual-ec-backdoor.md3.4 KB
    • reference/scenarios/weak-rng/lcg-state-recovery.md3.6 KB
    • reference/scenarios/weak-rng/mt19937-state-recovery.md3.7 KB
    • SKILL.md1.8 KB

    Origin and licence

    Listed unmodified

    Author
    transilienceai
    Source
    github.com/transilienceai/communitytools/tree/95fdc128af4ca1ae16b3226f9430f1bad97b0656/skills/cryptography
    Licence
    MIT

    Notice

    « cryptography » (transilienceai, MIT) 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.