A cubic chiral nanocage with a covalent, rigid skeleton and molecule-sized entrance portals was obtained by means of dynamic covalent chemistry.