Use Intelligence.
The rules for attack rolls state:
The ability modifier used for a spell attack depends on the spellcasting ability of the spellcaster.
(The corresponding section of the PHB adds, "as described in chapter 10".)
The Sage Advice Compendium1 further clarifies this for us in this rules question, in particular, the second footnote explaining "spellcasting ability mod":
How do I know which ability modifier to use with an attack roll and its damage roll?
The Player’s Handbook specifies which ability modifier to use with an attack roll (PHB "Attack Rolls") and which one to use with the corresponding damage roll (PHB "Damage Rolls"). Here’s a summary:
Attack Type |
Attack Roll |
Melee weapon attack |
Strength mod. * |
Ranged weapon attack |
Dexterity mod. * |
Spell attack |
Spellcasting ability mod. ** |
* Add your proficiency bonus if you’re using a weapon with which you’re proficient.
** Add your proficiency bonus. Your spellcasting ability is determined by your class or whatever feature gave you the ability to make the spell attack.
In this case, since the feature that gave the ability to make a spell attack is an artificer feature, we use Intelligence.
It is also worth mentioning that this is consistent with the rules for ability modifiers used with spells by multiclassed spellcasters:
Each spell you know and prepare is associated with one of your classes, and you use the spellcasting ability of that class when you cast the spell.
1 The Sage Advice Compendium is Wizards of the Coast's official compendium of rulings and rules interpretations, presented in question and answer format.