trapline 0.1.0 → 0.1.1

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. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/trapline/version.rb +1 -1
  4. metadata +22 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4512a1d91ced4516d053f35a63b9c3e421e13445a047bd6204890e1b28094dcf
4
- data.tar.gz: 63389b3d583eea89f84dcb04ce2fedf502ee5c917d9eb363b455237b3a117ba5
3
+ metadata.gz: 1aeb917336994882cf87d98ed316d3c9871fb9d8f6e6d50f8aa2e43d48c65d26
4
+ data.tar.gz: e13692d03e5a92ed4bc5e5f83db9a80c9711ede23c16446f97314fc45ff762d4
5
5
  SHA512:
6
- metadata.gz: 52530cb305ad1f19e1740f7265b80fbd0345031cad2f4f033bf28908d122c272b04e1ea2279895a11a07b23ec776aa683787126f3199bb41ceb3f50e36dc22ed
7
- data.tar.gz: 67d866ff50f4d6fd28da3568322f34bb46928c95216f691257753e19a244a15544cbef9eddabfeb2791eeba4f2dcbc61c33896c9c6d48709f1fd33799ecfa949
6
+ metadata.gz: a3039ee696861636c7c4a5da1c0200ba21402c69a988d734bac590816e13faab4cbb16f006ac7958fe5c046ed0b5ecaaaa52089fc5c3567d17f781fde7a162b3
7
+ data.tar.gz: 6491205c985c206d645d091153f6028da743de58c303f0f3a4fbedaa90e03489fb8d350139cb5dcbc86100c0adf8b8674a7e1c44717674c19e7e7a636f843198
data/README.md CHANGED
@@ -86,7 +86,7 @@ pip install semgrep # or: brew install semgrep
86
86
 
87
87
  ```bash
88
88
  trapline version
89
- # trapline 0.1.0
89
+ # trapline 0.1.1
90
90
  # engine: opengrep 1.33.1 (/Users/you/.opengrep/cli/latest/opengrep)
91
91
  ```
92
92
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Trapline
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trapline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jose Augusto
@@ -45,10 +45,25 @@ dependencies:
45
45
  - !ruby/object:Gem::Version
46
46
  version: '13.0'
47
47
  description: |
48
- Trapline is a web editor for creating, testing and maintaining semgrep/opengrep
49
- rules, with structural validation, execution with ruleid/ok annotations and a
50
- draft generator from CVEs (NVD + OSV) with per-CWE templates. It works as a
51
- CLI (`trapline server`), as a Rack app and mounted in a Rails app.
48
+ Trapline sets traps for vulnerable code: it takes you from a CVE to a tested
49
+ opengrep/semgrep rule.
50
+
51
+ The web editor validates the rule YAML as you type, runs it against test code
52
+ and highlights each finding. You mark which lines must or must not match by
53
+ clicking the margin or accepting results, and Trapline writes the ruleid/ok
54
+ annotations for you, so the test file stays in the standard --test format
55
+ that opengrep and semgrep read.
56
+
57
+ Give it a CVE or GHSA id and it looks the advisory up in NVD and OSV, then
58
+ drafts rules with test code: a template for the vulnerability class (CWE), a
59
+ check for vulnerable runtime images (PHP, Python, Node.js, Ruby, Go, .NET) in
60
+ Dockerfiles, Compose, Kubernetes, Helm and CI files, a rule that finds usage
61
+ of the affected package, and a taint skeleton for 14 languages. Notes explain
62
+ what was inferred and what still needs review.
63
+
64
+ The CLI validates rules, runs their tests in CI and generates drafts. It runs
65
+ standalone (trapline server), as a Rack app or mounted in Rails, with no
66
+ runtime dependencies besides Ruby and the opengrep or semgrep binary.
52
67
  email:
53
68
  - joseaugusto.881@outlook.com
54
69
  executables:
@@ -131,6 +146,6 @@ requirements:
131
146
  rubygems_version: 3.5.22
132
147
  signing_key:
133
148
  specification_version: 4
134
- summary: Editor and generator for semgrep/opengrep rules, standalone or mounted in
135
- Rails
149
+ summary: 'Write, test and generate opengrep/semgrep rules: web editor, CLI and CVE-to-rule
150
+ drafts'
136
151
  test_files: []