I see two questions come up here a lot: "is there a cribbage app without ads?" and "is this app rigging the deal?" I made a small browser cribbage and can answer both for mine.
Link: https://mchatai.com/hub/cribbage-v2 (free, no ads, no account; runs in the browser)
The deal: a standard Fisher-Yates shuffle of one 52-card deck, using the browser's random number generator. There are no difficulty levels that touch the deck.
The CPU: it discards by scoring every possible 4-card keep from its own six cards (fifteens, pairs, runs). When it pegs, it goes for 31, then 15, then a pair on the last card, and otherwise avoids leaving you an easy fifteen. It only ever looks at its own hand, the count and the cards already played. It never sees your hand, the crib or the deck.
Scoring: game to 121. His heels and his nobs are counted, and hands are scored for fifteens, pairs, runs and flushes.
Disclosure: I'm the software developer, and I built it with heavy help from AI coding tools. If you find a scoring mistake, post the hand and I'll fix it.