Repository navigation
Expand file tree
/
Copy pathwelcome.html
More file actions
377 lines (352 loc) · 16.4 KB
/
Copy pathwelcome.html
File metadata and controls
377 lines (352 loc) · 16.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#090D16">
<title>You're in — MagSolutionsAI</title>
<meta name="description" content="MagSolutionsAI is installed. Open a pull request and the first audit runs automatically.">
<meta name="robots" content="noindex, follow">
<link rel="icon" type="image/png" href="favicon-64.png">
<link rel="apple-touch-icon" href="logo-200.png">
<link rel="canonical" href="https://magsolutionsai.com/welcome.html">
<link rel="stylesheet" href="style.css?v=14">
</head>
<body>
<a class="skip" href="#contenido">Skip to content</a>
<header class="nav">
<div class="wrap nav-in">
<a class="brand" href="./"><img src="logo-64.png" alt="" width="28" height="28"><b>MagSolutionsAI</b></a>
<nav class="nav-links">
<a href="./">Home</a>
<a href="blog/">Blog</a>
<a href="pricing.html">Pricing</a>
<a href="hallucination-index.html">Index</a>
</nav>
</div>
</header>
<main id="contenido" class="wrap" style="max-width:74ch">
<section class="hero" style="padding-bottom:1.4rem">
<div class="pill"><span class="dot"></span> Installed · nothing else to configure</div>
<h1 style="font-size:clamp(2rem,4.4vw,2.9rem)">You're set. <span class="hl">Open a pull request.</span></h1>
<p class="lede">
The next PR opened on any repository you granted access to gets audited automatically —
dependencies checked against the live PyPI and npm registries, secrets and AI-specific flaws
flagged inline. Findings arrive as a comment on the PR, usually in a couple of seconds.
<b>No SDK, no CI config, nothing to install locally.</b>
</p>
</section>
<!-- Qué esperar: reduce la incertidumbre del primer minuto, que es donde
se pierde al usuario que acaba de instalar y no ve nada. -->
<section class="band" style="border-top:0;padding-top:0">
<div class="sec-hd">
<span class="lbl">What happens next</span>
<h2 style="font-size:1.4rem">Three things, in this order.</h2>
</div>
<div class="rows-wc">
<div class="wc-step">
<span class="wc-n">1</span>
<div>
<b>Someone opens a PR.</b> Yours or a teammate's — it does not matter who, and
nobody needs an account with us.
</div>
</div>
<div class="wc-step">
<span class="wc-n">2</span>
<div>
<b>A comment appears on that PR.</b> Every added dependency resolved against the registry,
every finding with its exact file and line, and the query you can reproduce with
<code>curl</code> yourself.
</div>
</div>
<div class="wc-step">
<span class="wc-n">3</span>
<div>
<b>A clean PR gets a clean comment.</b> Silence would be indistinguishable from the app
being broken, so it always reports — including what it did <em>not</em> analyse.
</div>
</div>
<div class="wc-step">
<span class="wc-n">4</span>
<div>
<b>And if we are wrong about something, you do not have to wait for us.</b>
Reply <code>@magaudit ignore <id></code> on the pull request with the id printed
next to the finding, or <code>@magaudit ignore rule <RULE-ID></code> for all of
them. For a decision your whole team can see and review, a <code>.magaudit.yml</code>
in the repository. And if you already use another scanner we honour its markers
— <code>pragma: allowlist secret</code>, <code>nosec</code>,
<code>nosemgrep</code>, <code>gitleaks:allow</code> — so you never annotate the
same line twice.
<br><span style="color:var(--fg-3)">Whatever your settings hide is still counted and
still declared in the comment, with the reason for each one.
<a href="quality.html">Here is how often we get it wrong →</a></span>
</div>
</div>
</div>
</section>
<!-- Ruta de pago con atribucion: los enlaces se completan con el
installation_id que GitHub devuelve tras instalar, para que el pago
se active solo sin que nadie escriba un correo. -->
<!-- Resultado del escaneo inicial. Es lo primero que ve alguien que acaba
de instalar, y hasta ahora no veia nada hasta que abriera un PR. -->
<section class="band" id="firstscan" style="border-top:0;padding-top:0" hidden>
<div class="sec-hd">
<span class="lbl">Your first report</span>
<h2 style="font-size:1.4rem" id="scan-title">Looking at what is already in your repositories…</h2>
<p id="scan-sub">We check the code you already have, not just the next pull request.
The most common problem in AI-written apps is written once, when the project is
created, so a tool that only reads pull requests never sees it.</p>
</div>
<div class="ent">
<div id="scan-body" style="line-height:1.9">
<span style="color:var(--fg-3)">Running… this usually takes under a minute.</span>
</div>
</div>
</section>
<section class="band" id="upgrade">
<div class="sec-hd">
<span class="lbl">Private repositories</span>
<h2 style="font-size:1.4rem">Public repos are free forever. Private ones: 14 days free, then a plan.</h2>
<p>Your private repositories are fully covered for the next 14 days, and each pull request
comment tells you how many are left. Same detection engine on every tier — nothing is locked behind a higher plan. You
only pay for how many private repositories it covers.</p>
</div>
<div class="plans">
<div class="plan">
<span class="plan-name">Team 5</span>
<div class="price"><span class="amt">€29</span><span class="per">/month</span></div>
<p class="plan-sub">Up to 5 private repositories.</p>
<a class="btn btn-2 plan-cta" data-plan="team5"
href="https://buy.stripe.com/00w5kxdWY6BqecP7BUcfK00">Subscribe →</a>
</div>
<div class="plan featured">
<span class="badge">Most popular</span>
<span class="plan-name">Team 15</span>
<div class="price"><span class="amt">€69</span><span class="per">/month</span></div>
<p class="plan-sub">Up to 15 private repositories.</p>
<a class="btn btn-1 plan-cta" data-plan="team15"
href="https://buy.stripe.com/8x2aER8CE3pe2u7f4mcfK01">Subscribe →</a>
</div>
<div class="plan">
<span class="plan-name">Business 40</span>
<div class="price"><span class="amt">€149</span><span class="per">/month</span></div>
<p class="plan-sub">Up to 40 private repositories.</p>
<a class="btn btn-2 plan-cta" data-plan="business40"
href="https://buy.stripe.com/28EbIVbOQ8Jy6Kn9K2cfK02">Subscribe →</a>
</div>
</div>
<p class="plan-note" id="linked" hidden>
Your installation is linked. A subscription started from this page is activated on your
organisation automatically as soon as Stripe confirms the payment; we also confirm it by
email, and fix it by hand in the rare case something did not match. Nothing to send us.
</p>
<p class="plan-note" id="unlinked">
Reached this page directly? Subscribing still works. Email
<a href="mailto:contact@magsolutionsai.com">contact@magsolutionsai.com</a> with your GitHub
organisation name and we will activate the plan within one business day.
</p>
</section>
<section class="band">
<div class="sec-hd">
<span class="lbl">While you wait for that first PR</span>
<h2 style="font-size:1.4rem">Two things worth five minutes.</h2>
</div>
<div class="ent">
<p><b>Scan a dependency file right now</b> — paste a <code>requirements.txt</code> into
the scanner on the homepage. It queries PyPI live, from your browser, and shows you the same
verdict the App gives on a PR.</p>
<a class="btn btn-2" href="./#scan">Open the scanner →</a>
</div>
<div class="ent" style="margin-top:.9rem">
<p><b>Read what the App actually looks for</b> — the seven gates, why CVE-based scanners
miss invented packages, and what we deliberately do not claim.</p>
<a class="btn btn-2" href="blog/what-is-slopsquatting.html">Read the write-up →</a>
</div>
</section>
</main>
<footer>
<div class="wrap foot">
<span>© 2026 MagSolutionsAI</span>
<a href="privacy.html">Privacy</a>
<a href="terms.html">Terms</a><a href="legal-notice.html">Legal notice</a>
<a href="mailto:contact@magsolutionsai.com">Contact</a>
<span class="sp"></span>
<a href="https://github.com/MagSolutionsAI">GitHub</a>
</div>
</footer>
<script>
// GitHub devuelve ?installation_id=... tras instalar la App. Ese id es la
// clave con la que el webhook de Stripe identifica a la organizacion, asi
// que se cuelga de cada enlace de pago como client_reference_id. Sin esto
// el pago llega sin remitente y hay que activarlo a mano.
//
// Se guarda ademas en localStorage: mucha gente instala hoy y paga la
// semana que viene, llegando a esta pagina ya sin el parametro.
(function () {
'use strict';
var KEY = 'msai_installation_id';
var id = null;
try {
var p = new URLSearchParams(window.location.search).get('installation_id');
if (p && /^\d{1,20}$/.test(p)) { // solo digitos: no se propaga nada mas
id = p;
try { localStorage.setItem(KEY, id); } catch (e) {}
} else {
try { id = localStorage.getItem(KEY); } catch (e) {}
if (id && !/^\d{1,20}$/.test(id)) id = null;
}
} catch (e) { id = null; }
if (!id) return;
var links = document.querySelectorAll('a.plan-cta[href^="https://buy.stripe.com/"]');
for (var i = 0; i < links.length; i++) {
var a = links[i];
a.href = a.href + (a.href.indexOf('?') === -1 ? '?' : '&') +
'client_reference_id=' + encodeURIComponent(id);
}
var linked = document.getElementById('linked');
var unlinked = document.getElementById('unlinked');
if (linked) linked.hidden = false;
if (unlinked) unlinked.hidden = true;
// Avisar al servidor de que esta instalacion existe, para que la
// organizacion quede registrada aunque el evento `installation` de
// GitHub no llegue. Dos pasos: nonce de un solo uso (10 min) y POST con
// el nonce. El servidor verifica el id contra GitHub antes de escribir
// nada. Cuerpo form-urlencoded: "simple request", sin preflight.
// Silencioso a proposito: si falla, la pagina sigue siendo util y el
// pago se activaria igual al auditar el primer PR.
var API = 'https://api.magsolutionsai.com';
function post(path, data) {
return fetch(API + path, { method: 'POST', mode: 'cors', credentials: 'omit',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: new URLSearchParams(data).toString() });
}
//
// La vinculacion devuelve, SOLO la primera vez, la capacidad que permite
// leer el escaneo inicial. Se guarda aqui y en ningun otro sitio: sin ella
// el servidor no ensena el resultado a nadie (2026-09-30).
// Antes de pagar, a que cuenta ira el pago. Un enlace trucado con el
// installation_id de otro hacia pagar su plan sin verlo (H13, 2026-09-30).
function cuenta(org) {
if (!linked || !/^[A-Za-z0-9-]{1,39}$/.test(org)) return;
var p = document.createElement('p');
p.className = 'plan-note';
p.appendChild(document.createTextNode('Subscriptions started from this page will be activated on the GitHub account '));
var b = document.createElement('b');
b.textContent = org;
p.appendChild(b);
p.appendChild(document.createTextNode('. If that is not your organisation, do not subscribe from here: write to contact@magsolutionsai.com.'));
linked.appendChild(p);
}
function avisa(t) {
try { window.dispatchEvent(new CustomEvent('msai-scan-token', { detail: t || null })); } catch (e) {}
}
try {
post('/install/nonce', { installation_id: id })
.then(function (r) { return r.json(); })
.then(function (j) { if (j && j.nonce) return post('/install/link', { installation_id: id, nonce: j.nonce }); })
.then(function (r) { return r ? r.json() : null; })
.then(function (j) {
var t = j && j.scan_token;
if (t) { try { localStorage.setItem('msai_scan_t_' + id, t); } catch (e) {} }
if (j && j.org) cuenta(j.org);
avisa(t);
})
.catch(function () { avisa(null); });
} catch (e) { avisa(null); }
})();
// Balizas del embudo: solo nombre de evento, sin cuerpo ni identificador.
(function () {
function beacon(name) {
try { navigator.sendBeacon('https://api.magsolutionsai.com/events/' + name); } catch (e) {}
}
document.querySelectorAll('a.plan-cta[href^="https://buy.stripe.com/"]').forEach(function (a) {
a.addEventListener('click', function () { beacon('checkout_started'); });
});
})();
// Escaneo inicial: lo unico que convierte instalar en una respuesta en vez de
// una espera. Se consulta con reintentos porque corre en un hilo del servidor.
(function () {
'use strict';
var id = null;
try {
var p = new URLSearchParams(window.location.search).get('installation_id');
if (p && /^\d{1,20}$/.test(p)) id = p;
else { try { id = localStorage.getItem('msai_installation_id'); } catch (e) {} }
if (id && !/^\d{1,20}$/.test(id)) id = null;
} catch (e) { id = null; }
if (!id || !window.fetch) return;
var sec = document.getElementById('firstscan');
var cuerpo = document.getElementById('scan-body');
var titulo = document.getElementById('scan-title');
if (!sec || !cuerpo) return;
sec.hidden = false;
function texto(el, t) { el.textContent = ''; el.appendChild(document.createTextNode(t)); }
function pinta(d) {
if (!d || d.estado === 'sin_datos') {
titulo.textContent = 'No report yet';
texto(cuerpo, 'We could not read your repositories. Open a pull request and the audit runs there.');
return true;
}
if (d.estado === 'en_curso') return false;
var n = d.hallazgos || 0;
if (!n) {
titulo.textContent = 'Nothing found in what you already have';
texto(cuerpo, 'We read ' + (d.ficheros || 0) + ' files across ' + (d.repos || 0) +
' repositories and found nothing worth reporting. From here on, every pull request gets the same check.');
return true;
}
titulo.textContent = n + ' finding' + (n === 1 ? '' : 's') + ' in code you already had';
cuerpo.textContent = '';
var ul = document.createElement('ul');
ul.style.margin = '0'; ul.style.paddingLeft = '1.1rem';
(d.ejemplos || []).forEach(function (e) {
var li = document.createElement('li');
var c = document.createElement('code');
c.textContent = e.fichero + ':' + e.linea;
li.appendChild(c);
li.appendChild(document.createTextNode(' ' + e.titulo + ' (' + e.repo + ')'));
ul.appendChild(li);
});
cuerpo.appendChild(ul);
var p = document.createElement('p');
p.className = 'plan-note';
p.style.marginTop = '.8rem';
p.textContent = 'Read ' + (d.ficheros || 0) + ' files across ' + (d.repos || 0) +
' repositories. We keep the location, never the code.';
cuerpo.appendChild(p);
return true;
}
// La capacidad llega de la vinculacion (evento) o de una visita anterior.
var t = null;
try { t = localStorage.getItem('msai_scan_t_' + id); } catch (e) {}
var intentos = 0;
function mira() {
fetch('https://api.magsolutionsai.com/install/scan', {
method: 'POST', mode: 'cors', credentials: 'omit',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: new URLSearchParams({ installation_id: id, t: t || '' }).toString() })
.then(function (r) { return r.ok ? r.json() : null; })
.then(function (d) {
if (pinta(d)) return;
if (++intentos < 20) setTimeout(mira, 4000);
else texto(cuerpo, 'Still running. Reload this page in a minute.');
})
.catch(function () {
if (++intentos < 5) setTimeout(mira, 4000);
else texto(cuerpo, 'We could not reach the report. Open a pull request and the audit runs there.');
});
}
if (t) { mira(); return; }
var empezado = false;
function arranca(nuevo) {
if (empezado) return;
empezado = true;
if (nuevo) t = nuevo;
mira();
}
window.addEventListener('msai-scan-token', function (ev) { arranca(ev.detail); });
setTimeout(function () { arranca(null); }, 15000);
})();
</script>
</body>
</html>