Better HN
topnewbestaskshowjobs
Log inSign up

voodooEntity

403 karma · joined Oct 7, 2019 (7y ago) · 168 submissions

Submissions

comment 11mo ago · link · parent

Funny idea, some days ago i was really annoyed again by the idea that these AI crawlers still ignore all code licenses and train their models against any github repo no matter what so i quickly hammerd down this

-> https://github.com/voodooEntity/ghost_trap

basically a github action that extends your README.md with a "polymorphic" prompt injection. I run some "llm"s against it and most cases they just produced garbage.

Thought about also creating a JS variant that you can add to your website that will (not visible for the user) also inject such prompt injections to stop web crwaling like you described

comment 11mo ago · link · parent

Makes sense basically creating an easy to point out pattern for static analysis to find everything security related.

As another response pointed out, its also possible that said secret data is still in the register, which no matter what we do to the curr value could exist.

Thanks for pointing it out!

comment 11mo ago · link · parent

Thanks, you brought up good points.

While in my case i had a program in which i created an instance of such a secret , "used it" and than scrambled the variable it never left so it worked.

Tho i didn't think of (2) which is especially problematic.

Prolly still would scramble on places its viable to implement, trying to reduce the surface even if i cannot fully remove it.

comment 11mo ago · link · parent

Thats even better than what i had in mind but agree also a good way to just scrumble stuff unusable ++

comment 11mo ago · link · parent

Yep thats what i had in mind

comment 11mo ago · link · parent

Ok, i kinda get the idea, and with some modification it might be quite handy - but i wonder why its deemed like an "unsolvable" issue right now.

It may sound naive, but packages which include data like said session related or any other that should not persist (until the next Global GC) - why don't you just scramble their value before ending your current action?

And dont get me wrong - yes that implies extra computation yada yada - but until a a solution is practical and builtin - i'd just recommend to scramble such variables with new data so no matter how long it will persist, a dump would just return your "random" scramble and nothing actually relevant.

67.

My take on AI and why TITANS is a leap forward(blog.laughingman.dev ↗)

3 points · by voodooEntity · 11mo ago · discuss

comment 11mo ago · link · parent

Well you (and ocrow ) kinda made me do it :D https://blog.laughingman.dev/article/My_take_on_AI_and_why_T...

comment 11mo ago · link · parent

Well you (and Barbing ) kinda made me do it :D https://blog.laughingman.dev/article/My_take_on_AI_and_why_T...

comment 11mo ago · link · parent

Since it runs locally on my machine not really much :) im working always on the same machine therefor i don't need any online hosting for my work notes.

comment 12mo ago · link · parent

This is, in a rather short period of time, the second time that an ovh scheduled database upgrade leaded to hanging instances, this time paired with the information that database backups are not reachable.

While the page claims that the incident is resolved, this is far from true and there are multiple users also experiencing still stuck/non accessible database instances.

Can maybe anyone else confirm they also experience this ?

72.

OVH Public Cloud Database Outage "resolved"(public-cloud.status-ovhcloud.com ↗)

1 points · by voodooEntity · 12mo ago · 1 comment

comment 12mo ago · link · parent

Cuz of exactly this reason i couldnt find any solution like that for me yet, so i started building my own one. I think the only way something like this is practical is in an on-premise scenario

comment 12mo ago · link · parent

Reading your comment made me think of an ad i saw several years ago.

It was an ad that started off like a typical quality coffee ad, nice pictures of beans, people harvesting, some roasting etc. But than it switched to the topic if making sure that "fair trade" was really applied - switching to IBM Blockchain and claiming that through the use of Blockchain there is safety that everything went fair trade.....

And i just thought.... sure... your blockchain approves that those workers harvesting got paid fair... or does it? All it actually does is proof that someone inserted the information that they got paid fair. If it really happend? Noone knows. Therefor Blockchain is a representation of what you feed into it nothing more and nothing less. At the moment it touches real life - as in the fair trade/payment for coffee bean harvesting - especially in countries where alot of payment is still for dayjob/cash - there's no way the Blockchain can assure that everything went the way it is stored as.

