Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

o1js-skills

skill · izzetemredemir/o1js-skillsMIT licenceAudited 10 Oct 2026 · source a64a358bc92b

★ 0pushed todayversion 0.1.0
!CAUTIONGrade B · 89/100 · 7 findings · a64a358
0repo stars · whole izzetemredemir/o1js-skills

Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit a64a358bc92b and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 7 findings, 1 critical or high. What it does: Write, review, debug and upgrade Mina zkApps and zero-knowledge programs with o1js 3.x. Use when the user works with o1js or Mina smart contracts (SmartContract, @state, @method), ZkProgram and recursive proofs, actions…

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “o1js-skills (izzetemredemir/o1js-skills)”. Retrieved 10 Oct 2026. https://modelsatlas.com/skills/izzetemredemir/o1js-skills

Trust audit

Audit 0.4.1 · source read 10 Oct 2026

Trust score89/100!CAUTION B
0 critical1 high0 medium6 low0 info

CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS1
L1 Static sourceSecrets, path traversal, supply chain, hidden codePASS5
L2 InstructionsPrompt injection, authority framing, hidden directivesFAIL1
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (7)

HIGHPrompt injectionprompt.credential_read · skills/o1js/SKILL.md:143
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- Read keys from environment variables or files the user controls.
Why
asks the agent to read credentials
Fix
—
LOWInventory / provenanceinv.suspicious_name · eval/graders/exploit.test.ts
F-13 Inventory / provenanceCWE-1104Layer L0
exploit.test.ts
Why
member named after an attack tool
Fix
remove or justify
LOWNetwork egressnet.raw_ip · skills/o1js/examples/api-surface/api-surface.test.ts:21
F-04 Network egressCWE-200 · CWE-319Layer L1
assert.equal(Mina.Network('http://127.0.0.1:1/graphql').getNetworkId(), 'devnet');
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · skills/o1js/examples/api-surface/api-surface.test.ts:22
F-04 Network egressCWE-200 · CWE-319Layer L1
const mainnet = Mina.Network({ networkId: 'mainnet', mina: 'http://127.0.0.1:1/graphql' });
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · skills/o1js/references/testing.md:102
F-04 Network egressCWE-200 · CWE-319Layer L1
- It provides GraphQL at `http://127.0.0.1:8080/graphql`, the archive at `http://127.0.0.1:8282` and the account manager at `http://127.0.0.1:8181`.
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · skills/o1js/references/transactions.md:72
F-04 Network egressCWE-200 · CWE-319Layer L1
mina: 'http://127.0.0.1:8080/graphql',
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · skills/o1js/references/transactions.md:73
F-04 Network egressCWE-200 · CWE-319Layer L1
archive: 'http://127.0.0.1:8282',
Why
No further detail recorded for this rule.
Fix
—

Audit 0.4.1 · source sha a64a358bc92b · 10 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • Publisherizzetemredemir GitHub userOwner of the repository this skill is read from
  • Source folderizzetemredemir/o1js-skillsThe exact folder we audited
  • LicenceMITAs the repository states it
  • Commit pinned for this verdicta64a358bc92bA new audit runs when the source changes
  • Repository statusNot archivedPushed today
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: Write, review, debug and upgrade Mina zkApps and zero-knowledge programs with o1js 3.x. Use when the user works with o1js or Mina smart contracts (SmartContract, @state, @method), ZkProgram and recursive proofs, actions…

---
name: o1js
description: Write, review, debug and upgrade Mina zkApps and zero-knowledge programs with o1js 3.x. Use when the user works with o1js or Mina smart contracts (SmartContract, @state, @method), ZkProgram and recursive proofs, actions and reducers, custom tokens (TokenContract), permissions and verification-key upgrades, Mina transactions and fees, browser zkApp frontends and wallet (Auro) integration, LocalBlockchain or lightnet tests, deploying to Mina devnet or mainnet, the Mesa hard fork, or errors such as "Account_app_state_precondition_unsatisfied", "Update_not_permitted_access", "too many segments" or "Invalid_fee_excess". Corrects the o1js 0.x–2.x APIs that models tend to produce.
license: MIT
compatibility: o1js 3.1.x on Mina after the Mesa hard fork; Node.js >= 22.19.5
metadata:
  version: "0.1.0"
  o1js: "3.1.0"
---

# o1js 3 on Mesa

