The invention relates to a composition, especially a cosmetic composition, comprising: (i) one or more alkoxysilanes, and (ii) one or more starches modified with an acid or an acid derivative. The invention also relates to a cosmetic process for treating keratin materials with this composition, and also to the use of this composition for caring for and/or shaping keratin materials.