comment 12mo ago · link · parent

THanks for sharing this. Partly because i forgot about this great website :D also because i would never thought of giving this as an LLM task because its so simple that i prolly just had hacked it down myself :D

I recently experimented alot with agentic coding (mostly with gemini+ intellij plugin, copilot intellij plugin and intellij's own junie) and also condsidered to give it a try and feed images to the AI, but than all tasks i tried so far were pure backend-ish so it never came to the point.

Im really curious how especially junie will act and i will give it a try with the very same task you gave it. We gonne see how it ends :D

comment 12mo ago · link · parent

Thanks, and i gonne think about going for a writeup. As i mentioned in another comment, reading my previous comment back from yesterday i dont even know why i mentioned it - probably because i think so much about the topic but than i think "well your just a guy in a shed" type of thing and decide that prolly noone would care about what i would write. At all - if its just something i can look back onto im some years, prolly worth it.

comment 12mo ago · link · parent

Tbh, if i read back my comment from yesterday i don't even know exactly why i did mention that part. Sounds even to me like a "look at my blog" thingy which it definitely should not. Maybe some day ill give it a try and write something about my 'ideas' and drop it here. Tho not today (w0rk w0rk) ^

comment 12mo ago · link · parent

Well, prolly kinda true. Seems like should have started 10 years ago haha

comment 12mo ago · link · parent

When i first read the papers for titans for me it was a "this will be a big step forward".

While i have no "AI" title or work in the respective AI industry, ive spend many years thinking about AI concepts, even long before the whole NN/LLM hype started.

Maybe because of that i was always really annoyed that LLM are called AI because in my years of thinking about how an actual "human like" thinking AI might work, the things an LLM does was far below what my minimum definition was.

But when i stumbled accross the Titans paper, while it still is not an "AI" as i would call it, from my POV its a massive step towarsd the right direction.

Sometimes i consider to write all my ideas/thoughts about AI down in my blog, but than i think nobody would care anyway since im not a known figure shrug - so if not to say "look i wrote it years ago!" theres no actual point in doing so i guess.

However - im looking forward to see titans in action, and i guess it will impress us all.

comment 1y ago · link · parent

Well even tho i think at the end of your comment you went a bit out of the way, i get your point and i agree to a certain point.

You cannot reduce the risks to 0 - that's a matter of fact and i would never claim you could.

I tend to say its a question of cost/gain. If the cost the attacker has to pay (work/invest/...) is higher than the possible gain (data/funds/...) you are on a good track for your companies security.

Im btw not working for an ISP, rather something you would see as a smaller sized IT company. Therefor i also have certain points where i in theory could go alot harder on security, but i don't because its not feasible.

Another thing especially in that regard i find important is trying to educate your users, at least we work on that. We don't just enforce hard rules on them, but we also try to make sure they understand why we have these rules and mechanisms in place - not to annoy them but to protect them.

Finally, thats my favorite point of your article, "force users to use lots of passwords ".

Well our business has to undergo regular audits by partners which are lets say rather meticulous when it comes to the security of our systems. These enforce certain things on us we have to than enforce on our users even if we don't think its good.

So ye, now you can blame on me that i enforced something on our users, but keep in mind - it was also enforced on me - i even discussed certain things with these partners trying to explain to them why some measures sound cool on paper but in reality are just impractical - not that anyone would care. So we implement it.

Therefor the next time you argue that some security measure is just an CISO that doesn't really care about its users, maybe keep in mind that some things are forced upon us even tho we don't like and don't support them.

comment 1y ago · link · parent

Well i just listed the O.MG cable to show that there are alot of people not knowing that such things exist. My point is that of : people should be better informed about what vectors of attacks exist. So mentioning the cable (in relation to a coworker coming to my desk and asking about it) was just an example of how informed average Joe/Jane are and that i think this is the more important part - educate the public not just tell them not to worry.

comment 1y ago · link · parent

Well we are as sadly so often in the world of only "black and white" discussion without ignoring gray areas.

While i pointed out that i think that the claim of public qr codes are always safe and cannot pose any danger is wrong, i also didn't state you should wall yourself in and handle like everything is f0rk3d.

You, as with everything in life, should evaluate whats worth risks and what not. Scanning a QR code in a museum linking an audio track to describe the exhibt, scanning a qr code in a restaurant for a menu, scanning a qr code from a sticker on a traffic light.

These are 3 completly different scenarios that can be weighted different and therefor not be answered with a single "yep good/bad" for every situation. My initial point regarding the article was that i don't think stating scanning public placed qr codes is always safe. People should not just NEVER scan a public qr, but they should understand possible risks, they should learn how to evaluate which risks are worth taking, and also learn what thinks they should look for. My point is that of make the public more informed.

comment 1y ago · link · parent

First of all, the problem here is more a point of trust.

Ill try explain based on your example with "any link".

If you type amazon.com you trust that there will be amazon.com returned and not any maleware. On a QR code, the target url isn't as obvious so the user should be aware that a qr code, even if for example below it says "hackernews - the best news in the IT world" the qr code could still link to "https://news.xn--combinator-xwi.com" (edit : because ycombinator is a nice website it auto resolves the unicode char here : bad example tho but i dont have the time to recraft it and i guess you know unicode link/url tricks therefor i can just let it be the way i pasted it) did u spot the difference? Its not a regular "y" and just could get you on a fishing page. So ye even just know "urls" that you review on a qr code still can be dangerous if not typed by yourself. And than, for alot of users it prolly wouldn't event take that of a measure to trick them. Its not like the average Jane/John Doe does very good on url verification - else alot of scammers would go bancrupt.

Therefor i hope you understand you don't need a 0day. I also stated that in my answer but you seem to be so keen focusing on me listing some 0days (to disprove the initial article) that you kinda lost my point.

Also - sure everyone should keep his/her device updated - noone said anything else. Apart from that no i wouldn't recommend people to use whatsapp but that was't the point and im not actually sure why you mentioning it but here i said it : i wouldn't recommend it if that helps ¯\_(ツ)_/¯

Edit: not to forget - i for myself know that clicking on unknown links poses a certain risk and have several measures in place to reduce this risk.

comment 1y ago · link · parent

So, since this seems to be relevant im a CISO myself.

And i would definitely not agree with everything in this letter.

Personally, i think the worst part about it is handling a low probability as something that's not gonne happen. Thats, especially in IT-Sec, one of the worst practices.

To take on point as example - the "never scan public QR codes".

Apart from the fact that there have been enaugh exploits in the past (The USSD "Remote Wipe", iOS 11 Camera Notification Spoofing (iOS, 2018), ZBar Buffer Overflow (CVE-2023-40889), etc) even without an 0day exploit qr codes can pose a relevant risk.

As a simple example, not to long ago i was in a restaurant which only had their menu in form of a qr code to scan. Behind the QR code was the link to an PDF showing the menu. This PDF was hosted on a free to use webservice that allowed to upload files and get a QR code link to them. There was no account managed control about the pdf that they linked to, it could be replaced at any time opening a whole different world of possible exploitations via whatever file is being returned.

Sure you could argue "this is not a QR code vulnerability just bad practice by the restaurant owner" - but that's the point. For the user there is literally no difference if the QR code itself has a malicious payload or if the URL behind it has (etc etc).

While we in the tech world might understand the difference, for the John and Jane Doe this is the same thing. And for them its still a possible danger.

Apart from that, recently a coworker linked me a "hacker" video on youtube showing a guy in an interview talking about the O.MG cable. Sure, you might say this is also an absolutely non standard attack vector, yet it still exists. And people should be aware it does.

My point is - by telling people that all those attack vectors are basically "urban myths" you just desensitize the already not well enough informed public from the dangers the "digital" poses to them. And from my personal view, we should rather educate more than tell them "don't worry it will be fine".

comment 1y ago · link · parent

I was asking which information it shows not what output it uses to display that information....

comment 1y ago · link · parent

Same for me.

What info does it show more than a:

"netstat -tulpn"

Wrote myself a script years ago that basically loops netstat -tulpn watch like for the same purpose - just wondering if your tool shows me more than that.

comment 1y ago · link · parent

I really tried to get gemini to work properly in Agent mode. Tho it way to often wen't crazy, started rewriting files empty, commenting like "here you could implement the requested function" and many more stuff including running into permanent printing loops of stuff like "I've done that. What's next on the debugger? Okay, I've done that. What's next on the with? Okay, I've done that. What's next on the delete? Okay, I've done that. What's next on the in? Okay, I've done that. What's next on the instanceof? Okay, I've done that. What's next on the typeof? Okay, I've done that. What's next on the void? Okay, I've done that. What's next on the true? Okay, I've done that. What's next on the false? Okay, I've done that. What's next on the null? Okay, I've done that. What's next on the undefined? Okay, I've done that..." which went on for like 1hour (yes i waited to see how long it takes for them to cut it).

Its just really good yet.

I recently tried IntelliJs Junie and i have to say it works rather well.

I mean at the end of the day all of them need a human in the loop and the result is just as good as your prompt, tho with Junie i at least most of the time got something of a result, while with gemini 50% would have been a good rate.

Finally: Still dont see agentic coding for production stages - its just not there yet in terms of quality. For research and fun? Why not.

comment 1y ago · link · parent

Ye but there wont be, same as with "agi" and "ai" depends on whom you are asking *shrug

comment 1y ago · link · parent

So i just tried this on 2 repositories.

1. On (https://github.com/voodooEntity/gits) -> https://deepwiki.com/voodooEntity/gits

This is a longterm golang project i work on and it has a very very detailed documentation already.

While going through the AI docs of deepwiki, i could see how it profitted from my existing documentation, most stuff is just different words same content. What i liked about it was the visualisations (even if some of them are well "special") it shows some insides in workflows that i have in my mind but might give a benefit to others not beein the author

While trying out the search/chat i have to admit it gave better answers than i expected.

Due to having a very fond knowledge of how to do stuff efficiently with the lib, i tested the chat on telling me whats the most efficient way to achieve XYZ. While it listed me all possibilities (all of them correct) it also correctly pointed out whats the most "efficient" way.

Also i gave it some question that, i know from experience when others first tried the lib, could be confusing. But it was resolved correctly.

Allover a pleasant result

2. On (github.com/electronicarts/CnC_Renegade/) -> https://deepwiki.com/electronicarts/CnC_Renegade/

For those who dont know , CnC Renegade is a very old game (~2000) which was coded by the original Westwood. Its mainly in C++ (some c) and a through and through plain code. There is no real documentation in the repo other than some base info for dependencies etc.

First of all i saw that the resulting documentation well.... lacked documentation i guess? It just in multiple pages explaind whats in the main Readme (which is not really alot). So from the "docs generating" perspective, no gain here.

Than i tried to chat with it about it - and it seemed like it has a basic understanding of the code. For me its harder to validate the results (tbh i only read over the code once when it was released - curiosity) but it seemed like it was no total loss.

Conclusion: To me it seems like, to get a very good basic documentation out of it, it already must have a good basic documentation. Apart from the graphics it added, i didn't really see a gain compared to the already existing documentation.

Based on the chat results i'd say, those might be decent and helpfull if you dig into a new codebase especially a more complex one and you are searching for a specific thing in 1000s of loc in multiple files.

Would i use it in the future? Ill maybe try, but only the chat feature - for the generated docs as elaborated i don't see any use.

comment 1y ago · link · parent

While for certain historical scenarios interesting, for "real world" experience this to me seems like speedrunning "dystopy" - we already face young people getting more and more disconnected from reality (yeye im spending way to much time on my screen also :P) and i, at least around me, can see a clear trend from people making their own experience to people more and more shutting themself down from the "outside world" - just ingesting tons of "contents". The example video linked in another comment showing someone smell a flower, or a friendly overnighter - this should be things you really experience yourself not things you should watch secondhand. People should stop wondering why depression and loneliness are on the rise - Feels just like heading an absolutely bad way....
123456