sicario-red-team 0.2.0 → 0.2.1
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/bin/sicario.js +1 -1
- package/package.json +1 -1
- package/src-cli/commands/hit.js +10 -0
package/bin/sicario.js
CHANGED
|
@@ -28,7 +28,7 @@ const program = new Command();
|
|
|
28
28
|
program
|
|
29
29
|
.name('sicario')
|
|
30
30
|
.description('Autonomous Agentic Red-Teaming Swarm Protocol')
|
|
31
|
-
.version('0.2.
|
|
31
|
+
.version('0.2.1');
|
|
32
32
|
|
|
33
33
|
// Use a more robust way to import the command logic relative to this file
|
|
34
34
|
const hitCommandPath = pathToFileURL(path.join(__dirname, '../src-cli/commands/hit.js')).href;
|
package/package.json
CHANGED
package/src-cli/commands/hit.js
CHANGED
|
@@ -170,7 +170,17 @@ export async function hitCommand(target, options) {
|
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
if (breachReports.length === 0) {
|
|
173
|
+
const forms = elements.filter(e => e.tag === 'form').length;
|
|
174
|
+
const inputs = elements.filter(e => e.tag === 'input' || e.tag === 'textarea').length;
|
|
175
|
+
const actions = elements.filter(e => e.tag === 'button' || e.tag === 'a').length;
|
|
176
|
+
|
|
173
177
|
log.info(theme.dim('No high-value business logic targets identified.'));
|
|
178
|
+
|
|
179
|
+
console.log(pc.cyan('\n◇ SWARM INTELLIGENCE REPORT ─────────────────────────────╮'));
|
|
180
|
+
console.log(pc.cyan(`│ Attack Surface: ${pc.bold(elements.length)} potential entry points mapped. │`));
|
|
181
|
+
console.log(pc.cyan(`│ Architecture: ${pc.bold(forms)} forms and ${pc.bold(inputs)} input vectors identified. │`));
|
|
182
|
+
console.log(pc.cyan(`│ Active Paths: ${pc.bold(actions)} state-changing actions logged. │`));
|
|
183
|
+
console.log(pc.cyan(`├────────────────────────────────────────────────────────╯`));
|
|
174
184
|
}
|
|
175
185
|
|
|
176
186
|
// 6. Mission Dossier
|