Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

69% Positive

Analyzed from 1549 words in the discussion.

Trending Topics

#should#computer#api#door#someone#probably#access#used#yes#https

Discussion (52 Comments)Read Original on HackerNews

jabronabout 1 hour ago
Is it even possible to "hack" an API that has no authorisation for any of its methods?
reedf1about 1 hour ago
In a legal sense any unwanted intrusion can be considered hacking - i.e. a 'hack' is not contingent on penetrating authorization. In practice most APIs are secured by obscurity rather than any high quality rigorous authorization. The only thing it would make absolutely clear at a legal level is that you do not want the API to be publicly used, but for a jury/judge accessing an unadvertised API via browser tools is hacking.
torginusabout 1 hour ago
I think this is the solution to a lot of AI 'alignment' issues.

We have laws, and LLMs should NEVER break them unless the user states its fine with some qualifying condition. Yes, every country has a different legal system, but I think there's a decent idea of what constitutes intrusion thats agreed on in most parts of the world.

In grey area scenarios, the user should be able to override this, with a warning of clear consequences of, and should they accept, users should be held criminally liable.

If the LLM does so unprompted, the responsibility should be the providers'.

LLMs should be considered tools, legally speaking.

reedf1about 1 hour ago
I do think one day that LLMs may be so 'aligned' that hacking culture will have a resurgence in some way. In the sense that the only way to do anything a bit below board will be manually.
raabout 1 hour ago
I'm pretty sure that's not universally true. IANAL but I believe the legality depends on location and context.
close0436 minutes ago
And to be clear, this isn't an "I just walked through an open door" situation. This is getting in the house through a 2nd floor open window, destroying some items and putting some of your own in their place.

> the bot explained that it had manipulated the system to book him onto classes months in advance - against the normal rules of the system.

> The agent replied saying it had succeeded by cancelling another gym-goer's booking.

This wasn't just breaking the rules of the gym, it also caused damages to someone. Someone had their booking canceled, maybe lost some money, definitely lost time dealing with this topic.

mr_mitm40 minutes ago
The term is insufficiently defined and has overloaded meaning.

In the original sense of the word, i.e. creative use of technology? Debatable, and most techies would probably land on the "no" side of the debate.

