r/devsecops

We, as a field, are gaslighting ourselves. And I can prove it.

I will get downvoted for this... but please please hear me out.

First and foremost. Do ANY of these scenarios sound familiar in any shape or form?

1. You or someone you know is developing an app. The developer cares A LOT about security. They run code checks on their repo. Maybe even get someone to audit it. They ask their AI to check for security gaps. Any security issues found are fixed right away and they pat themselves on the back for a job well done.

Now, as they develop, they (or their AI) pulls in some dependencies. Reinventing the wheel is pointless after all, right? Gotta use those dependencies. To make sure they are not vulnerable they check them with dependabot. No CVEs. All is good (...or is it?).

2. You're doing bug bounties and are reporting vulns to a repo owner. Their security policy EXPLICITLY says: "If a vuln is in one of our dependencies, do not bother us with it. It's not our problem. Take it up to the dependency owner. We keep dependencies up to date so their fix will be pulled in".

3. A well meaning developer asks about the best practice for keeping dependencies secure. You (or someone else) say(s): Keep components up to date. Check to make sure they do not have any known CVEs. If being thorough you add: check to make sure the components are being actively supported.

Auditing the actual dependency code for vulns? that is rare. Never regularly done for all dependency updates like in a proper ci/cd flow. And forget about the dependencies pulled in by those dependencies. (see where I am going with this yet?).

4. A news of a breach is posted. PII compromised. Why? dependency vuln. Or in some rarer cases (not calling names here) - the dependency had actual malware in it.

Where am I going with all this?

As an industry we under audit dependencies. Sure, we check for CVEs. What about all the vulns no one bothered to report of get a CVE filing for? that is a big process. We're all busy. The code and apps we're auditing are so full of vulns we may not even get to the dependencies.

Anyhow. I wanted to know just how bad the situation was. so I scanned a few popular opensource libraries. Every single one had vulns. Not calling names here. Then I did a scan against a small repo. No known CVEs. The scan checked the code of the dependencies and all the child dependencies. (not cves). And here are the lovely results (I am not disclosing which one it was):

Findings Summary

Total Findings

2027

Critical 81

High 736

Medium 671

Low 24

Info 515

... as I was writing this up I realized I could not attach screenshots. I only wish I could attach screenshots here because the dependency tree the scanner built was jaw dropping. Again, this was NOT a big repo.
...

And my point in all this? I want to talk about how supply chain security could be better.

reddit.com
u/Ok_Matter9038 — 1 day ago

Moving Helm values.yaml into Git — is git-crypt a good way to handle secrets?

Hey all, looking for a sanity check on our approach.

Stack: AWS + Kubernetes. We deploy with plain helm install (no GitOps tool like Argo/Flux).

Current setup: Our Helm values.yaml has hardcoded secrets (env vars) in it. Right now this file lives on our Jenkins server, not in any repo.

The plan: We want to move values.yaml into our Git repo so we can version it properly. The obvious problem — we can't commit hardcoded secrets in plain text.

Our idea: Use git-crypt to encrypt the file at rest in the repo, so secrets are scrambled on the remote and only unlock for people with the key.

Questions:

  • Any real-world gotchas we should know before committing to it?
  • Since we're already on AWS, would you skip file encryption entirely and go with something like External Secrets Operator + AWS Secrets Manager? Or is that overkill for a small team? Also curious where SOPS (with AWS KMS) or Sealed Secrets fit in.

For context: we're a small-ish team and just want a clean, low-friction way to keep secrets versioned without leaking them.

Appreciate any input 🙏

reddit.com
u/ankitjindal9404 — 1 day ago
▲ 17 r/devsecops+4 crossposts

GitHub - Strategic-Automation/violin: Violin — a supervised, agentic Hermes Agent pentest profile (31 playbooks, 10 references, guard plugin) for authorised recon, exploit validation, and reporting. Hermes-native, no extra keys.

Violin is now at v3.0.1 on master.

It is a Hermes-native profile for supervised, authorised penetration testing, with:

• 31 methodology and vulnerability playbooks

• An execution guard at the target boundary

• Evidence-backed findings and reporting

• Structured scoping and approval gates

• No additional credential broker or provider lock-in

Install:

"hermes profile install https://github.com/Strategic-Automation/violin"

I’m looking for Hermes users and penetration testers to test the installation and engagement workflow and report where the guard, evidence capture, or reporting process creates friction.

github.com
u/WarmAd6505 — 2 days ago

Which software supply chain security tools are actually worth looking at in 2026?

We're looking at software supply chain security tools for 2026 and there are honestly a lot of options to sort through.

The hard part is figuring out what actually works once the platform is deployed and people have to use it every day.

For anyone running these tools in production, what made your shortlist?

Curious about the developer experience too. Did developers actually adopt it? What was the day-to-day operational side like after rollout?

Not looking for another feature comparison. Just want to hear what actually held up in production.

reddit.com
u/FunAd6672 — 2 days ago
▲ 6 r/devsecops+2 crossposts

Portable agent plugins should standardise packaging, not trust

Agent Plugins appeared on Hacker News newest today. The useful part is narrower than “one plugin format wins.”

The 1.0 working draft defines a small portable package: a root plugin.json, skills discovered from immediate children of skills/, and optional MCP server configuration. It explicitly leaves distribution, installation, permissions, and user experience to each client.

That boundary matters. A portable manifest can describe what a package contains, but it should not grant the package authority to run everything it declares.

One concrete safeguard in the draft is path containment. Files and directories discovered through the package must resolve inside the plugin root. Plugin-relative paths begin with ./, and a symlink or equivalent escape outside the root must be rejected.

This does not solve plugin security. A client still has to decide which tools can run, what network access is allowed, how secrets are provided, and when a person must approve an action. Portability removes duplicated packaging. It does not remove local trust decisions.

Source: https://agent-plugins.org/specification

If this format becomes widely supported, which behaviour should remain client-specific: permissions, installation review, secret handling, or all three?

u/Particular_Luck80 — 2 days ago

A dev left an MCP server wired to prod for 5 months and I only just found it, so much for mcp security

Was clearing out dead namespaces in staging on then came across one I did not recognise. Turned out to be an MCP server. Took me a bit to work out one of the backend guys spun it up in March so his Cursor agent could poke at our internal APIs, then moved on and forgot it was still running.

Still running. Still had a live token on it. I sat there for a second just looking at it.

It was not even a new one, he had grabbed an existing CI service account because it was handy and that account can get into the staging database. Our staging is a full clone of prod, so that is customer data sitting behind a server none of us knew existed. Scanners never flagged it, the container itself is clean, nothing wrong with the image. The problem is a server that should not exist having a key to data it should never touch.

How many more are there, and how would I ever know. We pin our actions and pick apart every dependency and a whole category that can act on its own walked straight past all of it. How are you all keeping track of the MCP servers your devs spin up?

reddit.com
u/JackjaxMargam14 — 2 days ago

Building a DevSecOps/Cloud Security portfolio on GitHub to target remote roles, what actually gets your attention? Genuine advise requested

​Hey everyone,

​I have about 4 years of enterprise background working primarily on identity and access management, and I am actively transitioning into Cloud Security / DevSecOps with a goal of landing a global remote role by mid 2027.

​Instead of just collecting certifications, I want my GitHub to do the heavy lifting and prove I can build production grade tooling.

​Here is what I am currently building and planning:

​Non Human Identity Risk Analyzer: A Python tool that discovers stale machine identities, wildcard permissions, and excessive access across AWS accounts via STS AssumeRole, evaluates risk offline against synthetic test data, and applies automated, non destructive permissions boundaries.

Repo: https://github.com/likithmanoj/nhi-risk-analyzer

​CI/CD and OIDC Pipeline Auditor(Planned): A tool focused on pipeline supply chain security. It audits GitHub Actions workflow files and AWS IAM OIDC trust policies for over permissioned wildcards, unpinned third party actions, and default token privilege drift. (Project planned, yet to be started, as I still need to finish the first one)

​Alongside these two project ideas, I am knocking out AWS Solutions Architect Associate, Terraform Associate, and AWS Security Specialty.

​For hiring managers, staff engineers, or anyone who has landed remote cloud security roles through public projects:

​What separates a genuinely impressive GitHub repository from generic tutorial noise?

​Do you care more about deep modular Terraform testbeds, architecture diagrams, unit test coverage, or clean CLI packaging?

​Any candid feedback on the career path and on how to structure the READMEs, testing setups, or documentation to make them stand out in technical screens would be hugely appreciated.

What makes the hiring manager look at my resume and think this guys is a good fit for a devsecops role?

u/Spite-Unable — 2 days ago

How do you stop Trivy CVE in CI? Thinking of gating weekly instead of every build

We run Trivy in our Jenkins pipeline — both trivy fs and trivy image. There's a security gate stage that block the pipeline if there are any CRITICAL or HIGH findings.

The problem: a dev resolves 2-3 Trivy issues, and a couple days later they're back / new ones show up, and the build blocks again. So devs are basically fixing Trivy findings every other day.

I know part of this is just the DB being fresh — new CVEs get disclosed daily, that's expected. But the every-build hard block is painful.

I was thinking of running the blocking gate only once a week instead of on every build. But I can already see the flaw: code that deploys mid-week would ship with known issues, and if a genuinely exploitable fixable CVE drops on a Monday we'd be shipping it for 6 days before the gate catches it.

So my questions for people running this in prod:

  • Do you gate on every build, or on a schedule?
  • Do you block on all CRITICAL/HIGH, or only ones that actually have a fix available (--ignore-unfixed)?
reddit.com
u/ankitjindal9404 — 3 days ago

Cloud Runtime Security

Wanted to know real use cases you guys are solving using CS runtime security for containers.
Since we are already allowing only Known outbound traffic from firewall, this significantly reduces possibility of c2 connection.. Do we still need runtime security? It yes appreciate for real value use cases it can solve please…

reddit.com
u/dkas6259 — 2 days ago
▲ 3 r/devsecops+1 crossposts

I have been building a Non Human Identity Risk Analyzer for AWS

Been building this on nights/weekends for the past couple months. Background: I've spent 3.5 years doing PAM engineering (CyberArk), so this is basically me translating that into cloud-native.

