Your phone probably isn't compromised.
It's common where I am to get spam phone calls that spoof Caller ID to match the area code and first 3 digits of your own number, to appear "local" and make you think it might be someone you know.
I tend to get calls in bursts. Sometimes it's the same robocall 3 times a day for a week.
Phone companies also reuse numbers, and their lists of active numbers leak now and then, so even if you get a "new" number, you can still get spam. I don't know how feasible it is for spammers to wardial every number, but it might be possible.
And I think there used to be a bug where certain characters in a text could crash am iPhone, or something to that effect.
Apple has spam detection in the Messages app now. If it's anything like email, spammers will try anything to bypass it, like replacing characters.
So in conclusion, there's not much you can do about it until phone companies fix Caller ID.
It's common where I am to get spam phone calls that spoof Caller ID to match the area code and first 3 digits of your own number, to appear "local" and make you think it might be someone you know.
I tend to get calls in bursts. Sometimes it's the same robocall 3 times a day for a week.
Phone companies also reuse numbers, and their lists of active numbers leak now and then, so even if you get a "new" number, you can still get spam. I don't know how feasible it is for spammers to wardial every number, but it might be possible.
And I think there used to be a bug where certain characters in a text could crash am iPhone, or something to that effect.
Apple has spam detection in the Messages app now. If it's anything like email, spammers will try anything to bypass it, like replacing characters.
So in conclusion, there's not much you can do about it until phone companies fix Caller ID.