I've been contacted by a recruiter with a job offer. Besides my CV they asked me for 2 references. I'm fairly junior in my field (web development), I started work 1 and a half years ago at the very company and team I still work for, so only they could provide this. The reason I'm job hunting is, that over time the team has grown toxic. Due to bad working conditions, there is high fluctuation and those who leave are regarded as traitors, letting down those that stay. The offer I've been approached with is really good and would like to take a shot at it, but I need a way to decline providing references.
You can state that your current employers are unaware that you are job searching and therefore you are unable to use them as a reference and as your current job is actually your first job you don't have any previous employers to draw upon.
If your time in education is still relatively recent then you could offer details from teachers/professors who can act as references for you (obviously having checked with them first that they are happy to do so!).
Your first try should be simply to ignore the request.
If they insist, point out to them that you are still working for company XYZ and you do not want to alert them that you might be leaving, so you can't ask them for references.
Normally companies do not ask for references from recruits that are actively employed somewhere else for that exact reason.
Get other references. You should know at least 2 people who aren't related to you who can say good things about you. If not colleagues, former professors or teachers. Classmates or friends at least. People you've volunteered with. People from hackathons or meetups. If you have absolutely no professional network outside of your current coworkers, you're doing something wrong after 1.5 years in the field.