sarvdan, it looks to me like some trash that got caught up in the photograph.
Don't think it's a lock cable, as you don't see any part of it coming out the ejection port (and no other place to come out on the other side).
Not a part of a normal magazine construction.
The magazine catch is visible and unmolested.
I would not worry about it.
.