Leaving my base, is there any chance that it might be attacked?
Solution 1:
Yes.
I know that pollution provokes Alien attacks, but overall, this is my character doing the pollution.
Not really. It is the things that your character builds that are doing the pollution.
Various structures in Factorio emit pollution (though only when running). You can actually see exactly how much pollution they emit by hovering your mouse over them and looking at the “Pollution” number in the information bar:
The wiki’s article on pollution has a good explanation for how generated pollution influences biter behavior:
Pollution attracts biters to your factory. Biters who find themselves in a polluted area will attempt to reach the source of pollution and destroy it.
Each spawner absorbs 20 + 0.01 * [chunks pollution] every game second (60 ticks), if the chunks pollution is greater than 20 otherwise it absorbs the total pollution.
Higher pollution values decrease the time it takes for biters to join the attack force. After a certain amount of pollution is absorbed the spawner sends one of its biters/spitters to a rendezvous point. Every 1 to 10 minutes (random) the mustered biters launch an attack. If not all biters have arrived at the rendezvous point by that time, they will wait up to an additional 2 minutes for stragglers.
When you open the ingame map (by default bound to the M key, you may need to press alt to enable the detailed view), pollution will be shown as a red-tinted cloud. The more pollution in an area, the darker the shade of red will be.
When the pollution cloud reaches biter bases, they will begin to amass to attempt to remove the source of pollution, whether you are at home or not. Build walls and turrets to keep your base safe, even when you’re not around.