Перейти к содержимому
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
aeondave/sagemathКриптография и Web3

sagemath

⁨Auth/lab ref: Computer algebra and number-theory environment for cryptanalysis scripting.⁩

v2026.11.13-21cd5683 установки+3 за 7 дней39 ЗвездыGPL-3.0синхронизировано 10 часов назад

Установка

Ещё нет NotHoly CLI? Сначала установите её.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install aeondave/sagemath

Пишет в ⁦~/.notholy/skills⁩ после проверки подписи и SHA-256.

ПодписьПодписано, ed25519
8Qy/xrQdjp…WUsmiqCA==CLI проверяет SHA-256 и подпись, прежде чем записать хоть один файл.
Пакет4cfb0bdd…8e4bfd8d
4cfb0bdde4c7…73868e4bfd8d3 файла · ⁦4.3 KB⁩
ПроверкаНизкийзамечаний нет
Проверка не нашла в этой версии ничего подозрительного.Вся проверка
Источникgithub.com/AeonDave/malskill/tree/main/offensive-tools/cryptography/sagemath@21cd568

Эта запись еще не переведена на русский, поэтому показан текст на другом языке: English.

Sage is the go-to environment for mathematical cryptanalysis and attack modeling. Use it when standard scripting is not enough for algebraic structures and lattice workflows.

Typical use cases

  • Finite field computations (GF, extension fields).
  • Polynomial rings and elimination/resultants.
  • Elliptic curve arithmetic and discrete-log style tasks.
  • Lattice modeling (matrix, LLL) for partial leakage recovery.
  • Fast prototyping of attack math before operationalizing in Python.

Invocation modes

bash
# REPL
sage

# Run .sage script
sage solver.sage

# Run Python file with Sage runtime
sage -python solver.py

# Jupyter with Sage kernel
sage -n jupyter

Practical workflow

  1. Parse input values (files, network output, pubkeys).
  2. Model algebra in Sage-native structures (GF, rings, curves, matrices).
  3. Validate with small synthetic tests.
  4. Execute full solve, export recovered secrets to plain Python bytes/ints.
  5. Integrate with pwntools or service scripts for secret recovery.

Common cryptanalysis patterns

From real-world cryptanalysis work, common patterns include:

  • from sage.all import * alongside pwntools remote interaction.
  • Factoring and formatting factorization answers for oracle protocols.
  • Elliptic curve order / point lifting / discrete-log solves.
  • Lattice assembly via identity/augment/stack + LLL().
  • Finite-field polynomial construction and resultant-based elimination.
  • .sage solvers combining bitwise transforms, polynomial operations over GF(2^N), and iterative remote interaction rounds.

Output hygiene

  • Convert Sage integers to Python ints before serialization.
  • Convert numeric secrets to bytes with explicit endianness/length handling.
  • Keep deterministic seeds/options when random components appear.

Resources

  • references/python-sage-scripts.md — authoritative patterns for .sage and sage -python workflows, imports, interoperability, and pitfalls.
  • references/cryptanalysis-patterns.md — practical cryptanalysis templates (GF, EC, lattice, polynomial elimination) grounded in real solver style.

Файлы этой версии

Права

ПравоЗаявленоНайдено проверкой
Читает файлыНетНет
Пишет файлыНетНет
Выполняет команды shellДаДа
Ходит в сетьНетНет
Использует коннекторыНетНет
Управляет браузеромНетНет

Замечания проверки

Проверено 13 нояб. 2026 г.

Проверка не нашла в этой версии ничего подозрительного.

Чистая проверка снижает риск, но не доказывает, что пакет безопасен. Читайте то, что ставите.

ВерсияОпубликованаКоммитSHA-256ПодписьИзменение прав
v2026.11.13-21cd56813 нояб. 2026 г.21cd5684cfb0bddПодписана–

Спрашивайте обо всём, что позволяет ваш скоуп.

Создайте аккаунт, пополните баланс и задайте первый вопрос в чате или в терминале.

  1. 1/3

    Создайте аккаунт

    Личный или для компании. Позже можно перейти на аккаунт компании без потери баланса и ключей.

    ЛичныйКомпания
  2. 2/3

    Пополните баланс

    Картой. Оплата за токены, без подписки.

    $5.00минимальное пополнение
  3. 3/3

    Спрашивайте

    В чате, или установите CLI и выполните notholy login в терминале.

    $ notholy login