Yes, security markings, but more often seen in black. See this page of the above link:
http://rodsell.com/hksmsic/miscellaneous.htmlMagenta probably wasn't a good idea to use as they could be mistaken for attempted reuse of used revenues/fiscals.
Nice to find a group studying these. Most collectors downgrade such stamps tremendously. Covers are a different story.
Similar manuscript marks are also found on stamps of British India.