Better HN
topnewbestaskshowjobs
Log inSign up

nickpsecurity

14,397 karma · joined May 17, 2015 (11y ago) · 11,017 submissions

Independent researcher focused on public-benefit technologies. Mostly researched high-assurance, systems and security engineering. My friends' and I's designs survived most attacks in the Snowden leaks. Other work includes high-productivity software, making A.I. models that are legal (no copyright lawsuits), and some web programming.

After highly-improbable events, and seeing an actual miracle, I put my faith in Jesus Christ who died for our sins and was raised again on the third day. He cured my PTSD. The Spirit of God also transforms us from the inside out. While I'm a work in progress, He's done enough in my life that I can say there's nobody better to know. He also helps us lift others out of sin and pain which is awesome to see.

GetHisWord.com

Email: digitalkevlar@gmail.com

My comments here are licensed CC-0 (public domain). I hope they help you.

Submissions

comment 1w ago · link · parent

If it runs fast and low resource, it could be a nice testbed for agent architectures. I'm thinking old-school planners, genetic programming, ML techniques, etc.

Especially integrating planners or logic-based approaches with ML models. The old architectures for StarCraft were great at building and micro-managing units but terrible at assessing or adapting to enemy strategy. Hybrid architectures can address that.

Games like yours, esp different styles or requirements, can be used to prove how well the techniques generalize.

comment 3w ago · link · parent

Math is a social process that involves mental concepts, symbols for them, and discussion about them. It also needs peer review. If you see math in a paper, that's only one part of the process.

Further, in machine learning, we see lots of papers with math that doesn't lead to anything useful. Most papers claiming advances over prior architectures don't pan out in later testing. So, there will be skepticism when people make performance claims like the authors'. The best response is just independent testing.

comment 3w ago · link · parent

The math can be misinterpreted, misapplied, or not fit reality. That's why high-assurance security mandated a combination of things:

1. English specification of the system and its goals

2. Formal, mathematical specification of the system and its goals

3. Mathematical proof the system met its goals

4. Code implementing that system with a proof, often informal, that the code embodied the informal and formal design.

5. Tests of all functionality to prove the design and code worked.

6. Independent analysis of the above to find flaws in them.

7. If the implementation has concurrency or parallelism, more errors can occur due to that. There were techniques to mitigate it.

Each step found problems in systems made by professionals. Mathematical work and coding both have a long history of errors in their on fields. Combining them increases the likelihood of error.

comment 3w ago · link · parent

Author thought nobody was playing chess with a beach-side view?

But God gave us beautiful oceans and intellectually-stimulating games. I'm sure some chess players aren't wasting the opportunity to enjoy both. Now, they're at risk of being taken out!

comment 1mo ago · link · parent

You raise fair concerns. So, we need to get data to systems they're reading from. But, they can't connect back over those lines.

The safest way to do that is a high-assurance, data diode (one-way link). One builds hardware that, physically and by software, only allows information to flow one day. Many are available commercially.

Sometimes you need proof of acknowledgement of each packet but nothing else. Naval Research Laboratory had The [Network] Pump that allowed only Ack's back and with algorithm to throw off covert, timing channels.

Next, one might want to let people send them requests over an API which they can respond to in limited ways. One can use a high-assurance guard with secure, hardware/software architecture. It uses simplified I/O with a message format that's easy to parse securely.

At this point, I'm also thinking it might be better to use the closed-source, proprietary solutions. The AI's are rapidly scanning the open-source code for vulnerabilities which I'm sure they're not always sharing. They'd be more likely to have attacks on it.

So, don't tell the untrusted model how the guard works, use private models + traditional verification to secure its code, and include both HIDS and NIDS monitoring. Also, make the systems as predictable and boring as possible to make anomalies easier to spot.

comment 1mo ago · link · parent

Even if it was, covert, channel analysis from the 1980's and 1990's would've taught it to do or prevent that. It was required in all TCSEC-certified systems high, security classes. Many papers were published describing those analyses, including cache channel, which are in their pretraining data.

