ne quid question

Do these two words together comprise a special expression? I thought quid might be a truncated form of an indefinite pronoun. Thanks.

Yes quid is the indefinite pronoun. quis rather than aliquis is regularly used after ne and after si.