NEW YORK (CBSNewYork/AP) – A new bill would force people to undergo social media background checks when they apply for a gun license in New York state.

Under the proposal, applicants would be forced to hand over their social media passwords to investigators so they can look for things like racial slurs, threats of violence, or terrorism-related posts.

READ MORE: 81-Year-Old Found Dead In Elmwood Park Home, Man Taken Into Custody

The bill by State Senator Kevin Parker would mandate applicants provide investigators with their Facebook, Snapchat, Twitter, and Instagram passwords and access to their Google, Yahoo and Bing searches.

READ MORE: 2 Adults, 3 Children Hospitalized With Carbon Monoxide Poisoning In Brooklyn

Authorities would be able to review the last three years of social media posts and a year of their search histories.

The measure appears to come in response to recent mass shootings whose suspects had posted threats or ranted about potential targets.

No vote is scheduled.

MORE NEWS: Civilian Complaint Review Board: Dozens Of NYPD Officers Should Be Disciplined For Misconduct During Black Lives Matter Protests Last Year

(© Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)