Most of IT security ignored that work and never used the methods. That's why their syatems can't defend against them. There are hardware and software groups that built countermeasures. They're not mainstream. I don't know if the hardware needed is even commercially available (eg partitioning caches, async & randomized CPU's).

comment 1mo ago · link · parent

My idea was taking 20+ year old designs that are patent-free, implementing them on any modern nodes that work (esp MOSIS-supported), their performance per watt will probably be better, and just use those. Some of the old designs, like NonStop architecture or MPP clusters, still have amazing benefits.

comment 1mo ago · link · parent

The two choices offered are a false delimma. The MILS kernels that came before seL4, like INTEGRITY RTOS and LynxSecure, had middleware to make deplpyments easier. The open-source solutions mixed standalone apps with user-mode VM's for Linux compatibility. OKL4 let one use drivers across them.

Looking at what's out there, I think GenodeOS should be mentioned for application-specific systems. They can even build some of their stuff on seL4 if you want.

https://genode.org/

I'll also add there's been unikernel projects that aren't in exotic languages. Even C++ (IncludeOS?). There's probably one in Rust by now. If not, it could probably build on Redox's components.

comment 1mo ago · link · parent

I actually considered doing that with my droplet. Do you just use a web browser on your phone or specific apps?

comment 1mo ago · link · parent

Mine are on DigitalOcean. Someone else said VPSDime.com.

comment 1mo ago · link · parent

All my domains run on different, $5 droplets. Even if money is tight, I keep two up that lead to saved souls and transformed lives:

https://www.gethisword.com

https://www.givethemlife.com

I'm also using BunnyCDN right now.

comment 1mo ago · link · parent

They were also often doing basic stuff, like database programming. Even in AI, most of what they produce didn't have marketable value. So, I don't buy that they couldn't find or train anyone here to do the job.

comment 1mo ago · link · parent

I made a utility, only partly done, to convert Avalonia files to HTML. It was intended to make cross-platform, Python/Tkinkter GUI's with HTML/Flask being a pit stop. Also, run them on QPython on Android. I got too busy to improve it past a few, form controls.

So, I think there's still potential to throw together an interface even if it can't do all of it. We do need a placeholder box that can be labeled for the controls we add manually but use its sizing info. Also, a converter that autoscales them in HTML or Qt to maintain the ratios that were in the VB6 app. For the placeholder, I was temporarily using that one control that's like a giant frame or box meant to contain others.

One reason I abandoned the idea is the AI's are so good now that we can probably just generate better GUI's from scratch or a basic, VB6 sketch. I couldn't justify the work until I try an AI with such projects. To avoid hallucinations or garbagr designs, might make sense to do the original program but AI-generate the transpiler.

comment 1mo ago · link · parent

Sometimes we just enjiy having a conversation with people. It's how we got many answers before Google exists. I believe such choices have many, positive effects on people that society is losing.

comment 1mo ago · link · parent

That's cheap, too. Which hosting service are you using?

comment 1mo ago · link · parent

I seriously thought that's what they were going to say. It seemed like it was setting up the reader to think the agent was about to use the exploit to escape the sandbox. Then, it was contained by Anthropic's security practices. But, if random people run things things, they couldn't be contained! They'll be a hoard of agents attacking the whole Internet!

Then, it was just that it made an exploit, and works really well, and people might use it instead of their products. Tragic for their investors I guess...

comment 2mo ago · link · parent

It's very exciting to see the work on combining AI models with static analysis, test generation, formal proof, and refactoring. All of these suggests we might see high assurance (EAL6+) developed rapidly in the future. At least for combinations of well-understood concepts.

comment 2mo ago · link · parent

It goes back to Paul Karger's MULTICS Security Evaluation where he invented and described the attack. Thompson learned it from him. Karger invented a lot of attacks and security techniques a decade or more ahead of the hacking community.

https://gwern.net/doc/cs/security/2002-karger.pdf

comment 2mo ago · link · parent

The solution to this in the Orange Book (TCSEC) days in the 1980's-1990's was a system fully traceable from requirements to code, proven to embed a security policy, and analyzable and buildable from source locally by the customer using existing, trusted tools. Eventually, people added hashes for the code and data.

So, your program that combines source files or checks dependencies would be fully specified in its success and failure states. Only combinations of functions leading to a provably-secure state are even allowed. If you can't do that, the feature is too complex to allow. Human pentesters review it from design to algorithms to building it to spot ways attacks might happen.

That's what it takes to build software that usually resists subversion. Most software isn't built that way. It can't be because the priorities of developers and customers work against it. So, we'll continue to see clever attacks that exploit systems not designed to high security standards.

For this topic, I recommend David A. Wheeler's page on Software, Configuration Management Security because it covers many issues with it in mostly-centralized systems.

comment 2mo ago · link · parent

Yeah, GPT4 was one-shotting utilities that GPT3 Davinci couldn't. So, I'd have my limited tokens on GPT4 crank out the initial program before iterating with my abundant, GPT3 tokens.

comment 3mo ago · link · parent

Just rewrite the engines in Rust and SPARK Ada running on seL4.

comment 3mo ago · link · parent

While I'm not a lawyer, the legal advice I've received on various topics include:

1. Most laws are made about humans. If it's AI, it's often treated like a tool the human is using. So, change "I did this with AI" to "I did this with (other tool here)." The case law on those situations might give hints to what will happen.

2. Intent matters. Did you intend to do damage?

3. If a tool might cause damage, but you didn't prevent that, then someone might claim negligence. There's a lot of legal articles about torts for damages due to negligence. I personally believe a lot of agent use should be considered negligent. By default, I don't connect them to the Internet or my whole filesystem because I know they might do unforeseen damage.

Those are the three that come to mind most in such cases. You'd have to ask a lawyer. There's another risk of even using a lawyer, though.

For using AI agents, you must consider civil and criminal law because its problems are spread across them. Most lawyers in my area do one or the other. You might have to pay two retainers at $5,000-$8000 each or one, expensive firm with combined expertise. Just knowing your legal risk with agents might cost more than they'd make or save you vs just using human-driven AI's.

comment 3mo ago · link · parent

I enjoyed the article. He has good points. I'll emphasize one and add a other.

1. CPU/memory performance on cheap or throwaway systems has a niche benefit. Mostly poor people. I'm still usually on an ancient Thinkpad with a 2nd gen i7. It runs native apps really fast to this day. Almost all GUI cuz I agree with the OP but my apps are TUI by default to keep them lean and fast.

2. Security. While I don't aim for it these days, it was much easier to make textual apps securely than GUI apps. Secure OS's from the 90's already secured console apps. TX, Nitpicker, and EROS made progress on GUI's but there's high complexity still. I'll note the OP's idea of GUI front ends is basically what we did to isolate the GUI part in a dedicated partition with messages it sends checked by the secure component.

Other than those observations, I'm with OP where I'm tired of TUI's if GUI's are that easy now. I considered trying it with some lightweight, cross-platform frameworks. Anybody tried some with cheap AI's?

comment 3mo ago · link · parent

My proposal was using actual curriculums to ensure that's all that's in there. Also, there could be a peformance boost if doing that first. We'd need funding to license or buy them.

Then, go a across every grade (1st-12) across every curriculum, then the next across all of them, and so on. Checkpoint it at each grade level. Also, see how many epochs we need per grade to soak up the material. Dedicated fine-tuning for each grade matched to its capabilities. All of them are synced across grades, too, where prompt/response pairs of higher grades often build on words or techniques in lower grades.

Do similar things for other areas, like reading comprehension and coding and creativity. Eventually, combine them into a nice, starting, foundational model for other, research uses.

comment 3mo ago · link · parent

Is Wolframe open-sourced and with open patents?

Beware of copyright issues for API's and patent issues about reimplementations. Wolfram seems serious about his I.P.. After the Oracle case, I'm not reimplementing any language unless it's open with no patent trolling possible.

comment 3mo ago · link · parent

AllenAI shares their data set, training pipeline, and model weights.

https://allenai.org/blog/olmo3

That 7B model also worked well in my experiments on a laptop.

comment 3mo ago · link · parent

There was also CodeT5 which I thought could inspire some source-to-source transpiling or other tricks.

comment 3mo ago · link · parent

That's way slower than I thought it would be. I struggle to imagine a use case.

If you had a deadly condition, and no diagnosis worked, and a specific model had the answer... past that I wouldn't use it.

comment 3mo ago · link · parent

If I could justify wear and tear and electricity, I was willing to do something like this for batch processing. The batches would be a bunch of prompts whose outputs I'd look at the next day. Maybe common operations, like QA or refactoring, on whatever software I wrote.

If so, I could use a larger model than I have real-time hardware for. The largest, well-trained models can often get the output mostly right in one try. I also would be using AI's as a supplement to, not replacement for, my own brain. So, issues with the outputs wouldn't be a problem because I'm just keeping what's helpful.

If I still need to re-generate it all, it might still save money over time by avoiding cloud costs. Also, hardware that's already paid for is a sunk cost that doesn't inflate over time. Glitches in loading or destroying VM's might blow up into a big bill.

comment 3mo ago · link · parent

They started out that way. Keeping consistency between the formal specification and the code was always difficult. The further apart they are in distance or notation, the more difficult it is. So, the field experimented with verificatiom-oriented languages to localize changes.
12345
368