The hardened protein that becomes silk fibres is the of the silkworm.
The caterpillar secretes fibre which hardens on exposure to air and becomes silk fibre. The fibre secrets by caterpillar are made from: