wormclaude 1.0.178 → 1.0.179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/theme.js +1 -1
- package/dist/tools.js +3 -3
- package/package.json +1 -1
package/dist/theme.js
CHANGED
package/dist/tools.js
CHANGED
|
@@ -743,7 +743,7 @@ async function execOne(call, hooks) {
|
|
|
743
743
|
const _fk = 'full|' + target.toLowerCase();
|
|
744
744
|
const _fc = _scanCache.get(_fk);
|
|
745
745
|
if (_fc && Date.now() - _fc.t < 120000) {
|
|
746
|
-
return { ok: false, args, output: `[ALREADY-SCANNED]
|
|
746
|
+
return { ok: false, args, output: `[ALREADY-SCANNED] full scan "${target}" already ran — findings are above. Do NOT call SecurityScan again; summarize the results in text.` };
|
|
747
747
|
}
|
|
748
748
|
try {
|
|
749
749
|
const { runPentest } = await import('./pentest.js');
|
|
@@ -773,7 +773,7 @@ async function execOne(call, hooks) {
|
|
|
773
773
|
rpt += `\n\nToplam ${all.length} bulgu.`;
|
|
774
774
|
if (all.length)
|
|
775
775
|
rpt += '\n' + all.slice(0, 60).map((x) => ' ' + JSON.stringify(x)).join('\n');
|
|
776
|
-
rpt += `\n[full-done] recon+xss+sqli
|
|
776
|
+
rpt += `\n[full-done] recon+xss+sqli all ran. Do NOT call SecurityScan again — report the findings to the user in text (summary + prioritized fixes), in their language.`;
|
|
777
777
|
const _now = Date.now();
|
|
778
778
|
_scanCache.set(_fk, { out: rpt, t: _now });
|
|
779
779
|
// Alt tarama tiplerini de cache'le → full sonrası model tek tek recon/xss/sqli çağıramaz (gereksiz tekrar).
|
|
@@ -810,7 +810,7 @@ async function execOne(call, hooks) {
|
|
|
810
810
|
txt += `${rep.found_count} bulgu:\n` + f.slice(0, 50).map((x) => ' ' + JSON.stringify(x)).join('\n');
|
|
811
811
|
// Tek-tip tarama bitti. Kapsamlı isteniyorsa model TEK çağrıyla SecurityScan(tool:"full") koşmalı
|
|
812
812
|
// (kod deterministik recon+xss+sqli yapar) — kendi recon/xss/sqli zincirlemesin (döngüye girer).
|
|
813
|
-
txt += `\n\n[done]
|
|
813
|
+
txt += `\n\n[done] This single ${tool} scan is finished — summarize the result to the user in text. Do NOT call SecurityScan again on this target.`;
|
|
814
814
|
_scanCache.set(_ck, { out: txt, t: Date.now() }); // döngü-kırıcı için sakla
|
|
815
815
|
return { ok: true, output: txt, args };
|
|
816
816
|
}
|