Hacker Newsnew | past | comments | ask | show | jobs | submit | arboles's commentslogin

I recently realized something similar. I think that usb-proxy[1] could be used to force what looks like a mass storage device to stay a mass storage device, and likely could be built to be a sort of firewall. usb-proxy is a toy project showing that you can physically "MITM" USB with an RPi, but it could be a starting point.

[1] https://github.com/AristoChen/usb-proxy


HN's basic search using quotes can be way more useful than google to me


HN has a ridiculously good search in my opinion. It's also really fast.


That results update almost live as you type is impressive, but I also wouldn't mind if it was slow. I just need full-text search with quotes.


*Only works reliably in Germany


They literally cost 20 bucks on ebay if not less


> Enable custom AuditD rules to watch anything it touches outside of it's sandbox.

Is auditd capitalized like SunnyD for any particular reason?

But really, what should one of these auditd rules look like? I'm imagining something like below, where *lil-agent* is the user for our agent. This would create audit logs if the user messed with any paths outside its home.

  (auditctl) -F path=/ -F path!=/home/lil-agent -F uid=lil-agent
What can this rule tell me though? Since you advise running agents in an isolated machine, that ideally only has the user for the agent, the only paths the agent could mess with are system files if it had an exploit, but at that point it's game over. You'd have to hope it didn't tamper with the audit logs.


Is auditd capitalized like SunnyD for any particular reason?

Habbit. I changed it for you.

What can this rule tell me though?

The purpose of something like auditd is to capture evidence of actions to help paint a picture for investigators. By itself that may not be enough. That is why I suggest confining all the agent content into its own device and forcing all that traffic through a Squid SSL Bump MitM proxy and also logging DNS. Squid can log URL's, methods (GET|POST|PUT) etc... and permit/deny access to domains and URL's. That may also not be enough but it's more than what most people have today. If behavior starts to look suspicious then one can start doing deeper forensic capture of data using sysdig, OSSEC, eBPF, strace, perf and other tools. I should add a small blurb about using OSSEC so that people can configure diffs and alerts on important files that are not expected to change dynamically. OSSEC is a very big topic. OR one need not wait for suspicious behavior, just know that forensic security tools can use a great deal of resources. Some companies already do this but do not rely on them to be the watchdogs. It is very likely they are not permitted to disclose internal security incidents without going through a myriad of teams such as legal, PR, compliance, security and many other internal organizations. They will only be watching out for themselves.

- The most important take-away in my opinion is having an isolated node that only has the data the LLM is explicitly expected to access and nothing else. This can limit the blast radius or financial damage an LLM can do. It becomes much easier to answer questions like, "What data did this thing have access to?" That gets back to your auditd rule. If a file was read at a particular time and Squid logged that there was a POST of a particular size to a third party site that may provide enough correlation to dig deeper and try to reverse engineer the logic that led to the action.

If I start documenting how to use sysdig people will assume I am shilling or grifting a commercial product. I have been sticking with things anyone can research, install, tune and tweak to their needs.

In regards to log file tampering the risk can be reduced by sending logs real time to a remote syslog server that the LLM agent node does not have access to. Auditd rules can also be set immutable meaning a reboot is required to change them but use care with that option. I will let you research what that option is. If set on many nodes and if the rules become chatty that can become rather expensive if logs are going to Splunk.

There is a module [1] that can be enabled in auditd to send data to syslog. Rsyslog for example can do local spooling in the event the syslog server is not available and then send all the data to the remote syslog server(s) that the LLM agent node may not remotely log into. Rsyslog can be configured to filter out noisy events to avoid alert fatigue and minimize disk usage especially for expected repetitive events. There are also plugins that can be use to send auditd data in different formats to syslog or other end-points.

[1] - https://linux.die.net/man/8/audisp-remote


It does seem that the area burnt p/year by wildfires hasn't grown in the last 40 years in Europe, and even decreased slightly. This is somewhat odd to me. The evacuation and disruption of settlements seems to have increased in severity in the last few years, or at least the media gives that perception. If I'm looking at the wrong data and this could be misleading, then apologies.

The chart I'm looking at (1980-2020):

- https://www.eea.europa.eu/en/analysis/maps-and-charts/burnt-...

This one starts in the 00s but goes to 2024, and also shows a decrease:

- https://ourworldindata.org/grapher/annual-area-burnt-by-wild...

Do you have the data that goes as far back as 80 years ago though?


I'm going to sound like I live under a rock, but what is the true reason companies open-source genuinely good software?

Shouldn't Baidu (or Google) hoard it for themselves to extract the value in a way the competition isn't be able to imitate?


Some people working in big companies believe in the ideals of open source and convince their employers to allow open sourcing a project.

Employers get prestige (useful for the hiring funnel) and sometimes strategically disrupt competitors (e.g. Meta releasing Ollama)


Releasing open source models can drive revenue away from them US AI LABS. This can help china win by depriving those labs of revenue for further investment in winning the long term race.


Can you link to a genuine example?


Minimalist example: https://kona.github.io/

Extremely Minimalist example: https://k.nyc/


In the pages you linked there's not much writing to really get a taste (https://k.nyc responds with an unclosed <div> containing the letter k, come on), but I found some language examples in

* https://codeberg.org/growler/k/pulls/

* https://codeberg.org/growler/k/issues

User @growler writes in succinct sentences and uses only periods.

I'm having fun with the idea, in my head, that using array languages changes how you speak and write.

HN commenters have also pointed out the peculiar way ngn/k writes C:

https://news.ycombinator.com/item?id=31362512


I didn’t find the examples I was thinking of unfortunately.

But yeah it’s a very peculiar kind of Zen, all-encompassing.


Yeah, it used to function as proof-of-work but then the market was flooded with cheap printed circuits that trivialized the workload


Care to share what you are curious about?


Anonymized chest data, ideally loosely pooled by location. We want to see if patterns show up differently across different kinds of servers.

A heavy automation anarchy server is the perfect kind of messy data for this.


What kind of interesting patterns are you expecting? What is the hypothesis?


Different types of materials will have different first digit distributions in their per chest counts—for a given server type.


My friend is trying to gather and organize data related to this, and I just wanted to help them out.


I would bet training AI


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: