[–] 5 points 1 day ago (3 children)

Or... honestly, just pay $40 for basically unlimited usage for a year from an API, then roll your own frontend.

Can you clarify, what you mean by this? Rent a VPS? Or is there a legitimately good place that'll offer "unlimited" llm api access for $40 / year (and would you have any sort of privacy with this)?

  • source
  • parent
  • context
  • [–] 2 points 2 days ago

    Hey, I'm glad you found the information helpful.

    If you decide to use your own avb custom keys (meaning that you are the only person who can install cfw - this means that google, graphene, etc would fail to install as they aren't signed with your keys).

    You can then use tools like Custota to allow you to have/distribute your OTA (over-the-air) cfw updates.

    Why would you want to do this?

    Well, for sometime I was running a rooted version of graphene w/ magisk (as I wanted "real" offline backups). This means that I needed to "sign" each release and the official graphene updates. The process was a bit tedious, but well documented.

    The upshot of custota being installed on my device, was that I got a notification when I had a new self-signed update available... and the release/install process was entirely under my control. ...and if something borked, I could "rollback" to the previous version (tbh, nothing did bork, so I didn't actually need to try this).

  • source
  • parent
  • context
  • [–] 7 points 1 week ago (4 children)

    AFAIK, the only way you can reliably lock your bootloader with a custom firmware, is if the device allows you to upload new avb_custom_keys. This basically allows you change your locked bootloader to allow custom firmware from a single (signed) source (ie graphene, google, your own).

    I can't say for certain, but many non-pixel phones do not support this.

    So, if you were to lock your bootloader, the loader would notice that you have an "unauthorized" firmware installed and would not run it. You'd basically need to unlock the bootloader again, but I think Motorola has made this process more complicated. Meaning you might need a bootable device to do it.

    As far as security: Unlocked phones are less secure. All android devices are encrypted, using a hardware key plus your pin number. When a device is locked, a "secure key" is used as the hardware key. When a device is unlocked "another key" is used. If an attacker gets a hold of your unlocked encrypted phone, they can easily get this "other hardware key" which means they already have 1/2 of the information needed to decrypt your phone.

    Afterwards, the only thing protecting your unlock phone is the strength of your pin (which is trivial to brute force). On locked bootloaders, it's much more difficult, as they'd need to figure out the "secure key", in addition to your pin.

  • source
  • [–] 8 points 2 weeks ago (1 child)

    I was kinda disappointed that the article didn't offer any suggestions for how to "push back" on attestation being shoved down our throats.

    ...it seems governments and companies are doubling down on attestation, in the form of mandatory age verification.

  • source
  • [–] 12 points 4 weeks ago

    I had a torx handle with a single screw driver bit attached, left over in my backpack. (So basically just a screwdriver)

    Combined, it barely exceeded the maximum safety length. If I'd stored it separated, it would have been fine.

    I offered to separate it, that wasn't going to work. I needed to leave one of them behind. ...as the rest of the socket set (at home) needed the torx handle, I left them with the screw driver bit.

  • source
  •  

    Anthropic, the flagship AI company, has inadvertently exposed the source code for its major CLI tool Claude Code. It has already been extracted with mirrors published on GitHub.

    Chaofan Shou announced the discovery on X.

    “Claude Code source code has been leaked via a map file in their npm registry!” the user posted.

    The post immediately stirred the AI community, attracting nearly 10 million views and 1.5 thousand comments.

    Claude Code is a massively popular agentic AI coding assistant that runs in terminal. It can edit files and manage entire projects locally. Anthropic’s tool is closed-sourced and distributed as an obfuscated npm package.

    However, Anthropic's published npm package containing Claude Code v2.1.88 allegedly exposed the source map file cli.js.map, which contained the full and unobfuscated TypeScript source code.

    It appears that Anthropic scrambled to remove the npm package. However, it was too late. Multiple GitHub users already exposed copies of the project.

    One of the GitHub repositories has already amassed nearly 30,000 stars and 40,200 forks.

    Another one has 425 stars and 520 forks, with many developers dissecting the inner workings of the tool.

    The author claims that the leaked Anthropic’s .map file’s size was 57MB, mapping 1,900 files and 512,000 lines of code.

    The leaked code includes the core engine for LLM API calls, handling streaming responses, tool-call loops, thinking mode, retry logic, token counting, permission models, tools, etc. Some Hacker News users noted the extensive regex filter containing many swear words for detecting negative sentiment in users' prompts. This leak doesn’t expose the AI models themselves or user data.

    Exposed internal logic makes it very easy to reverse-engineer the tool, identify security risks, or steal intellectual property. Users already noted that Claude Code is using axios as its dependency, a tool that was just hacked.

    Many GitHub users now advertise their own build of Claude Code. However, they’re risking legal action.

    “Just because the source is now 'available' *DOES NOT MEAN IT IS OPEN SOURCE*. You are violating a license if you copy or redistribute the source code, or use their prompts in your next project! Don’t do that,” posted full-stack developer Justin Schroeder on X.

    The .map files are typically used by developers fixing programs in software. These plain text files act like a mini map of the original code, helping developers trace where the errors or problems occur. However, .map files usually don’t include the full source code.

    Anthropic hasn’t yet released an official statement. Cybernews reached out to the company and will include its response.

    view more: next ›