The SDAO token contract implements an ERC-20-like standard with EIP-2612 permit functionality and EIP-1271 signature validation. A critical vulnerability was identified in the mint function where totalSupply can overflow due to an unchecked arithmetic operation, leading to an incorrect total supply. Additionally, the contract exhibits high centralization risks due to a single auth role controlling token minting, burning, and metadata modification. Addressing these issues is paramount for the security and integrity of the token.

On-chain security analysis — is it a scam or legit?
Is Spark Safe?
Not verified
This record has not gone through deep verification and is not being monitored. The score is a dated snapshot — the token’s risk can change at any time.Own this token? Put it under verification →The SDAO token contract implements an ERC-20-like standard with EIP-2612 permit functionality and EIP-1271 signature validation.
Read the full analysis- Ownership status UNKNOWN
- Mintable supply — no cap found, dilution unbounded
- Top-10 concentration > 30%
- LP lock status UNKNOWN — the pool's LP could not be read
Exact factors
- Ownership status UNKNOWN (owner could not be resolved)
- Mintable supply — no cap found, dilution unbounded
- Top-10 concentration > 30% (86.1% total → 38.9% effective; 7.5% in EOAs, 78.6% in contracts — moderate)
- LP lock status UNKNOWN — the pool's LP could not be read
Security Checklist
as of audit · Sep 14Holders
as of audit · Sep 14, 2026- Contractstreasury, vesting, bridge, staking78.6%
- Walletsanonymous holders, free to sell7.5%
- Everyone elsethe rest of the supply13.9%
How holder types affect the score
Share held by contracts — treasury, vesting, bridge or staking — is discounted against share held by wallets when the score is computed: a contract cannot decide to sell the way an anonymous holder can, though it can still be drained or voted to sell. Effective concentration is the figure the risk score is actually calculated from.
Holder balances as recorded by the audit of Sep 14, 2026
Liquidity
as of audit · Sep 14Whether the LP tokens are locked could not be determined.
Security Findings
MediumLack of Granular Access Control
Not confirmed by static analysis (the model's own reading of the source).M-01
Issue
Not confirmed by static analysis (the model's own reading of the source). The auth modifier provides an 'all-or-nothing' access control mechanism. Any address added to wards gains control over all privileged functions, including mint, rely, deny, and file. This lack of role separation increases the risk profile, as a single compromised auth key could lead to a full compromise of the token's administrative functions. (7.3 Access Control, 7.5 Governance)
Fix
Implement a more granular role-based access control (RBAC) system, assigning specific permissions (e.g., MINTER_ROLE, ADMIN_ROLE, METADATA_EDITOR_ROLE) to different addresses or multi-signature wallets.
Status
Unresolved
MediumtotalSupply Overflow in mint function
Not confirmed by static analysis (the model's own reading of the source).M-02
totalSupply Overflow in mint functionIssue
Not confirmed by static analysis (the model's own reading of the source). The mint function uses an unchecked block for the totalSupply = totalSupply + value; operation. If totalSupply is close to type(uint256).max and a large value is minted, totalSupply will overflow and wrap around to a small number. This breaks the fundamental invariant of token supply, leading to an incorrect total supply and potential economic exploits or system failures in protocols relying on the correct totalSupply value. (7.2 Code Security)
Fix
Remove the unchecked block around totalSupply = totalSupply + value; to allow default Solidity overflow checks to prevent this. Alternatively, implement a custom check `require(totalSupply + value >= totalSupply, 'SDAO/totalSupply-overflow');` before the addition.
Status
Unresolved
MediumCentralized Control of Token Supply
Not confirmed by static analysis (the model's own reading of the source).M-03
Issue
Not confirmed by static analysis (the model's own reading of the source). The mint function is controlled by addresses in the wards mapping via the auth modifier. This grants significant power to a small set of authorized addresses, allowing them to arbitrarily inflate the token supply. A compromise of an authorized address could lead to severe economic consequences, including hyperinflation and devaluation of the token. (7.3 Access Control, 7.4 Economic)
Fix
Implement a more decentralized or time-locked mechanism for minting, or clearly document the implications of this centralized control. Consider using a multi-signature wallet for the auth role to require multiple approvals for critical actions.
Status
Unresolved
MediumCentralized Control of Token Metadata
Not confirmed by static analysis (the model's own reading of the source).M-04
Issue
Not confirmed by static analysis (the model's own reading of the source). The file function allows authorized addresses (those in wards) to change the token name and symbol. While not directly impacting token value, this can lead to confusion, misrepresentation, and potential phishing if malicious names/symbols are set. This could undermine user trust and disrupt integrations with exchanges or other protocols. (7.3 Access Control, 7.4 Economic)
Fix
Remove the ability to change name and symbol after deployment, or implement a robust governance mechanism (e.g., time-locked multi-sig or DAO vote) for such critical changes.
Status
Unresolved
Lowpermit Function Overload Redundancy
Not confirmed by static analysis (the model's own reading of the source).L-01
permit Function Overload RedundancyIssue
Not confirmed by static analysis (the model's own reading of the source). The contract provides two permit functions: one accepting bytes memory signature and another accepting uint8 v, bytes32 r, bytes32 s. The latter simply encodes v, r, s into bytes memory signature and calls the first permit function. While functional, this adds a slight, unnecessary gas overhead for users who already have v, r, s separated, as the encoding step is redundant. (7.2 Code Security)
Fix
Consider having the permit function taking v, r, s directly process the signature without re-encoding, or remove the overloaded function if the bytes memory signature version is sufficient for all use cases.
Status
Unresolved
InfoDOMAIN_SEPARATOR Recalculation on Chain ID Mismatch
Not confirmed by static analysis (the model's own reading of the source).I-01
DOMAIN_SEPARATOR Recalculation on Chain ID MismatchIssue
Not confirmed by static analysis (the model's own reading of the source). The DOMAIN_SEPARATOR() view function and the permit function recalculate the EIP-712 domain separator if block.chainid differs from deploymentChainId. While this design choice offers flexibility for potential cross-chain deployments or forks, it introduces a minor gas overhead for permit calls executed on a chain ID different from the deployment chain. For a token primarily intended for a single, fixed chain, this recalculation might be an unnecessary complexity and gas cost. (7.1 Architecture, 7.2 Code Security)
Fix
Document this design choice and its implications. If the token is strictly intended for a single chain, consider simplifying the DOMAIN_SEPARATOR logic to always return the immutable _DOMAIN_SEPARATOR to save gas.
Status
Unresolved
Analysis
AI Copilotas of audit · Sep 14The contract implements an ERC-20-like token with EIP-2612 permit functionality and EIP-1271 signature validation. The permit implementation appears robust, correctly handling nonces and domain separators, including chain ID changes. However, a critical vulnerability exists in the mint function where totalSupply can overflow due to an unchecked block (C-01), leading to incorrect token supply. A minor gas optimization could be made in the overloaded permit function (L-01). (7.1 Architecture, 7.2 Code Security)
The token's economic model and governance are highly centralized, relying on a single auth role managed by the wards mapping. This role has extensive power, including the ability to mint tokens (H-01) and modify token metadata (H-02). The lack of granular access control (M-01) means a single compromised key could lead to severe economic and reputational damage. (7.3 Access Control, 7.4 Economic, 7.5 Governance)
The contract is not designed to be upgradeable. This simplifies the architecture by avoiding the complexities and potential risks associated with proxy patterns. Any future changes to the contract logic would require a new deployment and migration of assets, which is a standard approach for non-upgradeable tokens. (7.7 Upgrades)
Prioritize addressing the critical totalSupply overflow vulnerability in the mint function to prevent severe economic consequences.
Implement robust access control mechanisms, such as a multi-signature wallet for the auth role, and consider separating administrative privileges to reduce the impact of a single compromised key. For critical functions like minting and metadata changes, evaluate the necessity of such centralized control and explore more decentralized or time-locked alternatives if appropriate for the protocol's long-term vision.
Contract & Record
Free for any token on the record. It links to this page and always shows the current score and the date it was checked.
- Sep 14, 202639Medium
Score changes are recorded as dated snapshots — history is append-only and cannot be edited.
Frequently Asked Questions
What is the SPK contract address?
The Spark (SPK) contract on Ethereum is 0xc20059e0317de91738d13af027dfc4a50781b066. Compare it with the address the project itself publishes before trading: other contracts can carry the same name and ticker.
Is Spark a scam?
Quantum Audit's risk score for Spark is 39/100 (Medium risk) as of Sep 14, 2026, computed by a deterministic function from on-chain facts — Contract verified: Verified; Mint: Mintable; Upgradeability: Fixed code; Honeypot: None found; Buy / sell tax: 0% / 0%. A score is a dated snapshot of those facts, not a guarantee; each one is listed on this page.
Who holds SPK?
As of Sep 14, 2026, the 10 largest holders own 86.1% of the supply. The Holders section on this page shows who they are by holder type.
Would You Like a More Detailed Audit of Spark?
Our AI-powered scanner gives you a deeper, real-time smart contract analysis — free, with every scoring factor shown.
Get Detailed Audit Is this your token? Add your links and get it Verified