The problem I kept running into reading about this space: every tool I looked at (Cloudsplaining, Prowler, even AWS's own IAM Access Analyzer) stops at detection. They'll tell you a role has a wildcard action or an unused key, and then... that's it. You get a report. Somebody has to go fix it by hand. Even the free/open-source ones don't touch remediation.

So I built NHI Risk Analyzer — discovers IAM users/roles/groups, runs it against a set of detection rules (grounded in Rhino Security Labs' documented privilege escalation paths + Cloudsplaining's policy analysis methodology + CIS benchmark stuff for credential hygiene), and then actually does something about what it finds:

  • Wildcard/admin-equivalent policies and privilege escalation paths get a Permissions Boundary slapped on them — containment without touching the underlying policy, so it doesn't risk breaking whatever the identity legitimately needs to do
  • Stale/unused access keys get deactivated (never deleted — always reversible)
  • Everything's gated by an exemption file (nhi-ignore.yaml) so break-glass/deployment identities never get auto-remediated
  • Three modes: scan only, dry-run (shows what it would do), and live remediation

Architecture is offline-first — it snapshots the AWS account state to JSON once, then evaluates all the risk rules against that snapshot with zero live API calls. Makes the whole rule engine testable and fast (unit tests run in under a millisecond) and means findings are reproducible against an exact point in time instead of drifting mid-scan.

Tested it against synthetic "canary" identities I built specifically to safely trigger the containment logic without touching anything real, then ran it live against a real (throwaway) AWS account — 57 findings, 24 auto-remediated, 0 failures.

Still rough in places — trust policy analysis isn't built yet, surgical wildcard-narrowing (vs. the current boundary-containment approach) is next, and it's AWS-only for now. Not trying to oversell it, it's a v1. But the core loop — detect, decide safely, act — actually works end to end, which is the part I couldn't find anywhere else at this tier.

Repo: In comments

Would genuinely appreciate anyone poking holes in the detection logic or the remediation safety assumptions — that's exactly the kind of feedback I'm here for.

reddit.com
u/Spite-Unable — 3 days ago
▲ 14 r/devsecops+9 crossposts

Open sourced bonsai-ninja: local code intelligence + security analysis built for humans and local first LLMs

Finally making bonsai-ninja public.
It’s a local code intelligence and static analysis engine built around compiler-backed facts instead of giant file dumps.

Use it for code intelligence, security taint analysis across 20 languages, or export call graphs, control flow, dataflow, IDG facts, and other structured compiler data for AI training, code-reasoning research, and agents.

It’s also built with local-first AI in mind. Pair it with your local LLMs to give them focused, compiler-backed context about a codebase instead of burning context windows repeatedly reading files. Models like Qwen and Nemotron are a great place to start, and experimenting with different local models is encouraged.

It’s free, MIT licensed, and runs locally. No subscription required, no hosted service required, and no analysis features held back behind a paid tier. Your source code stays on your machine.

Even if the engine isn’t your thing, the security-patterns alone are worth checking out. There’s an extensive YAML rulepack for modeling sources, sinks, sanitizers, frameworks, and security behavior across the supported languages.

This is just getting started. Contributions, testing, sharing, criticism, forks, whatever. Hell, steal it, improve it, build something better with it. Doesn’t matter. The goal is to put it out there and see what people do with it.

github.com/gromhacks/bonsai-ninja

github.com
u/GromHacks — 4 days ago
▲ 19 r/devsecops+1 crossposts

Minimal - open source project that build hardened container images now supports upto 100 images

Minimal - An open source project for hardened container images now supports 100 container images and adding more. The images are built daily, with almost 0 to minimal CVEs and trying to provide same level of output as other paid alternatives for free.

Github - github.com/rtvkiz/minimal

reddit.com
u/Trick_Face_2670 — 4 days ago
▲ 10 r/devsecops+3 crossposts

i made a secure way for agents to request secrets from you using HyperDHT

Hi all,

I kinda got sick of having to give secrets to my agents and all the potential leakage in the pipeline (with the harness, the model router, the model provider, the training set, the chat application etc etc) so I decided to make peardrop.fyi - this tool allows your agent to declaratively generate secret request pages/links which you can fill in via web or CLI. The agent can determine a script that runs once the values are received or can put them in a target folder. This is useful if you want to put something in your machine vault/keychain without either giving access to the credentials or the browser to the agent.

here is the repo: https://github.com/smashah/peardrop

(cli, core and self-hostable relay are all open source)

u/Plastic-Trip-2778 — 4 days ago
▲ 2 r/devsecops+1 crossposts

I released Violin v3.1.0 — the Hermes pentest benchmark now scores proof, not claims

I've just released Violin v3.1.0 🎻

This release is mostly benchmark and guard work, not another pile of prompts.

The benchmark now runs Hermes end-to-end and scores what it actually proved, not what sounds convincing in "report.md".

- Executed request/response evidence is checked against the endpoint, method and decisive proof.

- Proof must link back to a validated hypothesis and canonical "FIND" file.

- Execution receipts are HMAC-signed and bind evidence files by SHA-256, so edited artifacts fail verification.

- The guard now stops target work when evidence is not being recorded as you go, and checks excluded URLs and paths inside command payloads.

- Docker, CI and known-good/known-bad scorer calibration are included.

Release:

https://github.com/Strategic-Automation/violin/releases/tag/v3.1.0

I'd appreciate people trying to break the scorer and guard. Can you make weak proof pass, good proof fail or get the workflow stuck?

I'm not looking for “nice update” comments. If it is overbuilt, unsafe or wrong, tell me.

github.com
u/WarmAd6505 — 4 days ago
▲ 12 r/devsecops+4 crossposts

Our AI pentesting engine talked a production AI agent's prompt-injection guardrail into handing over its entire system prompt on its second attempt.

For full disclosure I'm part of the security engineering team at Escape and our AI pentesting engine Cascade recently got a production AI agent to return its entire system prompt, just by wrapping the ask in a different pretext - framing it as a documentation request instead of an attack.

The agent then handed over everything: full tool list, calling rules, citation format, and session IDs.

What I found really interesting is there's nothing technical that broke because we didn't bypass the guardrail with a cleverer string but because the request just sounded reasonable to the agent.

The Cascade engine, after being refused when asking for the prompt directly, simply adjusted the framing to get the agent to give up the informaiton.

Thought this would be an interesting insight for the community and curious to hear if anyone else has seen similar discoveries in agents in prod?

If you want to see more about the reproduction and write-up you can find it here

u/PriorPuzzleheaded880 — 6 days ago

Is software supply chain security finally becoming more than just SBOMs?

Software supply chain security seems to be one of those terms that means something completely different depending on who you ask.

Some teams are basically talking about SBOMs and compliance. Others are focused on signing artifacts, securing CI/CD pipelines, or scanning container images.

Then you have platforms talking about runtime context, attack surface reduction and removing unnecessary software instead of just finding another vulnerability to report.

So where is this actually going?

Is software supply chain security still mostly about visibility and compliance or is the industry finally moving toward remediation and reducing risk at the source?

Curious what people are actually seeing across different organisations.

reddit.com
u/Born-Reserve-8584 — 7 days ago

Which security gates enabled for AI Agents in CI/CD?

We've become pretty comfortable putting conventional applications through CI:

  • dependency scanning
  • SAST
  • CodeQL
  • secret scanning
  • container scanning
  • IaC checks
  • security policies ...

But what happens when the application being deployed is an AI agent? That may not look particularly interesting in a conventional code diff. But from a security perspective, it could be a significant change.

I'm experimenting with a different CI question:

“What capabilities changed in this PR?”

--

We've implemented an early version of this approach in an open-source static analyzer and connected it to GitHub Actions. (ikaruscareer/SafeAI at GitHub)

The scanner runs locally against the repository and doesn't execute the agent or send the source to a remote service.

I'm curious how other teams approach this.

reddit.com
u/IkarusCareer — 7 days ago
▲ 12 r/devsecops+2 crossposts

Top 7 Claude skills for frontend, by install count. Two repos hold five of the seven.

  1. vercel-react-best-practices, 631,348 (vercel-labs/agent-skills)
  2. vercel-composition-patterns, 288,538 (vercel-labs/agent-skills)
  3. shadcn, 271,674 (shadcn/ui)
  4. minimalist-ui, 247,075 (leonxlnx/taste-skill)
  5. develop-userscripts, 224,031 (xixu-me/skills)
  6. image-to-code, 210,463 (leonxlnx/taste-skill)
  7. vercel-react-native-skills, 187,251 (vercel-labs/agent-skills)

Method first, because a ranking is only worth as much as it: every skill filed under Frontend in the Skillselion catalog, sorted by installs, top seven. Nothing hand-picked.

Vercel takes three of the seven. leonxlnx/taste-skill takes two. Five from two authors.

The fair question is whether that is five decisions or two. The gaps answer it. Vercel's three run 631,348, then 288,538, then 187,251, a 70 percent spread inside one repo. If people were installing the repo wholesale those numbers would sit almost on top of each other. They do not, so this is individual choice, and first place really did beat its own sibling by 343,000.

shadcn is the only name here that people were already using before agent skills existed. Everything else was written for agents from the start.

Installs measure adoption, not quality, and nobody publishes uninstall data, ours included. If a number looks off, say so and I will pull it again.

The full list: Claude skills for frontend, ranked by installs.

u/skillselion — 6 days ago

What is the best risk based prioritization solution out there?

Ran an internal audit last quarter after a near miss, a CVE with a public exploit sat in our backlog for 11 days because it scored a 5.5 and got buried under a stack of 9+ CVSS findings that turned out to be unreachable. What stung was our red team had flagged that same CVE as a viable attack path two months earlier and the finding never made it back into our prioritization model. Fixed the process gap first, not the scoring gap: red team output now feeds into the same queue as scanner findings instead of living in a separate report nobody cross-references. Merging exploit maturity and reachability data helped too, but the unlock was making sure two teams looking at the same infrastructure were not working off two different risk pictures. Took about two sprints to wire up.

Anyone else run into red team and vuln management operating as separate systems until something forced them together?

reddit.com
u/Budget_Note4222 — 8 days ago