canister-audit
Audited by Socket on Nov 6, 2026
2 alerts found:
SecurityAnomalyThis 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.
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.