Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #293

Merged
merged 15 commits into from
Aug 11, 2023
Merged

Dev #293

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rules/sinks/leakages/logs/ruby.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sinks:
- id: Leakages.Log.Console
name: Log Console
patterns:
- "(?i)(puts|print|p|pp)"
- "(?i)(puts|print)"
tags:

- id: Leakages.Log.Info
Expand All @@ -27,4 +27,4 @@ sinks:
name: Log Debug
patterns:
- "(?i)(debug|trace)"
tags:
tags:
6 changes: 6 additions & 0 deletions rules/sinks/storages/cookiemanager/javascript.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
sinks:

- id: Storages.Web.Sql
name: Web Sql Database
patterns:
- "(?i)(window.*opendatabase.*)(transaction|executesql)"
tags:

- id: Storages.Web.Cookie.Write
name: Web Storage Cookie(Write)
patterns:
Expand Down
17 changes: 17 additions & 0 deletions rules/sinks/storages/indexedDB/javascript.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
sinks:

- id: Storages.IndexedDB.Write
name: IndexedDB(Write)
domains:
- "w3.org/TR/IndexedDB"
patterns:
- "(?i)(idb).*(deletedb|transaction|createObjectStore|put|delete|clear|add)"
tags:

- id: Storages.IndexedDB.Read
name: IndexedDB(Read)
domains:
- "w3.org/TR/IndexedDB"
patterns:
- "(?i)(idb).*(opendb|unwrap|wrap|get|getall)"
tags:
2 changes: 1 addition & 1 deletion rules/sinks/storages/mongodb/javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sinks:
domains:
- mongodb.com
patterns:
- "(?:mquery|mpath|mongojs|mongodb[.]net|winston-mongodb|feathers-mongoose|koa2-ratelimit|gridfs-stream|aedes-persistence-mongodb|mockgoose|mubsub|minimongo|uuid-mongodb|@fastify/mongodb|gridfs-promise|feathers-mongodb-fuzzy-search|rus-diff|recachegoose|baqend|@onehilltech/blueprint-mongodb|cachegoose|@treehouses/cli|gridfs-locking-stream|hapi-mongo-models|forerunnerdb|gridfs|payload|@lenne.tech/nest-server|database-cleaner|yams|@firstteam102/connect-mongo|json2mongo|@oguzbey/mongoose-beautiful-unique-validation|node-mongotools|ascoltatori|@casbin/mongo-changestream-watcher|@appveen/swagger-mongoose-crud|tingodb|generator-ng-fullstack|objectid|opentelemetry-instrumentation-mongoose|@immjunaid/create-express-restapis|apollo-passport-mongodb-driver|graphql-advanced-projection|jsonquery-engine|drop-mongodb-collections|nosqldbm-converter|nedb-lite|promised-mongo|feathers-mongodb|flatten-obj|mongoskin|sift|migrate-mongo|denque|mqemitter-mongodb|to-mongodb-core|graphql-mongodb-projection|jugglingdb|gulp-mongodb-data|thunkify-mongodb|joi-objectid|electron-squirrel-startup|node-express-mongodb-jwt-rest-api-skeleton|@caruuto/api-mongodb|sharedb-mongo|@chrishenderson/mongodb-queue|twitter2mongodb|@lpgroup/feathers-mongodb|@neo9/n9-mongodb-migration|sails-mongo|mongolass|w-orm-mongodb).*"
- "(?:mquery|mpath|mongojs|mongodb[.]net|winston-mongodb|feathers-mongoose|koa2-ratelimit|gridfs-stream|aedes-persistence-mongodb|mockgoose|mubsub|minimongo|uuid-mongodb|@fastify/mongodb|gridfs-promise|feathers-mongodb-fuzzy-search|rus-diff|recachegoose|baqend|@onehilltech/blueprint-mongodb|cachegoose|@treehouses/cli|gridfs-locking-stream|hapi-mongo-models|forerunnerdb|gridfs|payload|@lenne.tech/nest-server|database-cleaner|yams|@firstteam102/connect-mongo|json2mongo|@oguzbey/mongoose-beautiful-unique-validation|node-mongotools|ascoltatori|@casbin/mongo-changestream-watcher|@appveen/swagger-mongoose-crud|tingodb|generator-ng-fullstack|objectid|opentelemetry-instrumentation-mongoose|@immjunaid/create-express-restapis|apollo-passport-mongodb-driver|jsonquery-engine|drop-mongodb-collections|nosqldbm-converter|nedb-lite|promised-mongo|feathers-mongodb|flatten-obj|mongoskin|sift|migrate-mongo|denque|mqemitter-mongodb|to-mongodb-core|graphql-mongodb-projection|jugglingdb|gulp-mongodb-data|thunkify-mongodb|joi-objectid|electron-squirrel-startup|node-express-mongodb-jwt-rest-api-skeleton|@caruuto/api-mongodb|sharedb-mongo|@chrishenderson/mongodb-queue|twitter2mongodb|@lpgroup/feathers-mongodb|@neo9/n9-mongodb-migration|sails-mongo|mongolass|w-orm-mongodb).*"
tags:

- id: Storages.MongoDB.Read
Expand Down
2 changes: 1 addition & 1 deletion rules/sinks/storages/neo4j/javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ sinks:
domains:
- neo4j.com
patterns:
- "(?:neo4j|.*-neo4j|connect-neo4j-user|cypher-stream|neodb|ogmneo|moneo|@ambassify/neo4j-retried|apoc|highlightjs-cypher|@mathix420/graphql|dodex-quarkus|guaphy|loopback-connector-neo4j-graph|cypher-talker|@pandaai/graphql-fork|neoprene|seneca-seraph|co-cypher|cypher-query-language-builder|cgkb|neo-for-nest|@sonibble-creators/neo4j-nest|javascript-cypher|graphviz-config-template|graph-acl|ts-neo4j-parser|qcypher|neocy|node2neo-schema|ineo|hemera-neo4j-store|hyperflat|fluent-cypher|@elie222/neo4jd3|neode-nestjs|popoto-neo4j-graph-app|popoto|dans-neo4j-graphql|@next-auth/neo4j-adapter|node2neo-model|node2neo|@neode/express|neo-forgery|mongo4j|active-graph-record|@neo4j/graphql-ogm|@markonis/neo4j|@duoduo-oba/neo4jd3|@neo4j/graphql|qcphyer|swql2cypher|base-autoritativa-connectors|pragmaticsolutionjs|@thecodenebula/cypher-fluent-js|simple-neo4j-wrapper|generator-soa|@neo4j/browser-lambda-parser|neodash|neovis.js|seraph-model|@talentsec/neo4j-viz|bloom-harvesting-neo4j-import|neodm|neo4-js|neo4ts|@v-doc/neorm|@jekel18/neorm).*"
- "(?:neo4j|.*-neo4j|connect-neo4j-user|cypher-stream|neodb|ogmneo|moneo|@ambassify/neo4j-retried|apoc|highlightjs-cypher|dodex-quarkus|guaphy|loopback-connector-neo4j-graph|cypher-talker|neoprene|seneca-seraph|co-cypher|cypher-query-language-builder|cgkb|neo-for-nest|@sonibble-creators/neo4j-nest|javascript-cypher|graphviz-config-template|graph-acl|ts-neo4j-parser|qcypher|neocy|node2neo-schema|ineo|hemera-neo4j-store|hyperflat|fluent-cypher|@elie222/neo4jd3|neode-nestjs|popoto-neo4j-graph-app|popoto|dans-neo4j-graphql|@next-auth/neo4j-adapter|node2neo-model|node2neo|@neode/express|neo-forgery|mongo4j|active-graph-record|@neo4j/graphql-ogm|@markonis/neo4j|@duoduo-oba/neo4jd3|@neo4j/graphql|qcphyer|swql2cypher|base-autoritativa-connectors|pragmaticsolutionjs|@thecodenebula/cypher-fluent-js|simple-neo4j-wrapper|generator-soa|@neo4j/browser-lambda-parser|neodash|neovis.js|seraph-model|@talentsec/neo4j-viz|bloom-harvesting-neo4j-import|neodm|neo4-js|neo4ts|@v-doc/neorm|@jekel18/neorm).*"
tags:
Loading