I fear for the men whose wives get angry with them and decide to have this little surprise waiting
As for the idea, it's a good one, but perhaps something which would chemically incapacitate the attacker instantly would be a better idea....
Maybe like some form of paralyzing drug gets released into the attacker's bloodstream. Then again that's more dangerous to the women if it ever "leaks" as well as probably being way more expensive.