If you need a lightweight or free editor without the risks of unofficial portables, consider:

: These versions are technically pirated software, as they circumvent Adobe's subscription-based licensing model. Legitimately Lightweight Alternatives

– from PortableApps.com – fully legal, open-source, and supports many Photoshop-like features.