canister-audit

Warn

Audited by Socket on Nov 6, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
fixtures/token_vault/src/lib.rs

This canister contains a critical accounting flaw: any caller can invoke claim_bonus to create an arbitrary recorded balance without a corresponding deposit, violating the stated invariant and enabling unauthorized ledger credit. The owner-only admin_set_total can also desynchronize accounting totals from balances. The source explicitly identifies itself as an intentionally broken audit fixture; it shows no evidence of data theft, persistence, or other malware behavior. Do not deploy it as a ledger.

Confidence: 99%Severity: 88%
AnomalyLOW
fixtures/token_vault/repro/tests/repro.rs

This is a test harness, not evidence of malware: it installs a selected canister artifact in PocketIC and verifies that an anonymous caller can mint a free, withdrawable balance through claim_bonus. The demonstrated issue is a serious authorization/accounting flaw in the tested canister; this fragment itself shows no data theft or external network activity. The artifact path is configurable through CANISTER_WASM and its provenance is not checked here.

Confidence: 99%Severity: 62%
Audit Metadata
Analyzed At
Nov 6, 2026, 07:43 AM
Package URL
pkg:socket/skills-sh/aeonfun%2Faeon%2Fcanister-audit%2F@e1667ddb9a7bb461e6bc903cc5c6e6cd736df103