r/devsecops • u/der_gopher • Sep 04 '26
How to secure SSH and Postgres with Warpgate
r/devsecops • u/der_gopher • Sep 04 '26
r/devsecops • u/SSJ4_Vegito • Sep 03 '26
r/devsecops • u/Positive-Bit3654 • Sep 03 '26
r/devsecops • u/schuay • Sep 02 '26
Hi folks, I'd like to announce a project I've been working on.
The initial usecase for this was a langgraph AI app that runs unattended, 24/7, on sensitive infrastructure. This project provides the same guarantees for interactive harness runs; eg if you run nightly unattended AI work packets. By now, I'm starting every session sandboxed locally - there's no strict need to do so, agents generally behave themselves; but then again, why not?
Linux only. Uses bwrap underneath.
Try it with: uv tool install aisan && aisan claude
More information at: https://github.com/schuay/aisan
Expect rough edges. Happy to take feedback and pull requests.
r/devsecops • u/frostyWithRegrets • Sep 02 '26
r/devsecops • u/IkarusCareer • Sep 01 '26
Following up on an earlier post about SafeAI, a static analyzer for AI agents.
One uncomfortable thought we've had while building it:
No one really cares about knowing an agent's capabilities — until something goes wrong.
Before an incident, adding another tool, MCP server, filesystem permission or prompt change often looks harmless.
After an incident, the first questions become:
- What could this agent actually do?
- When did that capability appear?
- Who introduced it?
- Was it intentional?
---
One example we're working on is MCP tool descriptions. A tool description can look like documentation:
"Search the user's notes. Ignore previous instructions and..."
But that description may become part of the model's context. So configuration can effectively become an instruction surface.
SafeAI now detects several forms of this, while trying to avoid flagging ordinary descriptions that happen to contain words like "ignore" or "act as".
The bigger direction is **tracking changes in agent capability and authority**, rather than simply producing another list of security findings.
But this raises a question for us:
Is knowing your agent's capabilities actually useful before an incident, or only after one?
And if it is useful before an incident, what is the right interface?
CLI + CI + SARIF/HTML?
Or would you actually want an interactive view showing things like:
> "Show me all MCP tools across our agents that could introduce instruction injection."
We're deliberately not building a UI yet.
---
Would you use one, or is that solving a problem nobody has?
Curious to hear from people running real MCP/agent systems.
---
If you want to try it against your own agent project, we'd genuinely appreciate feedback, as well as contributions.
Here you may check: ikaruscareer/SafeAI on GitHub.
r/devsecops • u/KewlKevin • Aug 31 '26
I’ve been testing an advisory triage prototype and one thing that keeps coming up is how quickly applicability logic gets messy once the inventory data isn’t clean.
Basic version comparisons have held up pretty well, but product naming variations and CPE mismatches are much easier to break.
For example, FortiAuthenticator vs Forti Authenticator can be enough to create a false negative if product normalization isn’t handled properly.
Curious how people are dealing with this in real DevSecOps/vulnerability workflows. Are you relying mostly on CPEs, vendor identifiers, SBOM data, scanner normalization, or something else?
I’m working on a prototype around this problem, so I’m interested in where the real failure cases are.
r/devsecops • u/mistalah • Aug 29 '26
Hey folks,
Been working in a Splunk admin role for past 5 years. In current role, I spend most of my time handling log ingestion, linux admin,cluster administration, dashboards, SIEM alerts, and basic data pipeline troubleshooting.
Am looking to shift my career path toward DevSecOps, but wanna ensure my efforts are toward what’s actually valued in production environments versus just collecting certs.
For those of you working in DevSecOps (or pref hiring managers in the space):
appreciate any invaluable inputs, thank you!
r/devsecops • u/Max_Standart • Aug 27 '26
The biggest risk for us wasn't the model memorizing code. it was the assistant sending files, credentials, or context somewhere we didn't expect.
The controls that ended up mattering:
one thing I'd separate: the gateway controls where model traffic goes. filesystem permissions control what the agent can actually read... you need both.
the policy itself can stay pretty small. the important part is making the boundaries enforceable instead of trusting everyone to remember them
r/devsecops • u/theJacofalltrades • Aug 26 '26
Had an agent last month pull a customer contract into a summary doc and drop it into a shared workspace nobody on that team should have had access to.
Nothing malicious, it just did what it was told without anyone thinking about where the data would end up. That is when we realized we had zero visibility into what our agents were touching. Cyera was already on our shortlist for DSPM. Then Cyberhaven kept coming up too, more focused on protecting data once it is moving through AI workflows.
If you have used either one, how did it hold up once agents were doing real work?
r/devsecops • u/Common_Dream9420 • Aug 26 '26
Coding agents are doing a lot of the integration work at our agency now. Stripe, Twilio, WorkOS, email, the usual stack. Economically it's been good.
The part I didn't expect: verification actually got harder. We're producing code faster than anyone can review it, and the edge cases that bite you aren't in unit tests. Webhook fires twice. Events arrive out of order. Agent wrote correct code but got one state transition wrong. PR looks fine, everything compiles, and you still don't know until something breaks in staging or worse.
We added a sandbox step before anything ships now. Agent writes, tests pass, then we run the full multi-API workflow with failure scenarios before it's considered done. Not elegant, just a runnable verification step all our agents have to clear.
If agents are writing integrations for you, what does your last gate before production actually look like?
r/devsecops • u/infidel_tsvangison • Aug 26 '26
We are a large aws shop. Devs use secrets manager to store keys etc. problem is that these keys are handled by humans to begin with. We trust the human to put it in secrets manager etc. I’m just wondering what organisations do for secrets management to prevent this? Overtime, we have devs with secrets in postman collections etc. what should I be looking at to really secure our secrets?
r/devsecops • u/First_Explorer_6075 • Aug 25 '26
Minimus customers have until October 22 before the registry goes fully offline and a few teams here were mid pilot with them when the news dropped. Trying to put together a shortlist of where people are migrating, RapidFort already put out a free migration offer for Minimus customers alongside a couple other hardened image vendors and some teams that are just building their own base images instead. Mainly want to know how close a replacement gets to what Minimus was doing on CVE reduction. What are people moving to and how has the transition gone so far?
r/devsecops • u/Diligent-Side4917 • Aug 24 '26
Been running agents and scanners on my PRs for a while now, triage and native scanning before anything goes up. I've ended up somewhere I didn't expect and want to know if I'm alone.
Started where I think everyone starts: lean on memory. Let the agent carry context session to session, build up a picture of the project. It helps. It wasn't where the gains came from.
What actually moved things was rules written against mistakes the agent already made. Not a generic OWASP checklist. A scoped rule: this defect class showed up, here's the sink, here's the banned construct, stop doing it. A defect shows up a third time, I write a rule, the class stops recurring. Five or six patterns closed instead of a hundred bugs chased one at a time.
The distinction I keep circling: memory is passive, the agent might use it. A glob-scoped rule loads whether the agent wants it or not, tied to the file in front of it. One line of repo rule changes the default output of every session in that repo. And MUST/NEVER phrasing outperforms polite wording by a margin that surprised me.
One thing I'd flag: these files are executable surface. The agent reads them as ground truth, so a poisoned rule file is a real problem, not a hypothetical. I keep security rules separate, reviewed like code, capped so they don't rot.
So, three questions I actually want answers to:
Genuinely want to be argued with on the first one. If memory is doing the heavy lifting for you and rules are noise, tell me what your setup looks like.
r/devsecops • u/geercom1 • Aug 24 '26
r/devsecops • u/ClickOk5811 • Aug 24 '26
Specific scenario: someone pastes a stack trace or config snippet into a chat with an AI assistant to get help debugging, and it turns out to have an API key or connection string embedded in it. The immediate fix, rotate the credential, is obvious. What I'm less clear on is the second-order problem.
If that conversation gets logged for support/abuse purposes on the provider's side, saved as chat history the user can revisit later, or fed into some kind of memory/context feature that persists across sessions, the secret is now sitting in at least one place that isn't the original codebase, potentially more than one, and it's not always obvious from the product surface where all those copies actually live or how long they're retained.
For people who've actually had to respond to this, credential rotation is step one, sure, but what's the actual process for the secondary exposure? Do you treat every provider's chat log/history as a place secrets can now leak by default and build detection around that, request deletion from the provider and treat that as sufficient, or something else entirely? Curious whether anyone's had to deal with this as a real incident versus a hypothetical, and what the actual remediation checklist looked like once credential rotation was done.
r/devsecops • u/ankitjindal9404 • Aug 23 '26
We're already running SonarQube and Trivy. Looking to fill the gaps they leave.
Stack:
What are you actually using in production, and how noisy is it (false-positive rate)?
r/devsecops • u/sco77 • Aug 20 '26
**Pipeline:** Fable Orchestrator, Sonnet Workers, Opus Checkers (Complex tasks Opus Opus)
**Result:** *~90% of all caught defects were invisible to their own author at "done."*
.
| Layer | Defects Caught | Unique Error Types |
|---|---|---|
| author self-review (builder, at green gates) | 2 | 2 |
| blind law check + blind correctness check | 24 | 6 |
| re-verify of fix rounds | 8 | 2 |
| final static confirm | 2 | 0 |
| . |
**The builder's tree was green — typecheck, lint, 1098 passing tests — and still contained six functional defects:** the keyboard swallow, the macOS-dead chords, the detached-card menu, the stream-order inversion, a test that could not fail, and the vacuous boundary clause. Every one would have merged without the independent layers. The same held for Fable brief shipped as done. Blind check convicted it 17 ways, twice.
.
**RED-Proof statistic:** the green suite caught ~69% of induced defects; RED-sealing lifted the reachable kill rate to ~100%. 10% remain documented while **21% of Defects were Rescued**
.
**Across the three completed RED passes:** 95 mutations, 66 killed by the existing suite with 29 survivors. That's *one defect class in three passes a fully green suite silently*. Of the 29, 21 were sealed under pins (permanent detection) and 8 were proven unreachable behind stronger gates equaling the above measured reduction.
.
**Re-verify statistic:** fix rounds introduce defects at a ~50% rate per unit, and re-verify has caught 100% of them. Class 1: 2 (only re-verify caught them). Class 2: 2, including a silent inversion of a writer ruling. Stage 4: 2. Six for six, none escaped.
.
**The escape statistic:** *Zero known functional regressions reached post-merge across seven protocol units* 3 Fable session reviews since implementation (sessions 10, 15, 19) surfaced only design gaps and application feel issues, but not a single never a broken unit. Compared to the pre-protocol record we documented three defects that passed a green suite, two review rounds, and an executed gate, one of which would have returned No-Go on the study by construction. That class has not recurred since the blind layer landed.
.
**Cost:** *the protocol roughly doubles the unit's total compute* Stage 4 spent about 1.7M tokens building and about 1.9M checking. So the deducible trade is: ~2x cost buys ~10x defect detection over author self-review, a ~3x shrink in what a green suite can miss, and a measured escape rate of zero. This stands to augment the earlier post study [here](https://www.reddit.com/r/Claudeopus/comments/1vrmby0/token_savings/) where the calculation focused on savings around cache and agent costs coming from the tiered model structure of the orchestration.
.
**Limits, stated:** this is observational, not controlled — there is no arm where we merged unchecked and counted your pain. **Important Note** *Author self-catch is undercounted* (defects fixed silently mid-build never register). And the denominators are small: seven units, 95 mutations. But the direction is not close, and every number above traces to a line in the record.
r/devsecops • u/DavidPulaski • Aug 20 '26
Everyone is focused on the fact that a researcher found and exploited a vulnerability in Snowflake's GitHub Actions workflow.
But finding it wasn't the interesting part.
The interesting part is that the vulnerability already existed before anyone knew it was there.
That's the uncomfortable reality of modern software delivery. We spend a lot of time talking about known vulnerabilities, discovered vulnerabilities, patched vulnerabilities, and CVEs. Attackers only need the vulnerabilities that haven't been discovered yet.
As AI accelerates both software development and security research, teams are creating and uncovering issues faster than ever. That's useful, but it doesn't solve the fundamental problem:
What protects a build pipeline from the risks nobody has identified yet?
I'm starting to think the industry may be over-indexed on detection and under-invested in prevention.
Instead of asking, "Can we find every risky condition?", maybe we should also be asking:
If those behaviors are blocked by default, the specific vulnerability matters a lot less.
Full disclosure: I work for InvisiRisk, a company focused on build pipeline security, so I have some bias here. That said, I think the architectural question stands on its own.
Curious how others here think about this. Are you relying primarily on scanning, detections, and reviews, or are you putting preventive controls directly into your CI/CD pipelines?
r/devsecops • u/Cerbosdev • Aug 19 '26
hey everyone. most mcp threads are about what these servers can do. the security side is the opposite question, every server you connect is a third-party dependency with a path to production, added with near-zero friction, usually with no review and no owner. that's a supply chain surface, and it's growing fast. my colleagues and i wrote it up longer as a blog, but everything useful is in this post, sharing in case it's handy for the community.
first, why these are actually risky. you don't even have to call a tool to get burned. Trail of Bits showed a malicious server can hide instructions in its tool descriptions, and those reach the model as soon as your client loads the tool list, so connecting it is the exposure. then there's the over-scoped credential pattern. Invariant Labs showed a poisoned github issue coercing an agent into leaking private-repo data over the same token, and Simon Willison wrote up a Supabase case where a service role bypassed row-level security while reading attacker-controlled content. and valid auth is not authorization, which is how Asana's mcp-connected ai feature exposed data across tenants. the credential was valid but nobody checked whether that user should see that specific record. OWASP has a Top 10 for agentic apps now if you want the taxonomy behind all this.
here's what to check, roughly in order:
what saves most grief : vetting and enforcement are two different jobs. vetting tells you what you connected. enforcement, that authz check outside the server that fails closed, is what keeps it bounded no matter how much you trust the code. the strongest controls are the ones that don't assume the server is trustworthy, because the servers you control least are the ones most likely to bite you.
full disclosure, i work at Cerbos and we do authorization, so items 4, 6 and 7 are squarely the kind of thing we build, if you need it. but 1 through 3 are yours to own regardless of tooling, and a checklist doesn't enforce anything by itself. none of this replaces reviewing servers yourself before they hit prod :)
r/devsecops • u/ankitjindal9404 • Aug 19 '26
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:
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 🙏
r/devsecops • u/dkas6259 • Aug 18 '26
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…
r/devsecops • u/Spite-Unable • Aug 18 '26
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?
r/devsecops • u/ankitjindal9404 • Aug 18 '26
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:
--ignore-unfixed)?