Skip to content

ashutoshRws/analyzer-test-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

analyzer-test-javascript

Minimal Node.js (CommonJS) project for analyzer language-detection testing.

Expected analyzer behavior

  • Primary language: JavaScript
  • Secondary/config: YAML, Markdown, JSON
  • Min source files detected: 3
  • Key paths: src/, tests/, package.json, config/app.yaml

Expected security findings (intentional probes)

Probe ID Location
PROBE-SEC-001 src/probes/secrets.js
PROBE-SEC-002 src/probes/sql_injection.js
PROBE-SEC-003 src/probes/command_injection.js
PROBE-SEC-004 src/probes/xss.js
PROBE-SEC-006 src/probes/weak_crypto.js
PROBE-SCA-001 package.json (lodash@4.17.15, minimist@0.0.8)
PROBE-CONF-001 config/app.yaml (debug, permissive CORS)

See PROBE_CATALOG.md in harness docs.

Run locally

npm start
npm test

About

Language detection fixture for analyzer testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors