To identify safe tokens through on-chain analysis, ensure the developer's supply is locked or burned, preventing them from selling all tokens. Check for a 'DEV 0%' indicator to confirm this. Additionally, ensure the top 10 holders control less than 30% of the supply, as a higher concentration can indicate risk. Verify that bundler holdings are below 40%; if they exceed this, as in a case where it's 57%, exercise caution and set stop-loss orders. Ensure no 'sniper' buys at the lowest price, as this can indicate potential rug pulls. Finally, check liquidity lock status on platforms like Dexscreener; a lock icon indicates security, while the absence of one suggests potential risk.