cognium-dev 3.23.0

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 (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +475 -0
  3. package/dist/cli.js +27250 -0
  4. package/package.json +76 -0
package/package.json ADDED
@@ -0,0 +1,76 @@
1
+ {
2
+ "name": "cognium-dev",
3
+ "version": "3.23.0",
4
+ "description": "Static Application Security Testing CLI for detecting security vulnerabilities via taint tracking",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "bin": {
8
+ "cognium-dev": "dist/cli.js"
9
+ },
10
+ "scripts": {
11
+ "build": "bun build src/cli.ts --outdir dist --target node --format esm --external pino-pretty",
12
+ "build:standalone": "mkdir -p wasm && cp ../circle-ir/wasm/*.wasm wasm/ && bun build src/cli.ts --compile --outfile cognium-dev --external pino-pretty",
13
+ "dev": "bun run src/cli.ts",
14
+ "test": "bun test",
15
+ "clean": "rm -rf dist cognium-dev cognium-dev-* *.bun-build wasm",
16
+ "typecheck": "tsc --noEmit",
17
+ "version": "node -e \"const v = require('./package.json').version; require('fs').writeFileSync('src/version.ts', '/**\\n * Version information\\n *\\n * Kept in sync with package.json via the \\`version\\` npm lifecycle script.\\n * Do not edit manually — use \\`npm version patch|minor|major\\` instead.\\n */\\nexport const version = \\x27' + v + '\\x27;\\n')\" && git add src/version.ts",
18
+ "dogfood": "bun run src/cli.ts scan src/ -q",
19
+ "prepublishOnly": "bun run build",
20
+ "release": "bash release.sh"
21
+ },
22
+ "keywords": [
23
+ "security",
24
+ "sast",
25
+ "static-analysis",
26
+ "vulnerability",
27
+ "cli",
28
+ "taint-analysis",
29
+ "dataflow-analysis",
30
+ "semantic-analysis",
31
+ "code-security",
32
+ "devops",
33
+ "devsecops",
34
+ "cwe",
35
+ "owasp"
36
+ ],
37
+ "author": {
38
+ "name": "Cognium Labs",
39
+ "url": "https://cognium.dev"
40
+ },
41
+ "license": "MIT",
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "git+https://github.com/cogniumhq/cognium-dev.git",
45
+ "directory": "packages/cli"
46
+ },
47
+ "homepage": "https://cognium.dev",
48
+ "bugs": {
49
+ "url": "https://github.com/cogniumhq/cognium-dev/issues"
50
+ },
51
+ "funding": {
52
+ "type": "github",
53
+ "url": "https://github.com/sponsors/cogniumhq"
54
+ },
55
+ "engines": {
56
+ "node": ">=20.19.0"
57
+ },
58
+ "type": "module",
59
+ "files": [
60
+ "dist",
61
+ "README.md",
62
+ "LICENSE"
63
+ ],
64
+ "publishConfig": {
65
+ "access": "public",
66
+ "registry": "https://registry.npmjs.org/"
67
+ },
68
+ "dependencies": {
69
+ "circle-ir": "^3.23.0"
70
+ },
71
+ "devDependencies": {
72
+ "@types/node": "^25.5.0",
73
+ "bun-types": "^1.3.11",
74
+ "typescript": "^6.0.2"
75
+ }
76
+ }