Our broadbeans are doing really well, all flowering and looking healthy. However, on my last trip to the allotment I spotted this bug up to something on my broadbeans. Has anyone got any ideas what it might be, & what its planning?

Bug on Broadbeans

Bug on broadbeans