The article doesn't even claim al-Sharif wasn't a Hamas operative. Such evidence of journalists being part of Hamas has surfaced before:
https://x.com/EFischberger/status/1955682343337005467
Some are embedded media, for example journalists which raided Israel together with Hamas on October 7th.