It is safe now as is, because the cable sheathing is cut back when you terminate the connection, normally.
And if the inner conductors are not nicked then the outer sheathing plays little role in safety.
It just keeps the conductors together in one bundle.
But Up to Code ? Depends on the inspector.