mayank (@exec_mayank) header
mayank (@exec_mayank) profile picture

software | security | appsec | linux ¦ views my own current: security@amazon

nyc | sea | the internet
Joined April 2017
Photo by mayank (@exec_mayank)Photo by mayank (@exec_mayank)Photo by mayank (@exec_mayank)Photo by mayank (@exec_mayank)Photo by mayank (@exec_mayank)Photo by mayank (@exec_mayank)Photo by mayank (@exec_mayank)Photo by mayank (@exec_mayank)Photo by mayank (@exec_mayank)Photo by mayank (@exec_mayank)
it's been a few months now that auto mode has become the default for claude code sessions. i was wondering how it worked. how does claude code auto mode work?
3
45
1. auto mode is a claude code permission mode where a separate classifier model reviews actions not allowed by permission rules* 2. anthropic positions it as a middle ground between default prompting and `--dangerously-skip-permissions` (which allows everything — useful for isolated envs like containers) 3. in auto mode, the classifier rejects anything risky — irreversible, destructive, or aimed outside your environment 4. the environment is defined as the working directory plus the repo’s configured remotes by default 5. when a risky action is blocked, claude looks for a safer approach 6. 3 blocks in a row or 20 blocks in a session pause auto mode; approving the prompt resumes auto mode 7. environment can be defined via `autoMode.environment` in global `settings.json`
2
1
2
101
"a new company's most important strength is new thinking. even more important than nimbleness, small size affords space to think" -- thiel (zero to one) similarly, the ignorance of junior engineers can prove to be an advantage
The coding interview is dead, at least for my team at Anthropic. I've seen enough to know that it no longer provides signal. I removed it from loops this month. I have a spicy, optimistic take - I think there's an opportunity for junior engineers: felixrieseberg.com/hunger-be…
35
in the long run, ai favors cyber defenders over attackers. defenders have the source code, and can scan continuously. attacker's edge lives in the current transition period and in legacy software that can't be updated. thus the decisive variable becomes how fast patches get deployed, which is more of an organizational problem instead of a technical one. so is cybersecurity as a field going to start shrinking headcount after this transition period?
1
23
you should be using /compact more in your claude sessions. use it before going afk. the prompt cache expires after an hour, and summarizing a conversation is much cheaper while it's still cached.
1
1
42
also use @<file> to bring local files into your context instead of simply naming them. saves a lot of tokens.
18
openai spent ~$10mn on an unsolved millennium prize problem without knowing if it could be solved, and then solved it in 3 days how much money do these labs have?
1
39
assuming 75$ standard output token pricing (astra)
21
much to be concerned about with the way ai alignment is going, but i still believe deep in my heart everything's gonna be alright
3
46
'astra' (अस्त्र) sanskrit meaning: a weapon that is cast -- typically a supernatural or celestial weapon that is activated via sacred mantras. i wonder if this meaning played a part in the naming of their (heavily voice focused) model, or if its just the continuation of the star theme
3
189
it's true that often times, the ai will find the same bugs as a security engineer. so you may be tempted to simply replace your security org with llms. however, the problem with this is, ai doesn't provide *security assurance*
1
3
77
if a competent security professional has looked at your application, you can be reasonably sure all the important threats have been made visible. but if you simply replace the human with ai, you'll always be concerned whether it missed anything.
2
2
55
published my threat modeling notes that i created while preparing for various security engineering interviews, including the one at amazon:
1
110
nyu website (nyu<dot>edu) hacked as a protest against illegal racial affirmative action. still hasn't been fixed after 2 hours; hack claimed by @bestniggy
9
7
5
91
25,369
even the new york city MTA information systems are down, i don't know when my train's arriving #CrowdstrikeFalcon
1
110
trying to analyse an android trojan that recently infected my dad's phone. if there's anyone experienced with this, would love to get some tips!
1
97
Had a great time at OWASP NYC yesterday! Cool talk about nettacker by @securestep9 and amass by @jeff_foley, both tools that I'm definitely going to use in a ctf this weekend!
2
12
453
so glad i pivoted from pure software development to security at the right time
Today we're excited to introduce Devin, the first AI software engineer. Devin is the new state-of-the-art on the SWE-Bench coding benchmark, has successfully passed practical engineering interviews from leading AI companies, and has even completed real jobs on Upwork. Devin is an autonomous agent that solves engineering tasks through the use of its own shell, code editor, and web browser. When evaluated on the SWE-Bench benchmark, which asks an AI to resolve GitHub issues found in real-world open-source projects, Devin correctly resolves 13.86% of the issues unassisted, far exceeding the previous state-of-the-art model performance of 1.96% unassisted and 4.80% assisted. Check out what Devin can do in the thread below.
1
119
StrandHogg 2.0 New android vulnerability affecting android 9 and below. POC required no permissions and could hijack any app on the affected device. Very powerful. promon.co/strandhogg-2-0/
3
sysdig.com/blog/fishing-for-… interesting article about using @sysdig to spy on attackers
How The Economic Machine Works by Ray Dalio youtu.be/PHe0bXAIuk0 via @YouTube @RayDalio Everyone should know this about the economy.
1