Mike Samuel (@mikesamuel)

Top repositories

1

regexp-make-js

ES6 string template tag for creating dynamic regular expressions
JavaScript
52
star
2

node-sec-patterns

Security design pattern support for Node.js
JavaScript
24
star
3

attack-review-testbed

Make it easy to probe the strengths and weaknesses of a hardened Node.js stack
JavaScript
19
star
4

safesql

Create SQL queries safely via a JavaScript template tag
JavaScript
17
star
5

html-contextual-autoescaper-java

Prevents XSS by figuring out how to escape untrusted values in templates
Python
15
star
6

es5-lexer

An EcmaScript lexical scanner that is as correct as one can be and produces a token stream that any valid EcmaScript parser will unambiguously interpret.
JavaScript
10
star
7

jquery-jquery-tmpl-proposal

Implementation, tests, and benchmarks for the jQuery templates strawman at http://wiki.jqueryui.com/w/page/37898666/Template
JavaScript
8
star
8

sh-template-tag

NPM package that provides a string template tag for safely composing sh/bash shell commands
JavaScript
6
star
9

template-tag-common

An NPM library that simplifies authoring JS string template tags
JavaScript
5
star
10

prebake

Given JavaScript evaluates eval early so that the result can run with eval turned off.
TypeScript
4
star
11

closure-maven-plugin

Makes it easy to build web applications by integrating closure-{compiler,stylesheets,templates} and protocol buffers using a maven plugin
Java
4
star
12

pug-plugin-trusted-types

XSS prevention for Pug templates with typesafe exceptions
JavaScript
4
star
13

jsconf-eu-2018

Demo code for a talk
JavaScript
4
star
14

is-template-object

Polyfill for the Array.isTemplateObject TC39 proposal
JavaScript
4
star
15

arity-of

Library that exposes max arity and other metadata for JS functions
JavaScript
4
star
16

evalable

Relax the requirement that the argument to eval be a string in a non-breaking way
HTML
3
star
17

nosj

A grammar for parsing JSON right-to-left
HTML
3
star
18

es6-lru-cache

An LRU cache implementation based on ES6 Maps
JavaScript
3
star
19

module-keys

Module identity as a basis for privilege separation for ESM & CommonJS modules
JavaScript
3
star
20

proposal-hostensurecancompilestrings-passthru

TC39 Proposal to allow HostEnsureCanCompileStrings to pass enough information to/from the host to implement expected changes to CSP & TT
HTML
3
star
21

unduck

Assembles instances of class types from bags of properties.
JavaScript
2
star
22

LexIcon

Converts grammars into hardened parser and content-generation tools
OCaml
2
star
23

no-object-forgery

Hooks JSON to mitigate object forgery attacks
JavaScript
2
star
24

strings-are-hard

A minimal Kotlin multiplatform project to reproduce https://youtrack.jetbrains.com/issue/KT-39432
Kotlin
1
star
25

code-interlingua

A parse-tree for a subset of Java that is useful as an intermediate language for multi-backend code generators
Java
1
star
26

web-puzzlers-video-series

Supporting code for medium.com/@mikesamuel/puzzling-towards-security-a12b9427124
HTML
1
star
27

eval-in-order

TC39 spec cleanup: https://github.com/tc39/ecma262/issues/1495
HTML
1
star
28

fences-maven-enforcer-rule

An enforcer plugin rule that augments Java access control restrictions.
Java
1
star