<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Malise</title>
    <description>The latest articles on DEV Community by Malise (@malises).</description>
    <link>https://dev.to/malises</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4278936%2F0b949531-ea33-4d6b-bd52-46bed2b914c5.png</url>
      <title>DEV Community: Malise</title>
      <link>https://dev.to/malises</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/malises"/>
    <language>en</language>
    <item>
      <title>A local-first workbench for API security and QA testing: what we built and what we learned</title>
      <dc:creator>Malise</dc:creator>
      <pubDate>Wed, 02 Dec 2026 17:34:39 +0000</pubDate>
      <link>https://dev.to/malises/a-local-first-workbench-for-api-security-and-qa-testing-what-we-built-and-what-we-learned-5a96</link>
      <guid>https://dev.to/malises/a-local-first-workbench-for-api-security-and-qa-testing-what-we-built-and-what-we-learned-5a96</guid>
      <description>&lt;p&gt;Testing an API produces a mountain of material: requests in your proxy, scan results in other tools, notes in a document, screenshots somewhere else. Keeping it organised, in scope and provable is half the job, and it is the half that tools rarely help with.&lt;/p&gt;

&lt;p&gt;That is the problem we built &lt;strong&gt;ScopeLace&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;(&lt;a href="https://github.com/scopelace/scopelace" rel="noopener noreferrer"&gt;https://github.com/scopelace/scopelace&lt;/a&gt;) for. It is a free, open-source workbench that runs on your own computer. You keep testing in the proxy you already use (Caido, Burp or ZAP). ScopeLace keeps track.&lt;/p&gt;

&lt;p&gt;I am one of the two maintainers. This post covers how it works, the choices behind it, and what we learned building it. It is written for people who test APIs and web apps, for security or for quality.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;When you test an API, the same few things go wrong:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Scope drifts.&lt;/strong&gt; What was in scope, and until when? A busy test touches things you were never allowed to touch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Evidence scatters.&lt;/strong&gt; The request that shows the bug is in one tool, the response that proves it in another, the screenshot in a third.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ideas get lost.&lt;/strong&gt; A scanner says something might be wrong. Nobody writes down whether anyone checked.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security and QA repeat each other.&lt;/strong&gt; Both explore an API, try things, collect evidence and write it up, with different tools and different words.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We started it in our free time, while testing web apps in lab environments, and kept running into exactly this. The ideas for how a tool should organise all of it came from that.&lt;/p&gt;

&lt;h2&gt;
  
  
  The design, and why
&lt;/h2&gt;

&lt;p&gt;We made a few decisions early and held to them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It runs on your computer.&lt;/strong&gt; ScopeLace listens only on &lt;code&gt;127.0.0.1&lt;/code&gt;, stores data in a local database in your own folder, and has no telemetry and no cloud account. Anything optional that leaves the machine (a cloud model, a notification) is off by default, shows you what would be sent first, and needs a deliberate opt-in per program.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scope comes first.&lt;/strong&gt; Every request is checked against the scope you set before it is stored. Out-of-scope traffic is dropped, not saved, and a kill switch stops storing at once. A tool cannot make you authorized, but it can make it harder to forget.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Secrets are masked before storing.&lt;/strong&gt; Tokens and keys are replaced by chips before anything is saved or put in a report.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It never sends a request to a target.&lt;/strong&gt; This is the decision people ask about most. You test in your proxy; ScopeLace reads. With Caido, for example, it reads your requests, and its only write is to open a Replay tab when you press "Open in Replay". You press Send yourself, in Caido. The same goes for retesting a fix: you send the request again from your proxy as the same user, import it, and verify.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A suspected issue is not a finding.&lt;/strong&gt; Scan results and ideas become leads: things to verify, ranked, with the reason. Nothing is called a finding until someone reproduces it, with the request that shows it and the response that proves it.&lt;/p&gt;

&lt;h2&gt;
  
  
  A walkthrough on a practice app
&lt;/h2&gt;

&lt;p&gt;ScopeLace comes with practice labs: small apps with planted bugs and an answer key, so you can try everything without a real target. Here is one bug, start to finish, on the TeamBoard lab.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Set the scope.&lt;/strong&gt; What is in, what is out, until when, and any rules the program asks for.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8gx1hb4y0iyfm1m4cs9s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8gx1hb4y0iyfm1m4cs9s.png" alt="Scope and targets" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Bring traffic in.&lt;/strong&gt; Test in your proxy. The requests arrive in ScopeLace, in scope only, with secrets masked. Result files from other tools work too: drop the output of Trivy, Checkov or tfsec into one folder and each result becomes a lead.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft8z37whvhjk0wy0rq2iw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft8z37whvhjk0wy0rq2iw.png" alt="Leads from tool results" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. See the API.&lt;/strong&gt; Every endpoint is drawn as a flow: the host, its resources, their endpoints. The ones you have not tested are bright, ranked by a score, with a tag that says why: an object ID in the path, a token that is shared, a request that changes state.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Febsfqc40ma0fywjdbda2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Febsfqc40ma0fywjdbda2.png" alt="Endpoint Flow" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Check who can reach what.&lt;/strong&gt; The Access Matrix shows which test user can call which endpoint, so a broken access control stands out as one odd cell.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdm5aws29ryzd5jvxysmc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdm5aws29ryzd5jvxysmc.png" alt="Access Matrix" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Keep the proof.&lt;/strong&gt; You verify the bug in your proxy as a second user. ScopeLace shows the same request as the two users side by side, with secrets masked, so the proof is one picture instead of three tools.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuyj3gvu93sk8ry20z0tl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuyj3gvu93sk8ry20z0tl.png" alt="Proof view" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Write the report.&lt;/strong&gt; What you verified, with the proof inside, becomes a report you can hand over.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9cds1hau7cnrjxps0t24.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9cds1hau7cnrjxps0t24.png" alt="Report" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The same engine, for QA
&lt;/h3&gt;

&lt;p&gt;QA gets its own mode on the same engine: a short menu that follows a QA day. There are endpoints to test, test cases you write, import from JUnit or Newman, or have suggested, defects with steps, expected and actual result, a retest queue, and a report that works as the hand-over to the team. A failed test case becomes a defect on its endpoint; when the developer marks it fixed, it waits for a retest.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk3sz3racax5fiwb6jdr9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk3sz3racax5fiwb6jdr9.png" alt="QA mode" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What we learned
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Testers found it too complex.&lt;/strong&gt; Early users told us there was too much on the screen at once. That led to QA mode, a short menu that follows a QA day, and to a simpler review of findings. It is still the main thing we are working on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Test the thing you ship, not just the source.&lt;/strong&gt; Our unit tests were green, but installing the actual release bundle on clean machines found problems the tests could not: the Windows unzip step failed in our smoke test, and the browser extension was missing from the bundle. We now run a smoke test on every release bundle, and we install each published release in an isolated home folder on macOS and in a clean Linux container before announcing it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Invented secrets still look like secrets.&lt;/strong&gt; The test data in our repository includes made-up tokens and keys, and a secret scanner flagged some of them as real leaks on the day we went public. We now build those placeholders at run time, so neither scanners nor readers mistake test data for a leak.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Write down what the tool will not do.&lt;/strong&gt; The list (never sends a request to a target, no telemetry, nothing leaves the machine unless you opt in) shortened many conversations. It also gave us a checklist: any new feature has to be explained against it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Using AI assistants.&lt;/strong&gt; An assistant is fast, but it states things confidently whether or not they are true, so we treat what it writes as a suggestion until we have run it and checked it against the app. That is also the rule inside ScopeLace: a model's answer is a hypothesis, and a lead is not a finding until someone reproduces it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does not do yet
&lt;/h2&gt;

&lt;p&gt;We would rather you hear this from us:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The local database is not encrypted at rest. The file is private to your account, but use full-disk encryption. Optional database encryption is on our list.&lt;/li&gt;
&lt;li&gt;Secret masking is pattern based, so a secret in an unusual format can slip through. We are adding patterns and a way to mask a value everywhere.&lt;/li&gt;
&lt;li&gt;We tested it on macOS and Linux (x86-64). Windows through WSL is being tested now, and there is no Linux ARM bundle yet.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it, and tell us what is wrong
&lt;/h2&gt;

&lt;p&gt;The easiest way to try it: install from the &lt;a href="https://github.com/scopelace/scopelace/releases/latest" rel="noopener noreferrer"&gt;latest release&lt;/a&gt; (the steps are in the README), load the TeamBoard practice lab, and open the endpoint flow and the Access Matrix. It is meant for targets and programs you are authorized to test, and for the practice labs.&lt;/p&gt;

&lt;p&gt;It is released under the AGPL-3.0. We plan to keep improving it, starting with more tool readers, and we would like your help deciding what comes next:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which tools should we read next?&lt;/li&gt;
&lt;li&gt;Where does your process break first?&lt;/li&gt;
&lt;li&gt;What is missing, confusing or not useful?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Tell us in the comments, or in the &lt;a href="https://github.com/scopelace/scopelace/discussions" rel="noopener noreferrer"&gt;Discussions tab&lt;/a&gt; on GitHub. Ideas, bug reports and pull requests are all welcome, and so are criticisms.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>security</category>
      <category>testing</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
