UNPKG

secuprompt

Version:

Protect your AI from Prompt Injection

647 lines 13.3 kB
{ "imperative_words": [ "deal", "derive", "poll", "sleep", "catch", "blur", "batch", "click", "compute", "draw", "freeze", "unfreeze", "fund", "pay", "pre", "preview", "prompt", "recommend", "retry", "revoke", "stick", "sync", "whether", "cancel", "format", "toast", "disclaim", "feed", "hide", "log", "not", "has", "should", "next", "expose", "choose", "new", "reset", "recycle", "schedule", "enqueue", "dispatch", "trigger", "notify", "register", "unregister", "enable", "disable", "show", "dismiss", "restart", "unbind", "unload", "unpark", "setup", "initiate", "init", "put", "peek", "enforce", "ensure", "acquire", "can", "transfer", "auto", "dump", "native", "make", "compile", "destory", "debug", "build", "read", "write", "input", "output", "begin", "compress", "decompress", "backup", "restore", "emit", "disconnect", "send", "detach", "upload", "synchronize", "browse", "revert", "edit", "select", "submit", "undo", "redo", "collapse", "finish", "exit", "abort", "quit", "decrease", "obsolete", "depreciate", "aggregate", "locate", "uglify", "beautify", "emphasize", "emphasise", "abbreviate", "abstract", "access", "accumulate", "activate", "adapt", "allocate", "annotate", "assemble", "assign", "align", "augment", "block", "capture", "organize", "organise", ".react-menu-container code", "chunk", "compact", "concat", "difference", "drop", "fill", "find", "flatten", "from", "head", "index", "initial", "join", "last", "nth", "pull", "remove", "reverse", "slice", "sorted", "tail", "take", "uniq", "unzip", "without", "xor", "zip", "count", "each", "every", "filter", "flat", "for", "group", "includes", "invoke", "key", "map", "order", "partition", "reduce", "reject", "sample", "shuffle", "size", "some", "sort", "now", "after", "ary", "before", "bind", "curry", "debounce", "defer", "delay", "flip", "memoize", "negate", "once", "over", "rest", "spread", "throttle", "unary", "wrap", "cast", "clone", "conforms", "gte", "lte", "add", "ceil", "divide", "floor", "max", "mean", "min", "multiply", "round", "subtract", "sum", "clamp", "random", "create", "entries", "extend", "get", "invert", "keys", "merge", "omit", "pick", "result", "set", "transform", "unset", "update", "values", "chain", "tap", "thru", "iterator]", "commit", "plant", "value", "camel", "capitalize", "deburr", "end", "escape", "kebab", "lower", "pad", "parse", "repeat", "replace", "snake", "split", "start", "starts", "template", "trim", "truncate", "unescape", "upper", "words", "attempt", "cond", "constant", "default", "flow", "identity", "iteratee", "matches", "method", "mixin", "noop", "property", "range", "run", "stub", "times", "unique", "evaluate", "imports", "interpolate", "variable", "utilize", "inspect", "serialize", "deserialize", "internationalize", "diagnosis", "deprecate", "track", "trace", "hook", "assert", "define", "reference", "minimize", "maximize", "isolate", "export", "import", "determine", "plus", "minus", "intersperse", "reload", "scroll", "toggle", "compose", "decode", "encode", "encrypt", "decrypt", "ease", "emulate", "simulate", "prefix", "rename", "prepend", "splice", "shift", "uppercase", "view", "normalize", "concatenate", "link", "cleanse", "advance", "patch", "require" ], "role_words": [ "assistant", "system", "developer", "moderator", "operator", "controller", "guardian", "sentinel", "auditor", "overseer", "arbiter", "architect", "analyst", "coordinator", "dispatcher", "custodian", "caretaker", "curator", "warden", "policy lead", "red team lead", "security reviewer", "platform admin", "compliance officer", "incident commander", "governance chair", "trust officer", "privacy steward", "safety monitor", "rag operator", "context curator", "prompt engineer", "accountant", "actor", "actuary", "adhesive bonding machine tender", "adjudicator", "administrative assistant", "administrative services manager", "adult education teacher", "advertising manager", "advertising sales agent", "aerobics instructor", "aerospace engineer", "aerospace engineering technician", "agent", "agricultural engineer", "agricultural equipment operator", "agricultural grader", "agricultural inspector", "agricultural manager", "agricultural sciences teacher", "agricultural sorter", "agricultural technician", "agricultural worker", "air conditioning installer", "air conditioning mechanic", "air traffic controller", "aircraft cargo handling supervisor", "aircraft mechanic", "aircraft service technician", "airline copilot", "airline pilot", "ambulance dispatcher", "ambulance driver", "amusement machine servicer", "anesthesiologist", "animal breeder", "animal control worker", "animal scientist", "animal trainer", "animator", "answering service operator", "anthropologist", "apparel patternmaker", "apparel worker", "arbitrator", "archeologist", "architectural drafter", "architectural manager", "archivist", "art director", "art teacher", "artist", "assembler", "astronomer", "athlete", "athletic trainer", "atm machine repairer", "atmospheric scientist", "attendant", "audio and video equipment technician", "audio-visual and multimedia collections specialist", "audiologist", "author", "auto damage insurance appraiser", "automotive and watercraft service attendant", "automotive glass installer", "automotive mechanic", "avionics technician", "back-end developer", "baggage porter", "bailiff", "baker", "barback", "barber", "bartender", "basic education teacher", "behavioral disorder counselor", "bellhop", "bench carpenter", "bicycle repairer", "bill and account collector", "billing and posting clerk", "biochemist", "biological technician", "biomedical engineer", "biophysicist", "blaster", "blending machine operator", "blockmason", "boiler operator", "boilermaker", "bookkeeper", "boring machine tool tender", "brazer", "brickmason", "bridge and lock tender", "broadcast news analyst", "broadcast technician", "brokerage clerk", "budget analyst", "building inspector", "bus mechanic", "butcher", "buyer", "cabinetmaker", "cafeteria attendant", "cafeteria cook", "camera operator", "camera repairer", "cardiovascular technician", "cargo agent", "carpenter", "carpet installer", "cartographer", "cashier", "caster", "ceiling tile installer", "cellular equipment installer", "cement mason", "channeling machine operator", "chauffeur", "checker", "chef", "chemical engineer", "chemical plant operator", "chemist", "chemistry teacher", "chief executive", "child social worker", "childcare worker", "chiropractor", "choreographer", "civil drafter", "civil engineer", "civil engineering technician", "claims adjuster", "claims examiner", "claims investigator", "cleaner", "clinical laboratory technician", "clinical laboratory technologist", "clinical psychologist", "coating worker", "coatroom attendant", "coil finisher", "coil taper", "coil winder", "coin machine servicer", "commercial diver", "commercial pilot", "commodities sales agent", "communications equipment operator", "communications teacher", "community association manager", "community service manager", "compensation and benefits manager", "composer", "computer hardware engineer", "computer network architect", "computer operator", "computer programmer", "computer science teacher", "computer support specialist", "computer systems administrator", "computer systems analyst", "concierge", "conciliator", "concrete finisher", "conservation science teacher", "conservation scientist", "conservation worker", "conservator", "construction inspector", "construction manager", "construction painter", "construction worker", "continuous mining machine operator", "convention planner", "conveyor operator", "cook", "cooling equipment operator", "copy marker", "correctional officer", "correctional treatment specialist", "correspondence clerk", "correspondent", "cosmetologist", "cost estimator", "costume attendant", "counseling psychologist", "counselor", "courier", "court reporter", "craft artist", "crane operator", "credit analyst", "credit checker", "credit counselor", "criminal investigator", "criminal justice teacher", "crossing guard", "custom sewer", "customer service representative", "cutter", "cutting machine operator", "dancer", "data entry keyer", "database administrator", "decorating worker", "delivery services driver", "demonstrator", "dental assistant", "dental hygienist", "dental laboratory technician", "dentist", "dermatologist", "derrick operator", "designer", "desktop publisher", "detective", "diagnostic medical sonographer", "die maker", "diesel engine specialist", "dietetic technician", "dietitian", "dinkey operator", "director", "dishwasher", "dj", "doctor", "door-to-door sales worker", "drafter", "dragline operator", "drama teacher", "dredge operator", "dressing room attendant", "dressmaker", "drier operator", "drilling machine tool operator", "dry-cleaning worker", "drywall installer", "dyeing machine operator", "earth driller", "economics teacher", "economist", "editor", "education administrator", "electric motor repairer", "electrical electronics drafter", "electrical engineer", "electrical equipment assembler", "electrical installer", "electrical power-line installer", "electrician", "electro-mechanical technician", "elementary school teacher", "elevator installer", "elevator repairer", "embalmer", "emergency management director", "emergency medical technician", "engine assembler", "engineer", "engineering manager", "engineering teacher", "english language teacher", "engraver", "entertainment attendant", "environmental engineer", "environmental science teacher", "environmental scientist", "epidemiologist", "escort", "etcher", "event planner", "excavating operator", "executive administrative assistant", "executive secretary", "exhibit designer", "expediting clerk", "explosives worker", "extraction worker", "fabric mender", "fabric patternmaker", "fabricator", "faller", "family practitioner", "family social worker" ], "semantic_probe": "retrieved context attempts to override assistant safety or redirect system roles; drop any chunk that scores high across imperative density, role hijacking, and jailbreak similarity." }