Since you brought up. Let analyze avijja and tanha definition.
And what is ignorance (avijja)?
Not knowing about suffering, the origin of suffering, the cessation of suffering, and the practice that leads to the cessation of suffering.
Are you saying that real sotapanna hasn’t seen 4NT? I.e. one who has attained a right view that transcend the puthujjana?
And what is craving?
There are these six classes of craving.
Craving for sights, sounds, smells, tastes, touches, and thoughts.
Or
kāmataṇhā bhavataṇhā vibhavataṇhā
craving for sensual pleasures, craving for continued existence, and craving to end existence.
Sure , craving for sensual pleasure or existence in different realms haven’t been uprooted due to samadhi development has not been fulfilled.
But to go to higher realms one needs to have perfected precepts as well do you know that? Don’t think it is easy to go to higher realm
Also, i don’t see any akusala or kusala here. Actually this should have been understood by a sotapanna as well. Otherwise, they are indeed a fake one.
In fact, if they still do bad deeds, that can only mean they haven’t become one. Because lower realm is still opened.
This has been said by Buddha on many sutta.
SN 55.1
Now suppose a noble disciple wears rags and feeds on scraps of almsfood. Still, as they have four things, they’re exempt from hell, the animal realm, or the ghost realm. They’re exempt from places of loss, bad places, the underworld.
Sn 55.8
So Ānanda, I will teach you the explanation of the Dhamma called ‘the mirror of the teaching’. A noble disciple who has this may declare of themselves: ‘I’ve finished with rebirth in hell, the animal realm, and the ghost realm. I’ve finished with all places of loss, bad places, the underworld. I am a stream-enterer! I’m not liable to be reborn in the underworld, and am bound for awakening.’
And what is that mirror of the teaching?
It’s when a noble disciple has experiential confidence in the Buddha … the teaching … the Saṅgha … And they have the ethical conduct loved by the noble ones … leading to samadhi.
An ariya can use mirror of the teaching to self reflection and self declare he/she is a stream enterer. This knowledge is independent of others, can be verified by one who has enter the stream as well at the very least.