KAWAI Token: Security Remediation Plan
June 2, 2025
6 min read
KAWAI Token: Security Remediation Plan
Date: May 08, 2025 Objective: Address critical security and trust issues identified in the KAWAI token scan to ensure the token is safe and trustworthy for the community and potential holders.
Based on the token scan image provided, the following issues require immediate attention:
- Mint Authority Still Enabled
- LP Unlocked (100% Unlocked / 0.00% Locked)
- Low Liquidity
- Low Amount of LP Providers
- Mutable Metadata
- Supply Discrepancy & Creator Holdings
- Low Holder Count
Remediation Steps:
1. Revoke Mint Authority
- Issue: The wallet
6T6f...XyjM
(or the current mint authority) can still create new KAWAI tokens, posing an inflation risk and undermining trust in a fixed supply. - Fix: Permanently disable the minting capability for the KAWAI token.
- Action:
- Identify the current mint authority address for the KAWAI token mint (
CRonCzMtoLRHE6UsdpUCrm7nm7BwM3NfJU1ssVWAGBL7
). - The current mint authority must execute a transaction to set the mint authority to
null
(or an invalid address like a burn address, thoughnull
is standard for disabling). - Using
spl-token
CLI:spl-token authorize <KAWAI_TOKEN_MINT_ADDRESS> mint --disable --owner <PATH_TO_MINT_AUTHORITY_KEYPAIR_FILE> # Replace <KAWAI_TOKEN_MINT_ADDRESS> with CRonCzMtoLRHE6UsdpUCrm7nm7BwM3NfJU1ssVWAGBL7 # Replace <PATH_TO_MINT_AUTHORITY_KEYPAIR_FILE> with the file path to the current mint authority's keypair.
- Verification: Confirm on a Solana explorer (e.g., Solscan, SolanaFM) that the mint authority for the token is now empty or set to a burn address.
- Identify the current mint authority address for the KAWAI token mint (
2. Lock Liquidity Pool (LP) Tokens
- Issue: 100% of the LP tokens are unlocked, meaning the liquidity provider can remove all liquidity at any time (rug pull risk).
- Fix: Lock a significant majority (ideally 100% of team-provided liquidity) of the LP tokens for a substantial period (e.g., 6-12 months or longer).
- Action:
- Identify the wallet(s) holding the KAWAI LP tokens (e.g., KAWAI/SOL or KAWAI/USDC LP tokens from Raydium, Orca, etc.).
- Use a reputable third-party LP locking service on Solana. Popular options include:
- Streamflow (streamflow.finance)
- SolLocker (sollocker.com)
- Specific DEXs might offer their own locking solutions (e.g., Raydium used to have one).
- Follow the chosen platform's instructions to create a lockup contract for the LP tokens. Specify the amount of LP tokens and the lock duration.
- Transparency: Publicly share the transaction proof of the LP lock and the link to the locker contract for community verification.
3. Increase Liquidity
- Issue: The current liquidity of ~$1191.47 is extremely low, leading to high slippage and price instability.
- Fix: Add more capital to the liquidity pool.
- Action:
- The project team needs to allocate more $KAWAI tokens and an equivalent value of the paired asset (e.g., SOL or USDC) to the DEX liquidity pool.
- This should be done before or concurrently with locking the LP tokens (Step 2).
- Aim for a liquidity level that can support reasonable trading volume without excessive price impact. The target amount depends on project goals and initial market cap aspirations.
4. Address Low Amount of LP Providers
- Issue: Few LP providers indicate liquidity centralization.
- Fix: This is often a symptom of a new token and low overall liquidity. Fixing issues #2 (LP Lock) and #3 (Increase Liquidity) will build trust and may organically attract more independent LPs over time.
- Action:
- Focus on the team providing substantial, locked initial liquidity.
- As the project grows and if tokenomics allow (e.g., through LP farming incentives in later phases), more providers might join.
- For Phase 1, ensuring the primary liquidity is secure and sufficient is the priority.
5. Make Metadata Immutable
- Issue: The token metadata (name, symbol, URI) is currently mutable, meaning it can be changed by the update authority.
- Fix: Set the metadata to be immutable to prevent unauthorized or malicious changes.
- Action:
- Identify the current update authority for the token's metadata account.
- Use the Umi script (
create_metadata_umi.ts
) previously provided. If the metadata account already exists, you will need to use an update instruction. The key is to setisMutable: false
in the arguments. - If creating metadata for the first time (as per earlier discussions): Ensure the
isMutable
field in theCreateMetadataAccountV3InstructionArgs
is set tofalse
when running the Umi script.// In create_metadata_umi.ts const metadataArgs: CreateMetadataAccountV3InstructionArgs = { data: { /* ... */ }, isMutable: false, // Set to false for immutability collectionDetails: null, };
- If updating existing mutable metadata: The update authority needs to send a transaction using
updateMetadataAccountV2
(or the Umi equivalentupdateV1
) instruction, setting thenewUpdateAuthority
tonull
(or the metadata account itself) andisMutable
tofalse
. - Verification: Check on an explorer that the metadata account's
isMutable
flag isfalse
.
6. Clarify Supply and Creator Holdings
- Issue: The scan shows conflicting information: "Supply 3.9B" and "Creator Balance 45,207T KAWAI (10.5%)". This needs immediate clarification.
- Fix: Verify the actual total supply and the distribution of tokens, ensuring they align with the stated tokenomics. Address any discrepancies.
- Action:
- Verify Actual Supply: Use a reliable Solana explorer (Solscan, SolanaFM) with the KAWAI token mint address (
CRonCzMtoLRHE6UsdpUCrm7nm7BwM3NfJU1ssVWAGBL7
) to confirm the true current total supply and decimals. - Verify Creator Holdings: Identify all wallets associated with the creator/team and sum their KAWAI balances.
- Reconcile with Tokenomics: Compare these figures with the agreed-upon tokenomics document (
phase1_tokenomics.md
). The total supply should be 1 Trillion $KAWAI (with 9 decimals). - Corrective Actions (if discrepancies exist):
- If the minted supply is incorrect, this is a major issue. If it's higher than 1 Trillion, excess tokens must be burned. If lower, it needs to be understood why.
- If the creator holds an excessive amount not allocated by tokenomics, these tokens should be transferred to the designated multi-sig wallets (Treasury, Marketing, Staking Rewards Pool, etc.) or burned, as per the tokenomics.
- Ensure all team/advisor tokens are subject to the agreed vesting schedule.
- Verify Actual Supply: Use a reliable Solana explorer (Solscan, SolanaFM) with the KAWAI token mint address (
7. Increase Holder Count
- Issue: Only 5 holders indicates very limited distribution.
- Fix: This will improve as the token is distributed according to the tokenomics and marketing efforts begin.
- Action:
- This is not an immediate security fix but a growth metric.
- Once the critical security issues (1-6) are resolved, proceed with planned airdrops, community reward distributions, and marketing campaigns to increase token distribution and holder count.
Priority: Issues #1 (Mint Authority), #2 (LP Lock), and #6 (Supply/Creator Holdings) are the most critical and should be addressed first as they pose direct and severe risks to token holders and project integrity. Issue #5 (Mutable Metadata) and #3 (Liquidity Amount) are next in priority.
This plan provides a roadmap to significantly improve the security and trustworthiness of the KAWAI token. It is crucial to execute these steps diligently and transparently.