News for hackers. Stuff that matters.
Re:Hackerrank DMCA Notice by matheusmoreira on Tuesday November 16, 2021 @08:04AM (#29240035)
> Hackerrank also records videos and takes random screenshots of you when you are taking a tests.

Isn't hacker rank a website? How could it possibly do that?

Re:Hackerrank DMCA Notice by fragmede on Tuesday November 16, 2021 @08:09AM (#29240077)
The JavaScript function Media devices.getUserMedia() will do this, and also includes screen sharing possibilities. It will ask the user for permission first but in a test situation, there's high pressure to accept those permissions or fail the test.
Re:Hackerrank DMCA Notice by cesarb on Tuesday November 16, 2021 @09:13AM (#29240718)
What if you don't have a webcam? Most desktop computers don't come with a webcam. If you were warned in advance, you could buy or borrow one, but not if it came as a surprise.
Re:Hackerrank DMCA Notice by throwaway890112 on Tuesday November 16, 2021 @10:54AM (#29241957)
They don't allow you to take the test without the camera. I had to retake the test someother day for Amzn by borrowing laptop. If I remember right microphone should be turned on too.
Re:Hackerrank DMCA Notice by stonecharioteer on Tuesday November 16, 2021 @11:24AM (#29242380)
How about a physical webcam blocker so all you get is a black screen?
Re:Hackerrank DMCA Notice by matheusmoreira on Tuesday November 16, 2021 @08:13AM (#29240120)
I see. Okay. So we need to patch that funtion to make them think it's working. I wonder if there's an extension for that.
Re:Hackerrank DMCA Notice by mannykannot on Tuesday November 16, 2021 @08:31AM (#29240328)
Unless you could substitute a realistic facsimilie of yourself answering the question, you would probably simply be treated as if you had declined to take the test, or be suspected of attempting to cheat. No-one who uses Hackerrank is going to spend any time trying to figure out whether they should consider you as a viable candidate, they will just move on to the next.
Re:Hackerrank DMCA Notice by matheusmoreira on Tuesday November 16, 2021 @12:14PM (#29243209)
> Unless you could substitute a realistic facsimilie of yourself answering the question

Sounds great. Maybe some harmless pre-recorded loop. Whatever it takes to defeat their surveillance. Also I bet someday someone will come up with some AI thing to generate that video feed...

Re:Hackerrank DMCA Notice by Deukhoofd on Tuesday November 16, 2021 @08:16AM (#29240157)
Just set up a fake webcam
Re:Hackerrank DMCA Notice by matheusmoreira on Tuesday November 16, 2021 @08:19AM (#29240184)
Will that work with screen shots and screen sharing?
Re:Hackerrank DMCA Notice by emidln on Tuesday November 16, 2021 @10:39AM (#29241719)
They are giving you javascript which executes on your machine in a browser you control. You can override those APIs do do whatever you want. In my teens, this would probably have served up goatse. Now it's likely to get a picture of a stick figure labeled with my name. They might get upset about defeating the webcam. They probably won't hire you. Whether you can afford to stand up to surveillance as the norm depends on your personal views and financial situation.
Re:Hackerrank DMCA Notice by Deukhoofd on Tuesday November 16, 2021 @08:28AM (#29240288)
Should be similar, but you might need to set up some hacks to spoof the browser in thinking it's the screen.

https://testrtc.com/manipulating-getusermedia-available-devi...

Re:Hackerrank DMCA Notice by imajoredinecon on Tuesday November 16, 2021 @08:29AM (#29240304)
No, but other client-side measures could.
Re:Hackerrank DMCA Notice by kcarter80 on Tuesday November 16, 2021 @08:12AM (#29240110)
Such things have been possible via the web for about a decade.
Re:Hackerrank DMCA Notice by matheusmoreira on Tuesday November 16, 2021 @08:15AM (#29240147)
I know about camera access, there's a permission prompt for that. Didn't know about screen shots. That's honestly terrifying.
Re:Hackerrank DMCA Notice by 0xTJ on Tuesday November 16, 2021 @09:32AM (#29240936)
That functionality alone, I don't find terrifying. It's what allows web-based video-conferencing with screen sharing. However, I'd consider this an abuse of it, you should not be pressured into giving consent to do that as part of a job application.

The same goes with the terrible online testing platforms that have grown in use during COVID. They're terrible, ineffective, and an invasion in privacy.

Re:Hackerrank DMCA Notice by matheusmoreira on Tuesday November 16, 2021 @12:24PM (#29243376)
> However, I'd consider this an abuse of it, you should not be pressured into giving consent to do that as part of a job application.

Yes, I completely agree. I hate it when Javascript gains new features and capabilities. Everyone is so happy because they'll be able to create more cool stuff, nobody seems to consider how these capabilities will be abused.

Re:Hackerrank DMCA Notice by endless1234 on Tuesday November 16, 2021 @10:34AM (#29241654)
How is it terrifying? It's pretty nice to be able to share your screen in an online meeting. It has the same kind of permission prompt, of course.
Re:Hackerrank DMCA Notice by matheusmoreira on Tuesday November 16, 2021 @02:06PM (#29244975)
Because it will be abused. Just like video game anti-cheating software used to periodically take and exfiltrate screenshots without the user's knowledge. Reading the privacy policies of those things was terrifying.
Re:Hackerrank DMCA Notice by charcircuit on Tuesday November 16, 2021 @08:09AM (#29240083)
Websites can ask for permission to use your camera.
Re:Hackerrank DMCA Notice by matheusmoreira on Tuesday November 16, 2021 @08:10AM (#29240095)
I just deny it by default.
Re:Hackerrank DMCA Notice by kcarter80 on Tuesday November 16, 2021 @08:13AM (#29240127)
Many websites won't function until you approve, and why did you ask your original question if you understood the denial mechanic?
Re:Hackerrank DMCA Notice by matheusmoreira on Tuesday November 16, 2021 @08:17AM (#29240166)
> Many websites won't function until you approve

I suppose we need to find ways to feed them junk data.

> why did you ask your original question

It was the screen shot thing that surprised me. Had no idea that was possible.

Re:Hackerrank DMCA Notice by gsich on Tuesday November 16, 2021 @10:50AM (#29241886)
OBS has a feature for that.
Re:Hackerrank DMCA Notice by vultour on Tuesday November 16, 2021 @09:05AM (#29240636)
Because if a website asks me to use my webcam I assume it's going to use my webcam. Why is it surprising that it's recording video?
Re:Hackerrank DMCA Notice by matheusmoreira on Tuesday November 16, 2021 @12:45PM (#29243679)
It's fine if I actually want them to use the camera. In this case, they're using their leverage to force me to allow access to the camera in order to spy on me for the benefit of third parties.
Re:Hackerrank DMCA Notice by djbusby on Tuesday November 16, 2021 @08:13AM (#29240121)
GetUserMedia API in the browser