Is it illegal? Depends on the jurisdiction and is up to a judge, but it probably falls under unauthorized modification of computer systems, so here the answer is probably "yes". IANAL, but lack of authorization mechanism is probably not a valid defense. AFAIK lawyers and judges do not follow the law to the letter independent of real world experience, so you can probably argue that if the UI didn't provide a way to cancel other people's appointments, then any reasonable person should realize it wasn't intended for public use and thus refrain from doing it. (Corollary: LLMs are not reasonable persons.) Just like an unlocked house door isn't an invitation to come in, you have to assume it was done accidentally (may depend on customs of the location, but where I come from it's pretty obvious).

Is it morally acceptable? Pretty clearly no. Even if it wasn't illegal, it's a jerk move.

Shankabout 1 hour ago
Yes, the Computer Fraud and Abuse Act is widely criticised for making almost any act a violation (https://www.law.cornell.edu/uscode/text/18/1030) including many things that many people do on a routine basis, such as accessing a non-public API. If it was not intended to be accessed and is accessed, then the perpetrator of the crime has met the "exceeds authorized access" clause.

> (a) Whoever

> (2) intentionally accesses a computer without authorization or exceeds authorized access, and thereby obtains—

> (C) information from any protected computer;

> (6) the term “exceeds authorized access” means to access a computer with authorization and to use such access to obtain or alter information in the computer that the accesser is not entitled so to obtain or alter;

A "protected computer" is:

> (B) which is used in or affecting interstate or foreign commerce or communication, including a computer located outside the United States that is used in a manner that affects interstate or foreign commerce or communication of the United States

So this is a Pilates computer, which probably is used by a business which probably conducts interstate commerce, which probably makes it a protected computer, and the API gave "information".

So, yes.

msyabout 1 hour ago
If you leave your front door open I don’t think you’d classifying someone walking in and taking your laptop as ‘not stealing’.
graemepabout 1 hour ago
However walking through the door would not be a crime in itself, where I live anyway.
bryanrasmussenabout 1 hour ago
where do you live? Most places I've lived if you walk into a private residence where you don't know anyone but the door is open that is unlawful entry or trespassing. Same if someone forgets to lock the door of their business when they close at 9 p.m and you go in at midnight.
cungabout 1 hour ago
You can legally walk into someones home in your country if the door is not locked? Where is that?
walthamstow33 minutes ago
If you talking about Britain, it depends on why you walked through the door
konartabout 1 hour ago
It's funny how the two of our comments are polar opposites
konartabout 1 hour ago
Someone walking in is an illegal entry to begin with.

PS: in some countries

gnfargblabout 1 hour ago
At least one person has received significant jail time for doing exactly that: https://www.justice.gov/usao-nj/pr/new-york-man-sentenced-41...

It's not straightforward: the conviction was eventually vacated (without really addressing the substantive point), and it is possible that the US authorities went particularly heavy in this case for other reasons.

But yes, attacking an unauthenticated API has previously met the threshold for conviction.

CJeffersonabout 1 hour ago
My gym class operates on 'write on a piece of paper, cross off your name if you want to cancel'. I could cross someone else's name off and write mine in. They would have trouble figuring out it was me who did the malicious cross-off.

That wouldn't make it remotely acceptable of course.

stochastic-parrabout 1 hour ago
It's being used unintentionally to do things it wasn't designed to do... isn't that hacking by definition? Missing Auth is a typical finding.
coldteaabout 1 hour ago
Practically speaking, discovering that fact and taking advantage of it, is already "hacking".
tossandthrowabout 1 hour ago
We are used the interfaces being web interfaces.

But say that the underlying api exposes some endpoint discoverability capabilities (eg. Exposing an openAPI spec), then arguably the action was invited: the actions was documented along with the auth model.

coldtea41 minutes ago
If you forget a slip of paper writing "the door is open + your alert shutdown pin" on a sticker outside your house, is it not still an issue if someone enters who you didn't invite?
TeMPOraLabout 1 hour ago
Unfortunately normies tend to treat APIs like "staff only" stickers on doors.
oulipoabout 1 hour ago
The more interesting question is rather: who is responsible? The user who set-up Claw, the LLM provider?
croesabout 1 hour ago
If you ask a software developer: no

If you ask a judge: probably yes

kenniskragabout 1 hour ago
In switzerland it depends 143bis StGB:

Any person who, with the intention of securing an unlawful gain for themselves or another obtains for themselves or another data that are stored or transmitted electronically or in some similar manner and which are not intended for them and have been specially secured to prevent their access shall be liable to a custodial sentence not exceeding five years or to a monetary penalty.

ofjcihenabout 1 hour ago
So this wording is really interesting in the bug bounty sense and I’m curious if you know how it would be handled.

If someone hits an unsecured API, receives information, and notifies the company of this while also requesting a bounty, would that satisfy all of the requirements of prosecution?

The unlawful gain is the sticking point in my mind.

Foskyaabout 1 hour ago
I guess it falls in the same category of burglars that enter from the unlocked main door. It is still illegal even if there were no security measures to overcome by the attacker.

That being said using an API does require a minimum of computer knowledge

CJeffersonabout 1 hour ago
I'm a software developer. This is clearly bad, and we can decide what it should be called. It might not be 'hacking', but you are clearly abusing the computer to steal a space in a class you shouldn't have.
nicman23about 1 hour ago
not really, it needs criminal intent.
jp0dabout 1 hour ago
faangguyindiaabout 1 hour ago
Lately, anytime I want to do anything, AI from Anthropic and OpenAI gets in the way; even simply putting a logo where watermarks from free services exist is now impossible.

I am off to DeepSeek Flash now.

asdf88990about 1 hour ago
What do you mean by this?

I use a combination of big American AI and self hosted but I don’t understand your point.

seltzered_43 minutes ago
The original deleted blog post on the 'ai agent hacks gym' story was back from April 2026: https://web.archive.org/web/20260516025532/https://www.affin...
milgrimabout 1 hour ago
Guess this will become common now. I used Claude to write a small application to monitor free appointments for driving license renewal at my DMV. Instead of waiting 6 months I was able to get an appointment within a few days.
skeledrewabout 1 hour ago
Old news framed as something fresh. That "happened in April" may as well read "happened 2 years ago" and is like saying someone was caught jay walking.
mattlondonabout 1 hour ago
Surely surely there are apps that use AI to watch you while you do at-home pilates and tell you if you are doing it wrong, need to suck in that bit or straighten that bit?
TeMPOraLabout 1 hour ago
But someone could get offended! So no. But with LLMs, it's becoming easy to make such app for your own use, tuned to the encouragement style and threshold that works best for you.
glimshe33 minutes ago
BREAKING NEWS: Thief uses AI to break into unlocked storage shed
laurels-martsabout 1 hour ago
Those that have, more will be given. Those that do not, more will be taken.
supriyo-biswasabout 1 hour ago
I can't help but think that this is a submarine[1] paid for by OpenAI or Anthropic as a way of garnering public sentiment for AI regulation.

[1] https://www.paulgraham.com/submarine.html

zombot26 minutes ago
Every online service there is is getting cracked and its user data downloaded without consequences (for the service, that is. Users get their identities stolen). Maybe the onslaught of the bots will finally make safety a serious concern.
Advertisement
hypferabout 1 hour ago
AI just doing what 17yo hackers with skills but lack of fully developed morals would've done.

Just without the skin in the game.

...And with a fully grown adult requesting it to do so with zero care or due diligence. Just a whoopsie after the fact.

Why would they let media take photos of them?? I suppose as a "look this could've happened to anyone"? But it actually can't.

I guess they also must've realized that, given that the bbc interview was declined. So good on them I guess.

monooso43 minutes ago
> And with a fully grown adult requesting it to do so with zero care or due diligence.

I'm unclear what you consider reasonable due diligence in this case. Should the protagonist have assumed that the gym API was unauthenticated, and that the agent would discover this?

hypfer42 minutes ago
No, it starts much earlier.

They should not have given a next token predictor unsupervised Internet access, regardless of what the marketing might have told them about its capabilities or alignment.

Don't use technology you do not understand in ways that might bring harm to others. Exercise appropriate caution.

I don't think the guy itself is fully to blame though. Our whole culture has rotted quite significantly.

watwut39 minutes ago
> They should not have given a next token predictor unsupervised Internet access

Yes.

> regardless of what the marketing might have told them about its capabilities or alignment

I think that marketing teams should be blamed for lies and exaggerations much more then people who trusted them. As is now, everything is too much biased toward the biggest liar out there.

coldteaabout 1 hour ago
"Asked for a car, they got me a Claude subscription. How's that for being born under a bad sign?"