Your memory of o1js is probably out of date. o1js 3.0 (published 2026-08-18) and 3.1 (published 2026-09-23) shipped alongside the Mesa hard fork (Mina mainnet, 2026-09-03), and most public o1js code was written for 0.x–2.x. Everything here was checked against o1js 3.1.0. Claims that cite an example are reproduced by the tests in [examples/](examples/).

## Before writing code

1. **Check the installed version** (`node_modules/o1js/package.json`). On 3.x, follow this skill. On 2.x or older, read [references/migration.md](references/migration.md) first. Since Mesa, mainnet contracts need o1js 3.
2. **Don't guess signatures.** Read the installed typings: `node_modules/o1js/dist/node/index.d.ts` and `dist/node/lib/**/*.d.ts`. The CHANGELOG in the o1js repo lists every change by version.
3. **Treat docs and tutorials as possibly stale.** Several official pages still show pre-v3 or buggy code ([references/mesa.md](references/mesa.md#known-documentation-bugs)).

## Default stack

- **Versions:** `o1js@^3.1.0` and Node.js ≥ 22.19.5. 3.1.0 fixes account-update soundness bugs in 3.0.x and changes verification keys again.
- **Build with `tsc`.** The tsconfig needs `experimentalDecorators: true`, `emitDecoratorMetadata: true` and `useDefineForClassFields: false`. o1js reads decorator metadata to learn `@method` argument types, and esbuild-based runners (tsx, Vite, Vitest) do not emit it. Template: [examples/tsconfig.json](examples/tsconfig.json).
- **Testing:** `node:test` with `await Mina.LocalBlockchain({ proofsEnabled: false })` for fast logic tests. Run the same suite with proofs enabled before any deployment. See [references/testing.md](references/testing.md).
- **Proving:**
  - Node: `setBackend('native')` at the top of the entry point, before any o1js call that initialises it (`LocalBlockchain`, `compile`, ...), or `O1JS_BACKEND=native`, for about 2× faster proving.
  - Browser: WASM inside a Web Worker, served with COOP/COEP headers.
  - Cache keys with `Cache.FileSystem`.
- **zkapp-cli:** `zk project` still scaffolds `"o1js": "^2.*"`. Change it to `^3.1.0` before writing any code.

## What models get wrong most often

| Outdated pattern | o1js 3.1 | Proof |
|---|---|---|
| `Mina.Network(url)` for mainnet | `Mina.Network({ networkId: 'mainnet', mina: url, archive })`; the bare URL defaults to **devnet**, so signatures are invalid on mainnet | [api-surface.test.ts](examples/api-surface/api-surface.test.ts) |
| `Mina.LocalBlockchain()` without await, `testAccounts[0].privateKey` | `const local = await Mina.LocalBlockchain(...)`, `const [alice] = local.testAccounts; alice.key` | same |
| `@method inc() {}` | `@method async inc() {}` and `await zkApp.inc()` | [type-checks.ts](examples/api-surface/type-checks.ts) |
| `Mina.transaction(sender, () => {...})` | `Mina.transaction(sender, async () => {...})` | same |
| `const proof = await Program.m(x)`, method returns `x` | `const { proof } = await Program.m(x)`, method returns `{ publicOutput: x }`; `await Program.verify(proof)` | same, [SumProgram.test.ts](examples/zkprogram/SumProgram.test.ts) |
| `this.x.get()` alone | `this.x.getAndRequireEquals()`; a contract with a bare `get()` does not compile | [Pitfalls.test.ts](examples/pitfalls/Pitfalls.test.ts) |
| `setVerificationKey: Permissions.impossible()` | `setVerificationKey: Permissions.VerificationKey.impossibleDuringCurrentVersion()` (or `.proofDuringCurrentVersion()`, `.signature()`) | [type-checks.ts](examples/api-surface/type-checks.ts) |
| Calling `deploy()` again to upgrade | Signed verification-key update; `deploy()` resets every permission to the defaults | [Upgradable.test.ts](examples/upgrade/Upgradable.test.ts) |
| `AccountUpdate.createIf(c, pk)` used as an `AccountUpdate` | Returns `OptionalAccountUpdate`; use `.value` | [type-checks.ts](examples/api-surface/type-checks.ts) |
| `UInt64.lt`, `Field.isZero`, `Circuit.if`, `CircuitValue`, `isReady` | `lessThan`, `x.equals(0)`, `Provable.if`, `Struct`; `isReady` is gone | [api-surface.test.ts](examples/api-surface/api-surface.test.ts) |
| `encryptV2`, `TokenContractV2`, `divV2`, ... | Plain names (`encrypt`, `TokenContract`, `div`) since 2.0 | same |
| `import { fetchActions } from 'o1js'` | `Mina.fetchActions(...)`; `fetchEvents` is still top-level | same |
| `Provable.equal(a, b)` | `Provable.equal(Type, a, b)` | same |
| `uint32.toBigInt()` | `UInt64`/`UInt8`: `toBigInt()`; `UInt32`/`Int64`: `toBigint()` | same |
| `amount.assertEquals(x, 'message')` on `UInt64`/`UInt32` | No message argument there (compile error); use `amount.equals(x).assertTrue('message')`. Comparisons such as `assertLessThanOrEqual` do take one | [type-checks.ts](examples/api-surface/type-checks.ts) |
| `setFeePerSnarkCost`, `TransactionCost.*` | `tx.setFee(...)`; limit is 16 segments per transaction | [Limits.test.ts](examples/limits/Limits.test.ts) |
| 8 state fields | 32 field elements of on-chain state per account | same |
| `Experimental.IndexedMerkleMap` | Top-level `IndexedMerkleMap`; `OffchainState` is still under `Experimental` | [api-surface.test.ts](examples/api-surface/api-surface.test.ts) |

The 

Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit a64a358

Download folder ↗
npx skills add izzetemredemir/o1js-skills
git clone https://github.com/izzetemredemir/o1js-skills
npm install
npm init -y
npm install o1js@^3.1.0
npm install -D typescript @types/node

Commands as the repository documents them: shown, never run by us. Our verdict covers commit a64a358bc92b only.

Works in which agents?

What its own text says, not a test

AgentStatusMore
Claude CodeMentioned in its text, not testedSkills for Claude Code · About Claude Code
CodexMentioned in its text, not testedSkills for Codex · About Codex
CursorMentioned in its text, not testedSkills for Cursor · About Cursor
“Mentioned” means the skill’s text names the agent. We have not run it there.

Audit history

Every audit, every source change

  1. !CAUTION B 89 / 100

    first audit · source a64a358bc92b

README badge

For maintainers · shows the latest audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/skills/izzetemredemir/o1js-skills/badge.svg)](https://modelsatlas.com/skills/izzetemredemir/o1js-skills/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Similar skills

ponytail✓SAFE

dietrichgebert/ponytail

Lazy senior dev mode: the smallest change that fully solves the task, and a reply a busy human understands in one read. Use on any coding task (writing, fixing, refactoring, reviewing, choosing dependencies) and when…

★ 160kGrade B
Spec Driven Development✓SAFE

addyosmani/agent-skills

Creates specs before coding. Use when starting a new project, feature, or significant change and no specification exists yet. Use when drafting a PRD or requirements document with objectives and scope, or when…

★ 100kGrade B
Test Driven Development!CAUTION

addyosmani/agent-skills

Drives development with tests using the red-green-refactor loop. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when…

★ 100kGrade B
Using Agent Skills✓SAFE

addyosmani/agent-skills

Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of work at hand. This is the meta-skill that governs how all other skills are…

★ 100kGrade B
Api And Interface Design✓SAFE

addyosmani/agent-skills

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing…

★ 100kGrade B
Ci Cd And Automation✓SAFE

addyosmani/agent-skills

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

★ 100kGrade B

Add this badge to your README

[![ModelsAtlas: CAUTION B](https://modelsatlas.com/skills/izzetemredemir/o1js-skills/badge.svg)](https://modelsatlas.com/skills/izzetemredemir/o1js-skills/)

Questions about o1js-skills

What does the o1js-skills skill do?
Agent skill for writing correct, secure o1js 3 zkApps on Mina after the Mesa hard fork, backed by tests that run on o1js 3.1.0.
Is o1js-skills safe to install?
With care. The audit graded it B (89/100) and found 7 things worth knowing before you trust this skill, listed below with the exact line each was found on.
What can o1js-skills access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does o1js-skills work with?
Its documentation mentions claude-code, codex and cursor. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (a64a358bc92b), read on 2026-10-10. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.