@vantagesec/socc 0.1.8

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.
Files changed (28) hide show
  1. package/.claude/agents/socc.md +316 -0
  2. package/LICENSE +29 -0
  3. package/README.md +322 -0
  4. package/bin/import-specifier.mjs +13 -0
  5. package/bin/socc +32 -0
  6. package/dist/cli.mjs +562445 -0
  7. package/package.json +171 -0
  8. package/scripts/bootstrap-socc-soul.mjs +169 -0
  9. package/socc-canonical/.agents/generated/socc-agent-manifest.json +16 -0
  10. package/socc-canonical/.agents/generated/socc-agent.md +316 -0
  11. package/socc-canonical/.agents/soc-copilot/AGENTS.md +33 -0
  12. package/socc-canonical/.agents/soc-copilot/MEMORY.md +26 -0
  13. package/socc-canonical/.agents/soc-copilot/SKILL.md +55 -0
  14. package/socc-canonical/.agents/soc-copilot/SOUL.md +48 -0
  15. package/socc-canonical/.agents/soc-copilot/TOOLS.md +47 -0
  16. package/socc-canonical/.agents/soc-copilot/USER.md +32 -0
  17. package/socc-canonical/.agents/soc-copilot/identity.md +13 -0
  18. package/socc-canonical/.agents/soc-copilot/references/evidence-rules.md +30 -0
  19. package/socc-canonical/.agents/soc-copilot/references/intelligence-source-registry.md +32 -0
  20. package/socc-canonical/.agents/soc-copilot/references/ioc-extraction.md +25 -0
  21. package/socc-canonical/.agents/soc-copilot/references/knowledge-ingestion-policy.md +34 -0
  22. package/socc-canonical/.agents/soc-copilot/references/mitre-guidance.md +21 -0
  23. package/socc-canonical/.agents/soc-copilot/references/output-contract.md +31 -0
  24. package/socc-canonical/.agents/soc-copilot/references/security-json-patterns.md +129 -0
  25. package/socc-canonical/.agents/soc-copilot/references/telemetry-investigation-patterns.md +39 -0
  26. package/socc-canonical/.agents/soc-copilot/schemas/analysis_response.json +119 -0
  27. package/socc-canonical/.agents/soc-copilot/skills.md +28 -0
  28. package/socc-canonical/README.md +8 -0
package/bin/socc ADDED
@@ -0,0 +1,32 @@
1
+ #!/usr/bin/env node
2
+
3
+ /**
4
+ * SOCC — Security operations copiloto with agentic workflows.
5
+ *
6
+ * If dist/cli.mjs exists (built), run that.
7
+ * Otherwise, tell the user to build first or use `bun run dev`.
8
+ */
9
+
10
+ import { existsSync } from 'fs'
11
+ import { join, dirname } from 'path'
12
+ import { fileURLToPath, pathToFileURL } from 'url'
13
+
14
+ const __dirname = dirname(fileURLToPath(import.meta.url))
15
+ const distPath = join(__dirname, '..', 'dist', 'cli.mjs')
16
+
17
+ if (existsSync(distPath)) {
18
+ await import(pathToFileURL(distPath).href)
19
+ } else {
20
+ console.error(`
21
+ socc: dist/cli.mjs not found.
22
+
23
+ Build first:
24
+ bun run build
25
+
26
+ Or run directly with Bun:
27
+ bun run dev
28
+
29
+ See README.md for setup instructions.
30
+ `)
31
+ process.exit(1)
32
+ }