In the proof of Lemma A.4 of this document, the author proves that a C$^*$-algebra is simple by showing that every one of its representations is faithful. They proceed by taking a representation and show it is injective on a (fixed) dense $^*$-subalgebra. Then they claim that the restriction of the representation to this subalgebra is faithful (obvious) and that the extension back to the original algebra is faithful (valid conclusion?).
Perusing other questions on here it would appear that there is a problem with the final claim, if we just look at extending continuous injective functions then you can't just conclude that the extension is injective, and if we look at extending injective $^*$-homomorphisms on dense $^*$-subalgebras, then there are still problems in the general case.
I suppose that my question would be the following; what extra conditions may we impose on an injective $^*$-homomorphism $\varphi:\mathcal{D}\rightarrow B$ between a dense $^*$-subalgebra $\mathcal{D}$ of a C$^*$-algebra $A$, and another C$^*$-algebra $B$ so that it's extension to $A$ is injective?
The only thing which springs to mind is that if we insist that $\varphi$ is an isometry, then its extension will also be an isometry, hence injective.